{"id":"CVE-2026-99245","summary":"KEYS: Fix key_reject_and_link() race with keyring restriction","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nKEYS: Fix key_reject_and_link() race with keyring restriction\n\nThe restrict_link check in key_reject_and_link() is done before taking\nthe keyring semaphore, racing with a concurrent keyring_restrict()\nthat installs the restriction while holding the semaphore in write\nmode.\n\nMove the check to after __key_link_lock(), so it is done under the\nsemaphore, matching the pattern used in __key_create_or_update().","modified":"2026-11-10T17:27:01.099690002Z","published":"2026-11-03T11:15:15.050Z","related":["openSUSE-SU-2026:12497-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99245.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/01835d3a3709be508ae5209f806640336c48e395"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0b157166e612b70f98a332b6c7be7eac6f8e9593"},{"type":"WEB","url":"https://git.kernel.org/stable/c/19dfc37c9deefa69dc805d01d35d1f2fd7902e33"},{"type":"WEB","url":"https://git.kernel.org/stable/c/23a9163cc40b4996ba1e20533b1210a1a0bee416"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2c3d907dd15f4e30d4c35b9f7a7a5078de6a1b1f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5787887eba0f0979a8c86d03a8e891395d5c24ad"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6fc0c818b1cac66003e937c8a0d3bfb23fd3f130"},{"type":"WEB","url":"https://git.kernel.org/stable/c/72f367417a6aee56821d0b0114cfd2b080008b63"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c7956ec99ad0e173720d95de9fa788bb077809f2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99245.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99245"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c"},{"fixed":"c7956ec99ad0e173720d95de9fa788bb077809f2"},{"fixed":"2c3d907dd15f4e30d4c35b9f7a7a5078de6a1b1f"},{"fixed":"72f367417a6aee56821d0b0114cfd2b080008b63"},{"fixed":"19dfc37c9deefa69dc805d01d35d1f2fd7902e33"},{"fixed":"5787887eba0f0979a8c86d03a8e891395d5c24ad"},{"fixed":"01835d3a3709be508ae5209f806640336c48e395"},{"fixed":"6fc0c818b1cac66003e937c8a0d3bfb23fd3f130"},{"fixed":"23a9163cc40b4996ba1e20533b1210a1a0bee416"},{"fixed":"0b157166e612b70f98a332b6c7be7eac6f8e9593"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99245.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.7.0"},{"fixed":"5.10.273"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.224"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.191"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.161"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.115"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.60"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.14"}]},{"type":"ECOSYSTEM","events":[{"introduced":"7.3.0"},{"fixed":"7.3.1"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99245.json"}}],"schema_version":"1.9.2"}