CVE-2026-139319
publishedbpf: Don't let bpf_skb_adjust_room() use up the MSS
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux2be7e212d5419a400d051c84ca9fdd083e5aacac to < 2df20e0bce68d7f478bb4d937b61b6008efe1e30 · 2be7e212d5419a400d051c84ca9fdd083e5aacac to < 919fe7f3c8ef3ae55a44dc1743e11f74278a9a63 · 2be7e212d5419a400d051c84ca9fdd083e5aacac to < 55b124b77ae8ae5520164cd1dd4df9faf44f4a84 · 2be7e212d5419a400d051c84ca9fdd083e5aacac to < b97bee37e8f90ed346efa3445e8d3d5842feb4bf · 2be7e212d5419a400d051c84ca9fdd083e5aacac to < 2745c446f1b5d6effae5da90b12f18b60ee54f35 · 2be7e212d5419a400d051c84ca9fdd083e5aacac to < 12d07c38e1b0f79e48a37abd7103194212f2da8c · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.13 (affected) · 0 to < 4.13 (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 2be7e212d5419a400d051c84ca9fdd083e5aacac to < 2df20e0bce68d7f478bb4d937b61b6008efe1e30 (affected · git)2be7e212d5419a400d051c84ca9fdd083e5aacac to < 919fe7f3c8ef3ae55a44dc1743e11f74278a9a63 (affected · git)2be7e212d5419a400d051c84ca9fdd083e5aacac to < 55b124b77ae8ae5520164cd1dd4df9faf44f4a84 (affected · git)2be7e212d5419a400d051c84ca9fdd083e5aacac to < b97bee37e8f90ed346efa3445e8d3d5842feb4bf (affected · git)2be7e212d5419a400d051c84ca9fdd083e5aacac to < 2745c446f1b5d6effae5da90b12f18b60ee54f35 (affected · git)2be7e212d5419a400d051c84ca9fdd083e5aacac to < 12d07c38e1b0f79e48a37abd7103194212f2da8c (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.13 (affected)0 to < 4.13 (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
6- https://git.kernel.org/stable/c/12d07c38e1b0f79e48a37abd7103194212f2da8c
- https://git.kernel.org/stable/c/2745c446f1b5d6effae5da90b12f18b60ee54f35
- https://git.kernel.org/stable/c/2df20e0bce68d7f478bb4d937b61b6008efe1e30
- https://git.kernel.org/stable/c/55b124b77ae8ae5520164cd1dd4df9faf44f4a84
- https://git.kernel.org/stable/c/919fe7f3c8ef3ae55a44dc1743e11f74278a9a63
- https://git.kernel.org/stable/c/b97bee37e8f90ed346efa3445e8d3d5842feb4bf
Provider assertions
1Linux · cna
bpf: Don't let bpf_skb_adjust_room() use up the MSS
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e2fd908f128feaa3a0be4de8a8b264c7592491278c42f8e5f6df9efcf01a980b
- Ingested
- 30 Nov 2026, 13:42:23 UTC
- Source record
- Official CVE record