CVE-2026-22994

bpf: Fix reference count leak in bpf_prog_test_run_xdp()

No CVSS score yet EPSS 0.20%

Published 23 Jan 2026 Updated 10 Nov 2026 CNA: Linux

Check your servers for CVE-2026-22994

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-22994 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

bpf: Fix reference count leak in bpf_prog_test_run_xdp()

syzbot is reporting

unregister_netdevice: waiting for sit0 to become free. Usage count = 2

problem. A debug printk() patch found that a refcount is obtained at xdp_convert_md_to_buff() from bpf_prog_test_run_xdp().

According to commit ec94670fcb3b ("bpf: Support specifying ingress via xdp_md context in BPF_PROG_TEST_RUN"), the refcount obtained by xdp_convert_md_to_buff() will be released by xdp_convert_buff_to_md().

Therefore, we can consider that the error handling path introduced by commit 1c1949982524 ("bpf: introduce frags support to bpf_prog_test_run_xdp()") forgot to call xdp_convert_buff_to_md().

Exploitation

EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 5.66% of all scored CVEs. Scores of 30 Nov 2026.

The assessment of CISA (SSVC, 5 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 1c194998252469cad00a08bd9ef0b99fd255c260, before 368569bc546d3368ee9980ba79fc42fdff9a3365
affected from 1c194998252469cad00a08bd9ef0b99fd255c260, before 98676ee71fd4eafeb8be63c7f3f1905d40e03101
affected from 1c194998252469cad00a08bd9ef0b99fd255c260, before fb9ef40cccdbacce36029b305d0ef1e12e4fea38
affected from 1c194998252469cad00a08bd9ef0b99fd255c260, before 737be05a765761d7d7c9f7fe92274bd8e6f6951e
affected from 1c194998252469cad00a08bd9ef0b99fd255c260, before ec69daabe45256f98ac86c651b8ad1b2574489a7
Other versions: unaffected
Linux
affected 5.18
unaffected before 5.18
unaffected from 6.1.161 up to and including 6.1.*
unaffected from 6.6.121 up to and including 6.6.*
unaffected from 6.12.66 up to and including 6.12.*
unaffected from 6.18.6 up to and including 6.18.*
unaffected 6.19 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-22994 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-22994

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-22994
trivy image --scanners vuln IMAGE | grep CVE-2026-22994

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-22994 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.