# CVE-2026-99223: keys: make keyring indexes independent of kernel addresses

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-02)
- Published: 2026-11-02T16:06:33.408Z
- Modified: 2026-11-03T20:18:27.673Z
- Assigned by: Linux

## Description

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

keys: make keyring indexes independent of kernel addresses

KEYCTL_READ returns the serial numbers in a keyring in associative-array
traversal order.  The first word of the index is a public, deterministic
hash of the type pointer, domain pointer and description.  An unprivileged
user can therefore insert keys with known descriptions, predict their
order for each possible KASLR slide, and recover the kernel image address.
On an x86-64 build with 16 MiB alignment, 45 user keys suffice to
distinguish the candidate slides.

Remove the addresses from the whole index, not just its first hash word.
Assign each key type and domain a nonzero 64-bit ID and hash those IDs and
the description with a once-initialized SipHash key.  Use the full IDs in
the later index chunks as well.  Truncating or hashing the IDs there would
lose the guarantee that distinct type/domain/description tuples have a
differing index bit.

Allocate IDs lazily since private key types need not be registered.  Cache
them in the index key so tree walks and copies of an existing index do not
need to dereference a type descriptor that may have been unregistered.
Keep the 32-bit chunk layout and diff_objects() bit offsets consistent,
and retain the separate root slot for keyrings used by recursive search.
The key comparison, permissions and userspace data format are unchanged;
only the address-dependent in-memory ordering is replaced.

(As written by CVE List.)

## Affected

- Linux Linux: from b2a4df200d570b2c33a57e1ebfa5896e4bc81b69 before 9ebe824d55983c9f063a2c9ef1a08b29812d406f; from b2a4df200d570b2c33a57e1ebfa5896e4bc81b69 before e108b22999edbc6f431466baf6b2016c19b7ed31; from b2a4df200d570b2c33a57e1ebfa5896e4bc81b69 before 9f084ef0beb68091e96ab96f0e95579aac8a77f9; from b2a4df200d570b2c33a57e1ebfa5896e4bc81b69 before 8451d4a4c43127c3b9fdf9fc9ff3fea5539a61f9; from b2a4df200d570b2c33a57e1ebfa5896e4bc81b69 before 13fc051269d670810d9e314061b61c6dd06116a0; from b2a4df200d570b2c33a57e1ebfa5896e4bc81b69 before 61ac0585d9f4344d3dfb84b5edff1fee7d532897; from b2a4df200d570b2c33a57e1ebfa5896e4bc81b69 before 84f7c699f8d139f743c7dc11ef41d085690955bb; from b2a4df200d570b2c33a57e1ebfa5896e4bc81b69 before a113eba06bd1183c614d7994864d6e7054140cb9; from b2a4df200d570b2c33a57e1ebfa5896e4bc81b69 before de891c73c1cf41ac8de12c07fa2c84d6a912ad0c; 3.13 (not affected: before 3.13; from 5.10.273 up to 5.10.*; from 5.15.224 up to 5.15.*; from 6.1.191 up to 6.1.*; from 6.6.161 up to 6.6.*; from 6.12.115 up to 6.12.*; from 6.18.60 up to 6.18.*; from 7.2.14 up to 7.2.*; from 7.3.1 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/9ebe824d55983c9f063a2c9ef1a08b29812d406f>
- <https://git.kernel.org/stable/c/e108b22999edbc6f431466baf6b2016c19b7ed31>
- <https://git.kernel.org/stable/c/9f084ef0beb68091e96ab96f0e95579aac8a77f9>
- <https://git.kernel.org/stable/c/8451d4a4c43127c3b9fdf9fc9ff3fea5539a61f9>
- <https://git.kernel.org/stable/c/13fc051269d670810d9e314061b61c6dd06116a0>
- <https://git.kernel.org/stable/c/61ac0585d9f4344d3dfb84b5edff1fee7d532897>
- <https://git.kernel.org/stable/c/84f7c699f8d139f743c7dc11ef41d085690955bb>
- <https://git.kernel.org/stable/c/a113eba06bd1183c614d7994864d6e7054140cb9>
- <https://git.kernel.org/stable/c/de891c73c1cf41ac8de12c07fa2c84d6a912ad0c>

## Sources

- CVE List: [CVE-2026-99223](https://www.cve.org/CVERecord?id=CVE-2026-99223), CVE Terms of Use, modified 2026-11-03
- NVD: [CVE-2026-99223](https://nvd.nist.gov/vuln/detail/CVE-2026-99223), Public domain, modified 2026-11-03

---

Page: https://cve.day/CVE-2026-99223 · Whole record: https://cve.day/CVE-2026-99223.json · Rebuilt by cve.day 2026-11-25T22:59:48.200Z
