CVE-2026-139319
bpf: Don't let bpf_skb_adjust_room() use up the MSS
Check your servers for CVE-2026-139319
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-139319 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: Don't let bpf_skb_adjust_room() use up the MSS
When bpf_skb_adjust_room() grows a TCP GSO packet without BPF_F_ADJ_ROOM_FIXED_GSO, gso_size is lowered by the number of bytes added. Nothing looks at how large it is.
gso_size is the size of the segments the peer has sent if the packet comes out of GRO, and what the sender has written into the virtio header if it comes from a tun device or a packet socket. If it equals len_diff the result is 0, and a packet of up to 64 KB is no GSO packet any more. If it is smaller, the 16 bit value wraps around.
One less than len_diff gives GSO_BY_FRAGS. skb_segment() then takes the length of each segment from the frag_list. A packet with more than 64 KB of payload gets that far, and one from a tun device has no frag_list:
BUG: KASAN: null-ptr-deref in skb_segment+0xcf1/0x1a90 BUG: kernel NULL pointer dereference, address: 0000000000000070 tcp_gso_segment+0x1be/0x9f0 inet_gso_segment+0x288/0x740 inet_gso_segment+0x288/0x740 skb_mac_gso_segment+0x179/0x2e0
What is left must not be less than TCP_MIN_GSO_SIZE either. The stack relies on that for the number of segments to fit into gso_segs, see commit c27c449d455a ("virtio-net: Ensure that TCP packets don't overflow gso_segs").
Refuse to grow a packet that would end up with less, with the error that other packets which cannot be adjusted get.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.5% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 2be7e212d5419a400d051c84ca9fdd083e5aacac, before 2df20e0bce68d7f478bb4d937b61b6008efe1e30 affected from 2be7e212d5419a400d051c84ca9fdd083e5aacac, before 919fe7f3c8ef3ae55a44dc1743e11f74278a9a63 affected from 2be7e212d5419a400d051c84ca9fdd083e5aacac, before 55b124b77ae8ae5520164cd1dd4df9faf44f4a84 affected from 2be7e212d5419a400d051c84ca9fdd083e5aacac, before b97bee37e8f90ed346efa3445e8d3d5842feb4bf affected from 2be7e212d5419a400d051c84ca9fdd083e5aacac, before 2745c446f1b5d6effae5da90b12f18b60ee54f35 affected from 2be7e212d5419a400d051c84ca9fdd083e5aacac, before 12d07c38e1b0f79e48a37abd7103194212f2da8c
Other versions: unaffected
|
| Linux |
affected 4.13 unaffected before 4.13 unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.119 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-139319 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139319
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-139319
trivy image --scanners vuln IMAGE | grep CVE-2026-139319
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/2df20e0bce68d7f478bb4d937b61b6008efe1e30 git.kernel.org
- https://git.kernel.org/stable/c/919fe7f3c8ef3ae55a44dc1743e11f74278a9a63 git.kernel.org
- https://git.kernel.org/stable/c/55b124b77ae8ae5520164cd1dd4df9faf44f4a84 git.kernel.org
- https://git.kernel.org/stable/c/b97bee37e8f90ed346efa3445e8d3d5842feb4bf git.kernel.org
- https://git.kernel.org/stable/c/2745c446f1b5d6effae5da90b12f18b60ee54f35 git.kernel.org
- https://git.kernel.org/stable/c/12d07c38e1b0f79e48a37abd7103194212f2da8c git.kernel.org
Source: the record CVE-2026-139319 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