# CVE-2026-99222: keys: Protect the read method check against type removal

> 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:32.844Z
- **Modified:** 2026-11-03T20:18:27.500Z

## Who should check

- Anyone running Linux \>= d3ec10aa95819bff18a0d936b18884c7816d0914, \< e5f830ae6611cddbfc504c43f14155f60b63206a; \>= d3ec10aa95819bff18a0d936b18884c7816d0914, \< ff11cfed85cbfdd7fe1185ebd18d2c7a8353ad8d; \>= d3ec10aa95819bff18a0d936b18884c7816d0914, \< 1486caee47b4909f52835a957c3293e970113e44; \>= d3ec10aa95819bff18a0d936b18884c7816d0914, \< ff44f1b303aa76a818d898e85c56ed4852c031e2; \>= d3ec10aa95819bff18a0d936b18884c7816d0914, \< 6a36e2a1a017c51f8a8ad2a094566bad97c46a9b; \>= d3ec10aa95819bff18a0d936b18884c7816d0914, \< 3edc064069d07e7d37359fcb4d03d3bab15ee3ab; \>= d3ec10aa95819bff18a0d936b18884c7816d0914, \< cf1af7df80e38bf58bd74c2cccce32fcbd1a596a; \>= d3ec10aa95819bff18a0d936b18884c7816d0914, \< e2a2deda08d91644f5e30c17d267b1cdc5f124b2; \>= d3ec10aa95819bff18a0d936b18884c7816d0914, \< 925c84e3cc21caf09de92d9bcafab0147790debf; 7fa67aa30509ad0da72ac0f757aa76e53c0ea3de; …
- Anyone running Linux 5.7

## Description

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

keys: Protect the read method check against type removal

keyctl\_read\_key() checks key-\>type-\>read without holding key-\>sem.
A reference keeps the key alive, but does not pin the module containing
its type. A surviving RxRPC key can therefore be read while AF\_RXRPC
is being unloaded:

  KEYCTL\_READ task                    Module unload and key GC
  ----------------                   ------------------------
  lookup\_user\_key()
  permission / possession checks
  load key-\>type
                                     af\_rxrpc\_exit()
                                       unregister\_key\_type()
                                         GC: down\_write(key-\>sem)
                                         GC: retype to key\_type\_dead
                                         GC: up\_write(key-\>sem)
                                       unregister\_key\_type() returns
                                     free\_module()
  read saved type's read member

The final access can read freed module storage. The read invocation in
\_\_keyctl\_read\_key() is already protected by key-\>sem, but the earlier
method check is outside that critical section.

Move the method check into \_\_keyctl\_read\_key(), after key\_validate() and
under its existing read hold on key-\>sem. The check and invocation then
use the same protected type for length queries and every read retry.
The GC cannot retype the key until the semaphore is released, and type
unregistration waits for that GC pass before the module can be freed.

Return -EOPNOTSUPP when validation succeeds and the type has no read
method. A temporary buffer may now be allocated before this result;
allocation and copying to userspace remain outside the semaphore.

## Affected and fixed versions

- Linux: \>= d3ec10aa95819bff18a0d936b18884c7816d0914, \< e5f830ae6611cddbfc504c43f14155f60b63206a; \>= d3ec10aa95819bff18a0d936b18884c7816d0914, \< ff11cfed85cbfdd7fe1185ebd18d2c7a8353ad8d; \>= d3ec10aa95819bff18a0d936b18884c7816d0914, \< 1486caee47b4909f52835a957c3293e970113e44; \>= d3ec10aa95819bff18a0d936b18884c7816d0914, \< ff44f1b303aa76a818d898e85c56ed4852c031e2; \>= d3ec10aa95819bff18a0d936b18884c7816d0914, \< 6a36e2a1a017c51f8a8ad2a094566bad97c46a9b; \>= d3ec10aa95819bff18a0d936b18884c7816d0914, \< 3edc064069d07e7d37359fcb4d03d3bab15ee3ab; \>= d3ec10aa95819bff18a0d936b18884c7816d0914, \< cf1af7df80e38bf58bd74c2cccce32fcbd1a596a; \>= d3ec10aa95819bff18a0d936b18884c7816d0914, \< e2a2deda08d91644f5e30c17d267b1cdc5f124b2; \>= d3ec10aa95819bff18a0d936b18884c7816d0914, \< 925c84e3cc21caf09de92d9bcafab0147790debf; 7fa67aa30509ad0da72ac0f757aa76e53c0ea3de; … (cvelist)
- Linux: 5.7 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-99222.md
Affected: Linux >= d3ec10aa95819bff18a0d936b18884c7816d0914, < e5f830ae6611cddbfc504c43f14155f60b63206a; >= d3ec10aa95819bff18a0d936b18884c7816d0914, < ff11cfed85cbfdd7fe1185ebd18d2c7a8353ad8d; >= d3ec10aa95819bff18a0d936b18884c7816d0914, < 1486caee47b4909f52835a957c3293e970113e44; >= d3ec10aa95819bff18a0d93…
Fixed in: Linux 1486caee47b4909f52835a957c3293e970113e44, Linux 6a36e2a1a017c51f8a8ad2a094566bad97c46a9b, Linux 3edc064069d07e7d37359fcb4d03d3bab15ee3ab, Linux 925c84e3cc21caf09de92d9bcafab0147790debf

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-99222 being exploited?

There is no confirmed exploitation: CVE-2026-99222 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-99222?

It has no CVSS score yet. Unknown.

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

Linux \>= d3ec10aa95819bff18a0d936b18884c7816d0914, \< e5f830ae6611cddbfc504c43f14155f60b63206a; \>= d3ec10aa95819bff18a0d936b18884c7816d0914, \< ff11cfed85cbfdd7fe1185ebd18d2c7a8353ad8d; \>= d3ec10aa95819bff18a0d936b18884c7816d0914, \< 1486caee47b4909f52835a957c3293e970113e44; \>= d3ec10aa95819bff18a0d936b18884c7816d0914, \< ff44f1b303aa76a818d898e85c56ed4852c031e2; \>= d3ec10aa95819bff18a0d936b18884c7816d0914, \< 6a36e2a1a017c51f8a8ad2a094566bad97c46a9b; \>= d3ec10aa95819bff18a0d936b18884c7816d0914, \< 3edc064069d07e7d37359fcb4d03d3bab15ee3ab; \>= d3ec10aa95819bff18a0d936b18884c7816d0914, \< cf1af7df80e38bf58bd74c2cccce32fcbd1a596a; \>= d3ec10aa95819bff18a0d936b18884c7816d0914, \< e2a2deda08d91644f5e30c17d267b1cdc5f124b2; \>= d3ec10aa95819bff18a0d936b18884c7816d0914, \< 925c84e3cc21caf09de92d9bcafab0147790debf; 7fa67aa30509ad0da72ac0f757aa76e53c0ea3de; …; Linux 5.7.

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

Yes. Fixed in Linux 1486caee47b4909f52835a957c3293e970113e44, Linux 6a36e2a1a017c51f8a8ad2a094566bad97c46a9b, Linux 3edc064069d07e7d37359fcb4d03d3bab15ee3ab, Linux 925c84e3cc21caf09de92d9bcafab0147790debf. No fix listed yet: follow the vendor advisory.

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

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/e5f830ae6611cddbfc504c43f14155f60b63206a>
- other: <https://git.kernel.org/stable/c/ff11cfed85cbfdd7fe1185ebd18d2c7a8353ad8d>
- other: <https://git.kernel.org/stable/c/1486caee47b4909f52835a957c3293e970113e44>
- other: <https://git.kernel.org/stable/c/ff44f1b303aa76a818d898e85c56ed4852c031e2>
- other: <https://git.kernel.org/stable/c/6a36e2a1a017c51f8a8ad2a094566bad97c46a9b>
- other: <https://git.kernel.org/stable/c/3edc064069d07e7d37359fcb4d03d3bab15ee3ab>
- other: <https://git.kernel.org/stable/c/cf1af7df80e38bf58bd74c2cccce32fcbd1a596a>
- other: <https://git.kernel.org/stable/c/e2a2deda08d91644f5e30c17d267b1cdc5f124b2>
- other: <https://git.kernel.org/stable/c/925c84e3cc21caf09de92d9bcafab0147790debf>

## 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-99222>

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