KEYS: Fix key_reject_and_link() race with keyring restriction

Summary

CVECVE-2026-99245
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-03 12:17:30 UTC
Updated2026-11-03 20:18:30 UTC
DescriptionIn 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().

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c c7956ec99ad0e173720d95de9fa788bb077809f2 git Not specified
CNA Linux Linux affected 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c 2c3d907dd15f4e30d4c35b9f7a7a5078de6a1b1f git Not specified
CNA Linux Linux affected 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c 72f367417a6aee56821d0b0114cfd2b080008b63 git Not specified
CNA Linux Linux affected 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c 19dfc37c9deefa69dc805d01d35d1f2fd7902e33 git Not specified
CNA Linux Linux affected 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c 5787887eba0f0979a8c86d03a8e891395d5c24ad git Not specified
CNA Linux Linux affected 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c 01835d3a3709be508ae5209f806640336c48e395 git Not specified
CNA Linux Linux affected 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c 6fc0c818b1cac66003e937c8a0d3bfb23fd3f130 git Not specified
CNA Linux Linux affected 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c 23a9163cc40b4996ba1e20533b1210a1a0bee416 git Not specified
CNA Linux Linux affected 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c 0b157166e612b70f98a332b6c7be7eac6f8e9593 git Not specified
CNA Linux Linux affected 4.7 Not specified
CNA Linux Linux unaffected 4.7 semver Not specified
CNA Linux Linux unaffected 5.10.273 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.224 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.191 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.161 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.115 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.60 6.18.* semver Not specified
CNA Linux Linux unaffected 7.2.14 7.2.* semver Not specified
CNA Linux Linux unaffected 7.3.1 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/72f367417a6aee56821d0b0114cfd2b080008b63 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/23a9163cc40b4996ba1e20533b1210a1a0bee416 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/19dfc37c9deefa69dc805d01d35d1f2fd7902e33 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/6fc0c818b1cac66003e937c8a0d3bfb23fd3f130 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/5787887eba0f0979a8c86d03a8e891395d5c24ad 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/01835d3a3709be508ae5209f806640336c48e395 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/0b157166e612b70f98a332b6c7be7eac6f8e9593 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/c7956ec99ad0e173720d95de9fa788bb077809f2 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/2c3d907dd15f4e30d4c35b9f7a7a5078de6a1b1f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report