CVE-2026-139292
bpf: Let bpf_dynptr_write() mark a global function
Check your servers for CVE-2026-139292
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-139292 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.
Description
In the Linux kernel, the following vulnerability has been resolved:
bpf: Let bpf_dynptr_write() mark a global function
The caller of a global function loses its packet pointers if the function may change packet data. That is found out by a scan for calls of the helpers which bpf_helper_changes_pkt_data() lists.
bpf_dynptr_write() is not on the list, because it depends on the type of the dynptr: check_helper_call() looks at it. The scan cannot do that, and so a global function which makes a dynptr from the skb, or gets one as an argument, and writes through it counts as harmless. The write can reallocate the head of the skb, and the caller goes on with pointers into the old one, which has been freed.
Let every call of bpf_dynptr_write() mark the function, as a tail call does. The same mark decides whether a program may replace a function.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.6% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 1d572c60488b52882b719ed273767ee3b280413d, before 8310beed4f3a8eaa9df17bac8897866a925d37cd affected from 51081a3f25c742da5a659d7fc6fd77ebfdd555be, before 30c3198b5751f53a867ee34e25beb1522e78f142 affected from 51081a3f25c742da5a659d7fc6fd77ebfdd555be, before 61726cccceda5b8e36ae912eb1d2109ea122b49c affected from 51081a3f25c742da5a659d7fc6fd77ebfdd555be, before 589998616e0f9190ba6f6644a19532c5b2ba66d0 affected 79751e9227a5910c0e5a2c7186877d91821d957d affected from 6.12.25, before 6.12.120 affected from 6.6.90, before 6.7
Other versions: unaffected
|
| Linux |
affected 6.13 unaffected before 6.13 unaffected from 6.12.120 up to and including 6.12.* unaffected from 6.18.66 up to and including 6.18.* unaffected from 7.3.6 up to and including 7.3.* unaffected 7.4-rc1 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-139292 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139292
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-139292
trivy image --scanners vuln IMAGE | grep CVE-2026-139292
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
- https://git.kernel.org/stable/c/8310beed4f3a8eaa9df17bac8897866a925d37cd git.kernel.org
- https://git.kernel.org/stable/c/30c3198b5751f53a867ee34e25beb1522e78f142 git.kernel.org
- https://git.kernel.org/stable/c/61726cccceda5b8e36ae912eb1d2109ea122b49c git.kernel.org
- https://git.kernel.org/stable/c/589998616e0f9190ba6f6644a19532c5b2ba66d0 git.kernel.org
Source: the record CVE-2026-139292 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse