CVE-2026-99040 — KEYS: Fix add_key() race with keyring restriction
In the Linux kernel, the following vulnerability has been resolved: KEYS: Fix add_key() race with keyring restriction __key_create_or_update() snapshots keyring->restrict_link before taking the destination keyring's semaphore. keyring_restrict() installs a restriction while holding that semaphore. This allows a writer to observe no restriction, wait for the keyring owner to install a reject-all restriction and return successfully, and then link a key using the stale NULL snapshot. The writer only needs write permission on the destination keyring. Move the restrict_link read after __key_link_lock() and __key_link_begin(). The read and the subsequent restriction check are then serialized with restriction installation by keyring->sem. The race was reproduced on v7.2.8 in 19 executions where restriction installation returned before the link completed. All 19 linked the key despite the reject-all restriction. With this change, 312 executions reached the same ordering and every add_key() call failed with -EPERM. The issue was found by manual concurrency analysis assisted by AI-based analysis and independently verified with a QEMU reproducer and kernel instrumentation.
Who exploits it and how urgent it is
A 0–100 score combining confirmed exploitation, ransomware and APT use, public exploits, EPSS and severity.
How the score was calculated
- EPSS 0.2% (30-day exploitation probability)+1
The score orders the patch queue; it does not replace your asset context (internet exposure, criticality, compensating controls).
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the sources call it.
Remediation
Fixes and mitigations documented by the sources — linked to the original advisory.
No fix documented by the sources we poll. That does not mean none exists: check the vendor advisory.
First 24 hours
Ordered from the record’s own fields — exposure first, because you cannot patch what you have not found. A rule-generated starting point.
- Identify exposed assets running the affected vendor/product/version combinations (Linux Linux).
- No fix documented in the sources: reduce exposure and monitor the vendor advisory.
- Search available logs for exploit probes, errors and authentication anomalies.
Affected scope
Vendor, product and versions as the sources word them.
| Vendor | Product | Versions | Status | Source |
|---|---|---|---|---|
| Linux | Linux |
≥ 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c and < 305f1828b871dd46bf41addeb6f11d2c162dcb25≥ 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c and < f99399b48e3edd6851fac34cd329bab9f1f33baf≥ 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c and < 11516a0c402a6c1fa52254aa70d8d65fb921e59e≥ 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c and < da0b595d8e6e2dd798f6e34e09dc51a13b888514≥ 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c and < dd3ea3fcba7c75493760cdbccd35f029597e8d5eversion 4.7≥ 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c and < 24806fc9bca28fa1433bf938d1424dcb45d80e50≥ 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c and < 9a5c2700336878465a630804a2d21864f22eca9c and 1 more≥ 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c and < b3e404550dc2b7f3d4bb64b1da8005a1fa9a798d |
Vulnerable | CVE Program (cve.org) e CISA ADP |
EPSS over time FIRST
Oct 24, 2026 → Oct 30, 2026 · 7 reading(s) · max 0.23%
Detection
Read off the CVSS vector and the weakness class. Starting points, not tested rules.
- Not enough vector or weakness data: use the affected application’s logs as a starting point.
Timeline
What happened to this CVE, newest first.
- 2026
- Affected products added · linux/linux
- Record published
- Affected products added · linux/linux
- Source status changed · → Received
- Record created in this database
- CVE published
Source activity
Repeated readings are counted rather than listed.
- 3× References added · Oct 23, 2026 – Oct 30, 2026
- 1× Official description updated · Oct 23, 2026 – Oct 23, 2026
References
10 on the record
- git.kernel.org/stable/c/f99399b48e3edd6851fac34cd329bab9f1f33baf
- git.kernel.org/stable/c/11516a0c402a6c1fa52254aa70d8d65fb921e59e
- nvd.nist.gov/vuln/detail/CVE-2026-99040
- git.kernel.org/stable/c/dd3ea3fcba7c75493760cdbccd35f029597e8d5e
- git.kernel.org/stable/c/24806fc9bca28fa1433bf938d1424dcb45d80e50
- git.kernel.org/stable/c/da0b595d8e6e2dd798f6e34e09dc51a13b888514
- git.kernel.org/stable/c/9a5c2700336878465a630804a2d21864f22eca9c
- git.kernel.org/stable/c/b3e404550dc2b7f3d4bb64b1da8005a1fa9a798d
- github.com/advisories/GHSA-xfxp-jqfr-m4g5
- git.kernel.org/stable/c/305f1828b871dd46bf41addeb6f11d2c162dcb25
Elsewhere on this site
Related CVEs (same products)
- Unknown CVE-2026-99216 Drivers: hv: Don't reset VMBus connection state on error/exit paths 2d
- Unknown CVE-2026-99215 power: supply: core: prevent unregistering a power supply while a callback runs 2d
- Unknown CVE-2026-99207 scsi: target: Disable interrupts while holding delayed_cmd_lock 2d
- Unknown CVE-2026-99208 drm/xe/oa: Zero OA buffer at allocation 2d
- Unknown CVE-2026-99209 drm/xe: skip eviction of a BO with no resource 2d
- Unknown CVE-2026-99210 accel/rocket: clear rdev on device init failure 2d
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No CVSS score published by NVD, the CNA, CISA or GitHub so far.
- No fixed version, patch or mitigation documented.
- No CISA SSVC assessment.
- No CWE classification.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record
Text assembled only from the fields above — no additional claims.
What should defenders know first?
CVE-2026-99040 is "KEYS: Fix add_key() race with keyring restriction", rated Unknown. It affects Linux (Linux); versions are in the scope table. It is not in CISA KEV, which does not rule out exploitation. EPSS 0.18% estimates the probability of exploitation in 30 days; neither replaces your asset context. First verify whether exposed or business-critical assets run the affected versions, apply vendor fixes or mitigations, and preserve logs for review.
Comments
Moderated technical discussion. Read the community guidelines.
No comments yet.
Sign in or create an account to comment and suggest corrections.