Skip to main content
Network Thinking Solutions Logo

CVE-2026-99224

Linux kernel denial of service from use-after-free in keyctl

All CVEs
CVE-2026-99224Published 11/2/2026

Linux kernel denial of service from use-after-free in keyctl

Vendor advisory
CVSS7.0High

Overview

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

Published
11/2/2026
Last modified
11/3/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
Linux
Linux
≥ aa9d4437893f7e015ce5b6d6c443a9ba92c8a2e7, < 19c4de819e52b7f606468fbfe4fcef4e812e2777

Verify advisory

Source
Linux
Linux
≥ aa9d4437893f7e015ce5b6d6c443a9ba92c8a2e7, < a49e6c9a1a5b3457c946a8efb616ce13b4ca8194

Verify advisory

Source
Linux
Linux
≥ aa9d4437893f7e015ce5b6d6c443a9ba92c8a2e7, < 916667df7695366f23cfaf365b5840b228cc4b2e

Verify advisory

Source
Linux
Linux
≥ aa9d4437893f7e015ce5b6d6c443a9ba92c8a2e7, < dddd3a1ab7d12ee163477918ff6eb943361db4fe

Verify advisory

Source
Linux
Linux
≥ aa9d4437893f7e015ce5b6d6c443a9ba92c8a2e7, < 3c3cfd9e262afc9558c38f8cec57f09d10988546

Verify advisory

Source
Linux
Linux
≥ aa9d4437893f7e015ce5b6d6c443a9ba92c8a2e7, < 6b613747f7ea309ada5b8d05b55398c338f7a968

Verify advisory

Source
Linux
Linux
≥ aa9d4437893f7e015ce5b6d6c443a9ba92c8a2e7, < dea367df18e3a4faac393e3a4e818ee03af89b19

Verify advisory

Source
Linux
Linux
≥ aa9d4437893f7e015ce5b6d6c443a9ba92c8a2e7, < 0461bc8f91116aae4a020e15f4e1c1fd535ab35e

Verify advisory

Source
Linux
Linux
≥ aa9d4437893f7e015ce5b6d6c443a9ba92c8a2e7, < fced7238b7e80cf8aa688d5af976e4aa6e33c329

Verify advisory

Source
Linux
Linux
3.18

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.