KEYS: Fix key_reject_and_link() race with keyring restriction (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.22 % · percentile 14 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
Description
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().
References
- https://git.kernel.org/stable/c/c7956ec99ad0e173720d95de9fa788bb077809f2
- https://git.kernel.org/stable/c/2c3d907dd15f4e30d4c35b9f7a7a5078de6a1b1f
- https://git.kernel.org/stable/c/72f367417a6aee56821d0b0114cfd2b080008b63
- https://git.kernel.org/stable/c/19dfc37c9deefa69dc805d01d35d1f2fd7902e33
- https://git.kernel.org/stable/c/5787887eba0f0979a8c86d03a8e891395d5c24ad
- https://git.kernel.org/stable/c/01835d3a3709be508ae5209f806640336c48e395
- https://git.kernel.org/stable/c/6fc0c818b1cac66003e937c8a0d3bfb23fd3f130
- https://git.kernel.org/stable/c/23a9163cc40b4996ba1e20533b1210a1a0bee416
- https://git.kernel.org/stable/c/0b157166e612b70f98a332b6c7be7eac6f8e9593
European references
- ENISA EUVD · EUVD-2026-115775
- GCVE · GCVE-0-2026-99245
CERT-FR advisories
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1595 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c < c7956ec99ad0e173720d95de9fa788bb077809f2 affected : ≥ 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c < 2c3d907dd15f4e30d4c35b9f7a7a5078de6a1b1f affected : ≥ 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c < 72f367417a6aee56821d0b0114cfd2b080008b63 affected : ≥ 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c < 19dfc37c9deefa69dc805d01d35d1f2fd7902e33 affected : ≥ 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c < 5787887eba0f0979a8c86d03a8e891395d5c24ad affected : ≥ 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c < 01835d3a3709be508ae5209f806640336c48e395 affected : ≥ 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c < 6fc0c818b1cac66003e937c8a0d3bfb23fd3f130 affected : ≥ 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c < 23a9163cc40b4996ba1e20533b1210a1a0bee416 affected : ≥ 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c < 0b157166e612b70f98a332b6c7be7eac6f8e9593 Other versions : unaffected |
| Linux · Linux | affected : 4.7 unaffected : ≥ 0 < 4.7 unaffected : ≥ 5.10.273 ≤ 5.10.* unaffected : ≥ 5.15.224 ≤ 5.15.* unaffected : ≥ 6.1.191 ≤ 6.1.* unaffected : ≥ 6.6.161 ≤ 6.6.* unaffected : ≥ 6.12.115 ≤ 6.12.* unaffected : ≥ 6.18.60 ≤ 6.18.* unaffected : ≥ 7.2.14 ≤ 7.2.* unaffected : ≥ 7.3.1 ≤ 7.3.* unaffected : ≥ 7.4-rc1 ≤ * Other versions : affected |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |