# CVE-2026-99226: keys: Avoid the owner account dereference in named keyring lookup

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.24% (percentile 9, 2026-11-26)
- **Published:** 2026-11-02T16:06:35.362Z
- **Modified:** 2026-11-03T20:18:28.183Z

## Who should check

- Anyone running Linux \>= 2ea190d0a006ce5218baa6e798512652446a605a, \< 77249d4b1bb5ad43552b7023c4a0978937aa7a56; \>= 2ea190d0a006ce5218baa6e798512652446a605a, \< 0b865fa477d94ac96c26848aab1fd176397de3f6; \>= 2ea190d0a006ce5218baa6e798512652446a605a, \< 6763329f673d261641c79212abf773af77b2c922; \>= 2ea190d0a006ce5218baa6e798512652446a605a, \< aa03c8fb4334f14d218020f7431debf2b7766865; \>= 2ea190d0a006ce5218baa6e798512652446a605a, \< c9664f780f861dd9f11f120c7a03ed0993671ebb; \>= 2ea190d0a006ce5218baa6e798512652446a605a, \< b0830a26e2c3008a6e21863126b4a0e68b2761cd; \>= 2ea190d0a006ce5218baa6e798512652446a605a, \< 5c6a9512887a6cc694d594d9c0b57c0841d215b5; \>= 2ea190d0a006ce5218baa6e798512652446a605a, \< 40b12b93ae4ab9e22c3d571e9b09fd08afad53f6; \>= 2ea190d0a006ce5218baa6e798512652446a605a, \< 51409aaa01f8602552c336009fd22b226b0cdf1d
- Anyone running Linux 2.6.30

## Description

In the Linux kernel, the following vulnerability has been resolved:

keys: Avoid the owner account dereference in named keyring lookup

Named keyring lookup must keep the storage containing the owner UID
alive through the namespace mapping check.  find\_keyring\_by\_name()
reads keyring-\>user-\>uid under keyring\_name\_lock, but that lock protects
the keyring's name entry and allocation, not its separate key\_user.

A named session-keyring join can overlap a privileged KEYCTL\_CHOWN on
another CPU.  If the keyring holds the last reference to its old dynamic
key\_user and the ownership transfer succeeds, the following ordering is
possible:

    Named join                         Chown
    find\_keyring\_by\_name()              keyctl\_chown\_key()
      read\_lock(keyring\_name\_lock)       down\_write(key-\>sem)
      load old keyring-\>user
                                         replace key-\>user and key-\>uid
                                         up\_write(key-\>sem)
                                         key\_put(key)
                                         key\_user\_put(old user): free
      read old user-\>uid
      read\_unlock(keyring\_name\_lock)

Chown neither takes keyring\_name\_lock nor key\_session\_mutex, so it can
free the old account between the pointer load and the UID read.  The
lookup then reads freed memory even though the keyring itself is alive.

Use keyring-\>uid for the mapping check.  key\_alloc() initializes this
inline owner UID and keyctl\_chown\_key() updates it on chown.
The existing name lock keeps its containing keyring allocated throughout
the check, so lookup no longer depends on the account's lifetime.  This
also matches the owner UID used by the permission check.

KASAN report as below:

    BUG: KASAN: slab-use-after-free in find\_keyring\_by\_name+0x577/0x5d0
    Read of size 4 at addr ffff8881128ae2ec by task keycase/500

## Affected and fixed versions

- Linux: \>= 2ea190d0a006ce5218baa6e798512652446a605a, \< 77249d4b1bb5ad43552b7023c4a0978937aa7a56; \>= 2ea190d0a006ce5218baa6e798512652446a605a, \< 0b865fa477d94ac96c26848aab1fd176397de3f6; \>= 2ea190d0a006ce5218baa6e798512652446a605a, \< 6763329f673d261641c79212abf773af77b2c922; \>= 2ea190d0a006ce5218baa6e798512652446a605a, \< aa03c8fb4334f14d218020f7431debf2b7766865; \>= 2ea190d0a006ce5218baa6e798512652446a605a, \< c9664f780f861dd9f11f120c7a03ed0993671ebb; \>= 2ea190d0a006ce5218baa6e798512652446a605a, \< b0830a26e2c3008a6e21863126b4a0e68b2761cd; \>= 2ea190d0a006ce5218baa6e798512652446a605a, \< 5c6a9512887a6cc694d594d9c0b57c0841d215b5; \>= 2ea190d0a006ce5218baa6e798512652446a605a, \< 40b12b93ae4ab9e22c3d571e9b09fd08afad53f6; \>= 2ea190d0a006ce5218baa6e798512652446a605a, \< 51409aaa01f8602552c336009fd22b226b0cdf1d (cvelist)
- Linux: 2.6.30 (cvelist)

## Mitigation

- Upgrade Linux to 51409aaa01f8602552c336009fd22b226b0cdf1d or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99226. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99226.md
Affected: Linux >= 2ea190d0a006ce5218baa6e798512652446a605a, < 77249d4b1bb5ad43552b7023c4a0978937aa7a56; >= 2ea190d0a006ce5218baa6e798512652446a605a, < 0b865fa477d94ac96c26848aab1fd176397de3f6; >= 2ea190d0a006ce5218baa6e798512652446a605a, < 6763329f673d261641c79212abf773af77b2c922; >= 2ea190d0a006ce5218baa6e…
Fixed in: Linux 77249d4b1bb5ad43552b7023c4a0978937aa7a56, Linux 0b865fa477d94ac96c26848aab1fd176397de3f6, Linux 6763329f673d261641c79212abf773af77b2c922, Linux 5c6a9512887a6cc694d594d9c0b57c0841d215b5, Linux 40b12b93ae4ab9e22c3d571e9b09fd08afad53f6, Linux 51409aaa01f8602552c336009fd22b226b0cdf1d

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99226 being exploited?

There is no confirmed exploitation: CVE-2026-99226 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-99226?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-99226?

Linux \>= 2ea190d0a006ce5218baa6e798512652446a605a, \< 77249d4b1bb5ad43552b7023c4a0978937aa7a56; \>= 2ea190d0a006ce5218baa6e798512652446a605a, \< 0b865fa477d94ac96c26848aab1fd176397de3f6; \>= 2ea190d0a006ce5218baa6e798512652446a605a, \< 6763329f673d261641c79212abf773af77b2c922; \>= 2ea190d0a006ce5218baa6e798512652446a605a, \< aa03c8fb4334f14d218020f7431debf2b7766865; \>= 2ea190d0a006ce5218baa6e798512652446a605a, \< c9664f780f861dd9f11f120c7a03ed0993671ebb; \>= 2ea190d0a006ce5218baa6e798512652446a605a, \< b0830a26e2c3008a6e21863126b4a0e68b2761cd; \>= 2ea190d0a006ce5218baa6e798512652446a605a, \< 5c6a9512887a6cc694d594d9c0b57c0841d215b5; \>= 2ea190d0a006ce5218baa6e798512652446a605a, \< 40b12b93ae4ab9e22c3d571e9b09fd08afad53f6; \>= 2ea190d0a006ce5218baa6e798512652446a605a, \< 51409aaa01f8602552c336009fd22b226b0cdf1d; Linux 2.6.30.

### Is there a fix for CVE-2026-99226?

Yes. Fixed in Linux 77249d4b1bb5ad43552b7023c4a0978937aa7a56, Linux 0b865fa477d94ac96c26848aab1fd176397de3f6, Linux 6763329f673d261641c79212abf773af77b2c922, Linux 5c6a9512887a6cc694d594d9c0b57c0841d215b5, Linux 40b12b93ae4ab9e22c3d571e9b09fd08afad53f6, Linux 51409aaa01f8602552c336009fd22b226b0cdf1d. Upgrade Linux to 51409aaa01f8602552c336009fd22b226b0cdf1d or later.

### How do I check if I'm affected by CVE-2026-99226?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/77249d4b1bb5ad43552b7023c4a0978937aa7a56>
- other: <https://git.kernel.org/stable/c/0b865fa477d94ac96c26848aab1fd176397de3f6>
- other: <https://git.kernel.org/stable/c/6763329f673d261641c79212abf773af77b2c922>
- other: <https://git.kernel.org/stable/c/aa03c8fb4334f14d218020f7431debf2b7766865>
- other: <https://git.kernel.org/stable/c/c9664f780f861dd9f11f120c7a03ed0993671ebb>
- other: <https://git.kernel.org/stable/c/b0830a26e2c3008a6e21863126b4a0e68b2761cd>
- other: <https://git.kernel.org/stable/c/5c6a9512887a6cc694d594d9c0b57c0841d215b5>
- other: <https://git.kernel.org/stable/c/40b12b93ae4ab9e22c3d571e9b09fd08afad53f6>
- other: <https://git.kernel.org/stable/c/51409aaa01f8602552c336009fd22b226b0cdf1d>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99226>

HTML: <https://flawdb.com/CVE-2026-99226> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99226>
