CVE-2026-99224
keys: Protect the type name while describing a key
Check your servers for CVE-2026-99224
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99224 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
keys: Protect the type name while describing a key
keyctl_describe_key() must keep the key type's name alive until kasprintf() has consumed it. The retained key reference keeps the key and its description alive, but does not pin the module providing its type. The name is passed to kasprintf() without holding key->sem.
kvasprintf() uses the saved name pointer in two formatting passes, with a GFP_KERNEL allocation between them. With AF_RXRPC=m, a task that passes View permission before type retirement can overlap a privileged module unload in this order:
1. KEYCTL_DESCRIBE looks up the key, saves key->type->name in the kasprintf() arguments and completes the first formatting pass. 2. While the formatter is delayed before its second pass, af_rxrpc_exit() calls unregister_key_type(), which removes the type from the registry and waits for key_gc_keytype(). 3. The collector takes key->sem for writing, retypes the retained key to key_type_dead and completes retirement. Unregistration and module exit return, allowing free_module() to release the type and name. 4. The formatter resumes its second pass and reads the saved name from released module storage, which can fault in string().
Hold key->sem for reading across kasprintf(). The collector then cannot retype the key or complete retirement until both formatting passes have finished. If retirement wins the lock first, formatting uses the core key_type_dead name instead. Release the semaphore immediately after kasprintf(), including on allocation failure, before copying to userspace.
Oops report as below:
BUG: unable to handle page fault for address: fffffbfff8054794 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page RIP: 0010:string+0x23f/0x470 Call Trace: vsnprintf+0x330/0x1110
Severity (CVSS)
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.05% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from aa9d4437893f7e015ce5b6d6c443a9ba92c8a2e7, before 19c4de819e52b7f606468fbfe4fcef4e812e2777 affected from aa9d4437893f7e015ce5b6d6c443a9ba92c8a2e7, before a49e6c9a1a5b3457c946a8efb616ce13b4ca8194 affected from aa9d4437893f7e015ce5b6d6c443a9ba92c8a2e7, before 916667df7695366f23cfaf365b5840b228cc4b2e affected from aa9d4437893f7e015ce5b6d6c443a9ba92c8a2e7, before dddd3a1ab7d12ee163477918ff6eb943361db4fe affected from aa9d4437893f7e015ce5b6d6c443a9ba92c8a2e7, before 3c3cfd9e262afc9558c38f8cec57f09d10988546 affected from aa9d4437893f7e015ce5b6d6c443a9ba92c8a2e7, before 6b613747f7ea309ada5b8d05b55398c338f7a968 affected from aa9d4437893f7e015ce5b6d6c443a9ba92c8a2e7, before dea367df18e3a4faac393e3a4e818ee03af89b19 affected from aa9d4437893f7e015ce5b6d6c443a9ba92c8a2e7, before 0461bc8f91116aae4a020e15f4e1c1fd535ab35e affected from aa9d4437893f7e015ce5b6d6c443a9ba92c8a2e7, before fced7238b7e80cf8aa688d5af976e4aa6e33c329
Other versions: unaffected
|
| Linux |
affected 3.18 unaffected before 3.18 unaffected from 5.10.273 up to and including 5.10.* unaffected from 5.15.224 up to and including 5.15.* unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.161 up to and including 6.6.* unaffected from 6.12.115 up to and including 6.12.* unaffected from 6.18.60 up to and including 6.18.* unaffected from 7.2.14 up to and including 7.2.* unaffected from 7.3.1 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99224 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99224
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-99224
trivy image --scanners vuln IMAGE | grep CVE-2026-99224
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/19c4de819e52b7f606468fbfe4fcef4e812e2777 git.kernel.org
- https://git.kernel.org/stable/c/a49e6c9a1a5b3457c946a8efb616ce13b4ca8194 git.kernel.org
- https://git.kernel.org/stable/c/916667df7695366f23cfaf365b5840b228cc4b2e git.kernel.org
- https://git.kernel.org/stable/c/dddd3a1ab7d12ee163477918ff6eb943361db4fe git.kernel.org
- https://git.kernel.org/stable/c/3c3cfd9e262afc9558c38f8cec57f09d10988546 git.kernel.org
- https://git.kernel.org/stable/c/6b613747f7ea309ada5b8d05b55398c338f7a968 git.kernel.org
- https://git.kernel.org/stable/c/dea367df18e3a4faac393e3a4e818ee03af89b19 git.kernel.org
- https://git.kernel.org/stable/c/0461bc8f91116aae4a020e15f4e1c1fd535ab35e git.kernel.org
- https://git.kernel.org/stable/c/fced7238b7e80cf8aa688d5af976e4aa6e33c329 git.kernel.org
Source: the record CVE-2026-99224 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse