CVE-2026-139290
bpf: Follow the head if an skb is written from a slice
Check your servers for CVE-2026-139290
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-139290 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: Follow the head if an skb is written from a slice
The source of bpf_dynptr_write() may be a slice of the skb which is written to, that is a pointer into its head. bpf_dynptr_copy() does it by itself for a copy inside of one skb, if the source is linear and the destination is not.
__bpf_skb_store_bytes() and __bpf_skb_meta_store_bytes() make the skb writable first. If that reallocates the head, the source points to the old one, and freed memory is copied into the packet.
The offsets in the head do not change when it is reallocated here. Move the source along with the head.
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 10.4% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 2012c867c8005d72c949e274133df429ece78808, before 7daa965cd38e853c97b54f32c65e1f1b1b52bf98 affected from 2012c867c8005d72c949e274133df429ece78808, before cedda0bbb0635f936bc557d0d3dde2183d84a06a affected from 2012c867c8005d72c949e274133df429ece78808, before 6672e5657c306a7880723d0e4cfb88ec340cf570 affected from 2012c867c8005d72c949e274133df429ece78808, before 1c19f2b3b2f3b55c8017092257634cb8229b7d97
Other versions: unaffected
|
| Linux |
affected 6.5 unaffected before 6.5 unaffected from 6.12.120 up to and including 6.12.* unaffected from 6.18.65 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-139290 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139290
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-139290
trivy image --scanners vuln IMAGE | grep CVE-2026-139290
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/7daa965cd38e853c97b54f32c65e1f1b1b52bf98 git.kernel.org
- https://git.kernel.org/stable/c/cedda0bbb0635f936bc557d0d3dde2183d84a06a git.kernel.org
- https://git.kernel.org/stable/c/6672e5657c306a7880723d0e4cfb88ec340cf570 git.kernel.org
- https://git.kernel.org/stable/c/1c19f2b3b2f3b55c8017092257634cb8229b7d97 git.kernel.org
Source: the record CVE-2026-139290 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