# KEYS: Fix add_key() race with keyring restriction

CVE record · `CVE-2026-99040`

- **Identifiers:** `CVE-2026-99040`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 23 Oct 2026
- **Updated:** 30 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 23 Oct 2026, 12:21 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c to before 24806fc9bca28fa1433bf938d1424dcb45d80e50` (git)
  - affected: `5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c to before 9a5c2700336878465a630804a2d21864f22eca9c` (git)
  - affected: `5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c to before b3e404550dc2b7f3d4bb64b1da8005a1fa9a798d` (git)
  - affected: `5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c to before 305f1828b871dd46bf41addeb6f11d2c162dcb25` (git)
  - affected: `5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c to before f99399b48e3edd6851fac34cd329bab9f1f33baf` (git)
  - affected: `5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c to before 11516a0c402a6c1fa52254aa70d8d65fb921e59e` (git)
  - affected: `5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c to before da0b595d8e6e2dd798f6e34e09dc51a13b888514` (git)
  - affected: `5ac7eace2d00eab5ae0e9fdee63e38aee6001f7c to before dd3ea3fcba7c75493760cdbccd35f029597e8d5e` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.7`
  - unaffected: `before 4.7` (semver)
  - unaffected: `5.10.273 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.224 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.191 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.160 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.113 to 6.12.*, inclusive` (semver)
  - unaffected: `6.18.57 to 6.18.*, inclusive` (semver)
  - unaffected: `7.2.11 to 7.2.*, inclusive` (semver)
  - unaffected: `7.3 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0019, the 8th percentile, on 6 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 23 Oct 2026. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2026-99040](https://www.cve.org/CVERecord?id=CVE-2026-99040)
- [NVD: CVE-2026-99040](https://nvd.nist.gov/vuln/detail/CVE-2026-99040)

### References from the CNA

- <https://git.kernel.org/stable/c/24806fc9bca28fa1433bf938d1424dcb45d80e50>
- <https://git.kernel.org/stable/c/9a5c2700336878465a630804a2d21864f22eca9c>
- <https://git.kernel.org/stable/c/b3e404550dc2b7f3d4bb64b1da8005a1fa9a798d>
- <https://git.kernel.org/stable/c/305f1828b871dd46bf41addeb6f11d2c162dcb25>
- <https://git.kernel.org/stable/c/f99399b48e3edd6851fac34cd329bab9f1f33baf>
- <https://git.kernel.org/stable/c/11516a0c402a6c1fa52254aa70d8d65fb921e59e>
- <https://git.kernel.org/stable/c/da0b595d8e6e2dd798f6e34e09dc51a13b888514>
- <https://git.kernel.org/stable/c/dd3ea3fcba7c75493760cdbccd35f029597e8d5e>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2026-99040>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2026-99040/>. Everything for agents: <https://agentprime.io/llms.txt>.
