CVE-2026-99223

keys: make keyring indexes independent of kernel addresses

Published Nov 2, 2026 CVSS 3.1 · 3.3 Low EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability originates in the Linux kernel’s keyring implementation. An unprivileged process can create keys with known descriptions, causing the kernel to arrange them in a deterministic order that depends on kernel addresses. By inserting a small number of such keys, the attacker can enumerate the KASLR slide and recover the linear address of the kernel image, effectively leaking sensitive memory addresses. This information exposure allows further exploitation, such as bypassing memory protection or facilitating privilege escalation. The weakness is identified as CWE-204.

Affected Systems

All Linux kernel installations are affected, regardless of distribution or architecture. The vulnerability has been fixed in later kernel releases; however, the exact version range that contains the flaw is not specified in the data provided.

Risk and Exploitability

The CVSS score is 3.3 and the EPSS score is less than 1%, indicating a low severity and very low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is local; an unprivileged process can create keys with known descriptions. By inserting a small number of such keys the attacker can enumerate the KASLR slide and recover the kernel image address, leaking sensitive memory addresses. While the direct impact is information disclosure, the recovered addresses could be leveraged in a chain with other kernel vulnerabilities. Given the low severity and low exploitation probability, the immediate risk is moderate, but organizations should still patch promptly to eliminate any possibility of future exploitation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the fix for keyring index sanitization.
  • Apply the upstream patch to the kernel source and rebuild the kernel if an immediate upgrade is not feasible.
  • Maintain regular vulnerability monitoring and apply kernel updates promptly to prevent attackers from leveraging this information disclosure route.

Generated by OpenCVE AI on November 4, 2026 at 16:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4904-1 linux-6.12 security update
Debian DLA Debian DLA DLA-4906-1 linux security update
Ubuntu USN Ubuntu USN USN-9165-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9166-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9167-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9173-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9167-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9173-2 Linux kernel vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-200
Type Values Removed Values Added
Weaknesses CWE-204
References
Metrics threat_severity

None

cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'}

threat_severity

Low

Type Values Removed Values Added
Weaknesses CWE-200
Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
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.
Title keys: make keyring indexes independent of kernel addresses
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-204

    Observable Response Discrepancy

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 3, 2026, 7:12 PM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Nov 2, 2026, 4:17 PM
Modified
Nov 3, 2026, 8:18 PM
Severity
Low
Public date
Nov 2, 2026, 4:06 PM