# CVE-2026-99245: KEYS: Fix key_reject_and_link() race with keyring restriction

Status: published. Published: 2026-11-03. Updated: 2026-11-03.

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

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Linux / Linux: ≥ 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c; < c7956ec99ad0e173720d95de9fa788bb077809f2 (affected, git); ≥ 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c; < 2c3d907dd15f4e30d4c35b9f7a7a5078de6a1b1f (affected, git); ≥ 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c; < 72f367417a6aee56821d0b0114cfd2b080008b63 (affected, git); ≥ 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c; < 19dfc37c9deefa69dc805d01d35d1f2fd7902e33 (affected, git); ≥ 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c; < 5787887eba0f0979a8c86d03a8e891395d5c24ad (affected, git); ≥ 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c; < 01835d3a3709be508ae5209f806640336c48e395 (affected, git); ≥ 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c; < 6fc0c818b1cac66003e937c8a0d3bfb23fd3f130 (affected, git); ≥ 5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c; < 23a9163cc40b4996ba1e20533b1210a1a0bee416 (affected, git). Source: CNA: Linux
- Linux / Linux: 4.7 (affected); ≥ 0; < 4.7 (unaffected, semver); ≥ 5.10.273; ≤ 5.10.* (unaffected, semver); ≥ 5.15.224; ≤ 5.15.* (unaffected, semver); ≥ 6.1.191; ≤ 6.1.* (unaffected, semver); ≥ 6.6.161; ≤ 6.6.* (unaffected, semver); ≥ 6.12.115; ≤ 6.12.* (unaffected, semver); ≥ 6.18.60; ≤ 6.18.* (unaffected, semver); ≥ 7.2.14; ≤ 7.2.* (unaffected, semver); ≥ 7.3.1; ≤ 7.3.* (unaffected, semver). Source: CNA: Linux

## Severity and prioritization

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: Not available

- Weaknesses: Not reported

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://git.kernel.org/stable/c/c7956ec99ad0e173720d95de9fa788bb077809f2 (CNA: Linux)

- https://git.kernel.org/stable/c/2c3d907dd15f4e30d4c35b9f7a7a5078de6a1b1f (CNA: Linux)

- https://git.kernel.org/stable/c/72f367417a6aee56821d0b0114cfd2b080008b63 (CNA: Linux)

- https://git.kernel.org/stable/c/19dfc37c9deefa69dc805d01d35d1f2fd7902e33 (CNA: Linux)

- https://git.kernel.org/stable/c/5787887eba0f0979a8c86d03a8e891395d5c24ad (CNA: Linux)

- https://git.kernel.org/stable/c/01835d3a3709be508ae5209f806640336c48e395 (CNA: Linux)

- https://git.kernel.org/stable/c/6fc0c818b1cac66003e937c8a0d3bfb23fd3f130 (CNA: Linux)

- https://git.kernel.org/stable/c/23a9163cc40b4996ba1e20533b1210a1a0bee416 (CNA: Linux)

## Provenance

- CNA: Linux: https://www.cve.org/CVERecord?id=CVE-2026-99245; retrieved 2026-11-03; source updated 2026-11-03

Revision: b9084497724ea0c8136aab713dd9e096d980d8035c6a7eb53173015cd1a96643

Canonical: https://y2.dev/cve/CVE-2026-99245

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.