Linux Kernel: KEYS key_reject_and_link race with keyring restriction
CVE-2026-99245 Published on November 3, 2026
KEYS: Fix key_reject_and_link() race with keyring restriction
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().
Products Associated with CVE-2026-99245
Want to know whenever a new CVE is published for Linux Kernel? stack.watch will email you.
Affected Versions
Linux:- Version 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c and below c7956ec99ad0e173720d95de9fa788bb077809f2 is affected.
- Version 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c and below 2c3d907dd15f4e30d4c35b9f7a7a5078de6a1b1f is affected.
- Version 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c and below 72f367417a6aee56821d0b0114cfd2b080008b63 is affected.
- Version 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c and below 19dfc37c9deefa69dc805d01d35d1f2fd7902e33 is affected.
- Version 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c and below 5787887eba0f0979a8c86d03a8e891395d5c24ad is affected.
- Version 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c and below 01835d3a3709be508ae5209f806640336c48e395 is affected.
- Version 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c and below 6fc0c818b1cac66003e937c8a0d3bfb23fd3f130 is affected.
- Version 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c and below 23a9163cc40b4996ba1e20533b1210a1a0bee416 is affected.
- Version 4.7 is affected.
- Before 4.7 is unaffected.
- Version 5.10.273, <= 5.10.* is unaffected.
- Version 5.15.224, <= 5.15.* is unaffected.
- Version 6.1.191, <= 6.1.* is unaffected.
- Version 6.6.161, <= 6.6.* is unaffected.
- Version 6.12.115, <= 6.12.* is unaffected.
- Version 6.18.60, <= 6.18.* is unaffected.
- Version 7.2.14, <= 7.2.* is unaffected.
- Version 7.3.1, <= 7.3.* is unaffected.