# bpf: Fix reference count leak in bpf_prog_test_run_xdp()

CVE record · `CVE-2026-22994`

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

Published by the CVE Program (CNA: Linux) at 23 Jan 2026, 15:24 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: `1c194998252469cad00a08bd9ef0b99fd255c260 to before 368569bc546d3368ee9980ba79fc42fdff9a3365` (git)
  - affected: `1c194998252469cad00a08bd9ef0b99fd255c260 to before 98676ee71fd4eafeb8be63c7f3f1905d40e03101` (git)
  - affected: `1c194998252469cad00a08bd9ef0b99fd255c260 to before fb9ef40cccdbacce36029b305d0ef1e12e4fea38` (git)
  - affected: `1c194998252469cad00a08bd9ef0b99fd255c260 to before 737be05a765761d7d7c9f7fe92274bd8e6f6951e` (git)
  - affected: `1c194998252469cad00a08bd9ef0b99fd255c260 to before ec69daabe45256f98ac86c651b8ad1b2574489a7` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.18`
  - unaffected: `before 5.18` (semver)
  - unaffected: `6.1.161 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.121 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.66 to 6.12.*, inclusive` (semver)
  - unaffected: `6.18.6 to 6.18.*, inclusive` (semver)
  - unaffected: `6.19 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's BPF XDP test-run function, bpf_prog_test_run_xdp(), leaks a reference count on an error path, which syzbot surfaced as a hang when a network device failed to unregister. The source gives few details about what an attacker needs to trigger the leak or what else they could do. Upgrade to Linux 6.1.161, 6.6.121, 6.12.66, or 6.18.6 or later in the matching series, since kernels from 5.18 up to those fixes are 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.0014, the 3rd percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 23 Jan 2026, 15:24 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2026-22994)
- 23 Jan 2026, 16:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-22994)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/368569bc546d3368ee9980ba79fc42fdff9a3365>
- <https://git.kernel.org/stable/c/98676ee71fd4eafeb8be63c7f3f1905d40e03101>
- <https://git.kernel.org/stable/c/fb9ef40cccdbacce36029b305d0ef1e12e4fea38>
- <https://git.kernel.org/stable/c/737be05a765761d7d7c9f7fe92274bd8e6f6951e>
- <https://git.kernel.org/stable/c/ec69daabe45256f98ac86c651b8ad1b2574489a7>

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

---

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