# CVE-2026-99245: KEYS: Fix key\_reject\_and\_link() race with keyring restriction

- Priority: **Routine**
- Reason: Not severe (CVSS 2, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-03 · Modified: 2026-11-03
- Aliases: DEBIAN-CVE-2026-99245, UBUNTU-CVE-2026-99245
- Record: https://cvemate.com/vulnerability/CVE-2026-99245 · JSON: https://cvemate.com/vulnerability/CVE-2026-99245/json

## Description

```text
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().
```

## Signals

- CVSS: 2 low (v4.0, OSV · Ubuntu) CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
- EPSS: 0.223%, percentile 13.728%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 172)

- debian linux (Debian): All versions (No fix recorded) \| \< 6.1.192-1 \| \< 6.12.115-1 \| \< 7.2.14-1
- debian linux-6.12 (Debian): \< 6.12.115-2~deb12u1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-204.214 \| \< 6.8.0-151.151 \| \< 7.3.0-11.12 \| \< 7.0.0-44.44
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1121.128 \| \< 6.8.0-1070.76 \| \< 7.3.0-1005.5 \| \< 7.0.0-1018.19
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1070.76~22.04.1
- ubuntu linux-aws-7.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1070.76+fips1

## References (first 20 of 24)

- <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://security-tracker.debian.org/tracker/CVE-2026-99245>
- <https://git.kernel.org/stable/c/0b157166e612b70f98a332b6c7be7eac6f8e9593>
- <https://ubuntu.com/security/CVE-2026-99245>
- <https://www.cve.org/CVERecord?id=CVE-2026-99245>
- <https://ubuntu.com/security/notices/USN-9167-1>
- <https://ubuntu.com/security/notices/USN-9165-1>
- <https://ubuntu.com/security/notices/USN-9166-1>
- <https://ubuntu.com/security/notices/USN-9173-1>
- <https://ubuntu.com/security/notices/USN-9167-2>
- <https://ubuntu.com/security/notices/USN-9173-2>
- <https://ubuntu.com/security/notices/USN-9173-3>
- <https://ubuntu.com/security/notices/USN-9190-1>

---

Data as of 2026-12-05T03:57:19.954Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
