KEYS: Fix key_reject_and_link() race with keyring restriction
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 4.7.0, < 5.10.273→ 5.10.273 ≥ 5.11.0, < 5.15.224→ 5.15.224 ≥ 5.16.0, < 6.1.191→ 6.1.191 ≥ 6.2.0, < 6.6.161→ 6.6.161 ≥ 6.7.0, < 6.12.115→ 6.12.115 ≥ 6.13.0, < 6.18.60→ 6.18.60 ≥ 6.19.0, < 7.2.14→ 7.2.14 ≥ 7.3.0, < 7.3.1→ 7.3.1 |
5.10.273 5.15.224 6.1.191 6.6.161 6.12.115 6.18.60 7.2.14 7.3.1 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-99245 linux-lts Fix available
- Debian DEBIAN-CVE-2026-99245 linux-6.12, linux Fix available
- Ubuntu UBUNTU-CVE-2026-99245 linux-vmware, linux-realtime-6.8, linux-realtime +34 more Fix available
Original description The description as published by the source.
In the Linux kernel, the following vulnerability has been resolved:
KEYS: Fix key_reject_and_link() race with keyring restriction
The restrict_link check in key_reject_and_link() is done before taking
the keyring semaphore, racing with a concurrent keyring_restrict()
that installs the restriction while holding the semaphore in write
mode.
Move the check to after __key_link_lock(), so it is done under the
semaphore, matching the pattern used in __key_create_or_update().
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com
- web git.kernel.org