# bpf: Fix exception exit lock checking for subprogs

CVE record · `CVE-2026-31526`

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

Published by the CVE Program (CNA: Linux) at 22 Apr 2026, 13:54 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: `f18b03fabaa9b7c80e80b72a621f481f0d706ae0 to before 4eca06a55417c3b2e538656d12c89e224343653e` (git)
  - affected: `f18b03fabaa9b7c80e80b72a621f481f0d706ae0 to before c0281da1f2aa5c2fca3a05f79b86bea96591c358` (git)
  - affected: `f18b03fabaa9b7c80e80b72a621f481f0d706ae0 to before 5a399f3117642494e35545f6ca397d3e177c1f9b` (git)
  - affected: `f18b03fabaa9b7c80e80b72a621f481f0d706ae0 to before 6c2128505f61b504c79a20b89596feba61388112` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.7`
  - unaffected: `before 6.7` (semver)
  - unaffected: `6.12.114 to 6.12.*, inclusive` (semver)
  - unaffected: `6.18.21 to 6.18.*, inclusive` (semver)
  - unaffected: `6.19.11 to 6.19.*, inclusive` (semver)
  - unaffected: `7.0 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel BPF verifier (versions 6.7 onward) skips lock checks on bpf_throw() exits from static subprograms, so RCU, preemption or IRQ locks can stay held after an exception. The source gives few details on what an attacker needs. Upgrade to 6.12.114, 6.18.21, 6.19.11 or 7.0 (or later in those series); kernels before 6.7 are not affected.

Written 17 Nov 2026.

## 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.0013, the 2nd percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 22 Apr 2026, 13:54 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2026-31526)
- 22 Apr 2026, 14:16 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-31526)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/4eca06a55417c3b2e538656d12c89e224343653e>
- <https://git.kernel.org/stable/c/c0281da1f2aa5c2fca3a05f79b86bea96591c358>
- <https://git.kernel.org/stable/c/5a399f3117642494e35545f6ca397d3e177c1f9b>
- <https://git.kernel.org/stable/c/6c2128505f61b504c79a20b89596feba61388112>

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-31526>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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