Skip to main content
← Vulnerabilities

keys: make keyring indexes independent of kernel addresses

—Not rated
Exploited
No known exploitation
Fix
No fix listed
Who is exposed
Specific setups only

Do first: Check whether your setup matches what the bug needs. On an x86-64 build with 16 MiB alignment (KASLR slide candidates)

Published
Last modified
Published
Not listed in CISA KEV
30/100 · provisional
Specific setups only
None on Exploit-DB, Metasploit or GitHub

Summary

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.

What to do

  • Check whether your setup matches what the bug needs.

    On an x86-64 build with 16 MiB alignment (KASLR slide candidates)
  • Workaround: The checked facts list no fix and no workaround, so none can be given from them. Check the kernel advisory or your distribution for a patch or mitigation.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • Linux Linux

    Version range not reported

  • Linux Linux

    3.13

Evidence 8

  1. Link
  2. Link
  3. Link
  4. Link
  5. Link
Show all 8 sourcesShow fewer sources
  1. Link
  2. Link
  3. Link

Corrections

None so far.

Something wrong on this page? Report an error. Every fix is listed here.

FAQ

Questions about CVE-2026-99223

What does this mean?

The keyring code assigns key indexes based on kernel addresses. According to the checked facts, an unprivileged user can predict the key serial order in a keyring and recover the kernel image address, which weakens kernel address randomization (KASLR).Source: git.kernel.org

Am I affected, and how do I check?

The facts name the Linux kernel but list no version ranges. The stated setup is an x86-64 build with 16 MiB alignment, where 45 user keys are said to be enough. To check a system, confirm the kernel version and whether its build uses that architecture and alignment, and check the vendor advisory for the exact affected versions.Source: git.kernel.org

Is it being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data

What if there's no patch?

The checked facts list no fix and no workaround, so none can be given from them. Check the kernel advisory or your distribution for a patch or mitigation.Source: git.kernel.org