{"id":"CVE-2026-139100","summary":"gro: do not GRO GSO packets with inconsistent payload","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ngro: do not GRO GSO packets with inconsistent payload\n\ntcp_gro_receive() excludes empty non-GSO packets with the unsigned\nlen - 1 check, but its GSO branch only checks that gso_size matches\nthe held packet's MSS. A trusted TCP GSO skb can reach GRO again with\nno payload after TC pedit increases its TCP data offset.\n\nIf the skb is fully linear, skb_gro_receive() then enters its fragment\ntransfer path with nr_frags == 0. The do-while loop copies skb_frag_t\nentries backwards beyond both fragment arrays. An unprivileged process\nusing its own user and network namespaces can trigger a KASAN\nslab-out-of-bounds write and panic through veth, pedit and GRE.\n\nMore generally, the payload of such a packet can be shrunk to any\nvalue, making it inconsistent with its gso_segs, and a GSO packet\nwith gso_segs == 0 contributes no segment to the GRO packet.\n\nDo not aggregate GSO packets with gso_segs == 0, and require the\npayload of GSO packets to be consistent with gso_segs and gso_size,\nthe last segment being allowed to be short. This rejects the empty\nskb before either TCP merge helper, and covers both IPv4 and IPv6.\n\n[edumazet: check payload against gso_segs, refuse gso_segs == 0]","modified":"2026-12-01T21:02:36.456044346Z","published":"2026-11-30T13:31:34.594Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139100.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0e8591ce1c86da0dadbadfd305de9dc5b7743017"},{"type":"WEB","url":"https://git.kernel.org/stable/c/364e049a090fbea1cfdd4ac04ffe2d56e48ce01c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8cbc7f5da4e03cf527d61e0c96c866ebd0032c7a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a34902e04a381881e1e096dce3071a7801b52760"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b37485e08dcce6db7e78f5c90d99c512170e983f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/de788d8a7032475f900c16e9cc0c1417f4f719eb"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139100.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139100"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"5eddb24901ee49eee23c0bfce6af2e83fd5679bd"},{"fixed":"0e8591ce1c86da0dadbadfd305de9dc5b7743017"},{"fixed":"a34902e04a381881e1e096dce3071a7801b52760"},{"fixed":"8cbc7f5da4e03cf527d61e0c96c866ebd0032c7a"},{"fixed":"364e049a090fbea1cfdd4ac04ffe2d56e48ce01c"},{"fixed":"b37485e08dcce6db7e78f5c90d99c512170e983f"},{"fixed":"de788d8a7032475f900c16e9cc0c1417f4f719eb"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139100.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.1.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139100.json"}}],"schema_version":"1.9.2"}