{"id":"CVE-2026-139100","state":"PUBLISHED","title":"gro: do not GRO GSO packets with inconsistent payload","description":"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]","publishedAt":"2026-11-30T13:31:34.594Z","updatedAt":"2026-11-30T13:31:34.594Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5eddb24901ee49eee23c0bfce6af2e83fd5679bd","status":"affected","lessThan":"0e8591ce1c86da0dadbadfd305de9dc5b7743017","versionType":"git"},{"version":"5eddb24901ee49eee23c0bfce6af2e83fd5679bd","status":"affected","lessThan":"a34902e04a381881e1e096dce3071a7801b52760","versionType":"git"},{"version":"5eddb24901ee49eee23c0bfce6af2e83fd5679bd","status":"affected","lessThan":"8cbc7f5da4e03cf527d61e0c96c866ebd0032c7a","versionType":"git"},{"version":"5eddb24901ee49eee23c0bfce6af2e83fd5679bd","status":"affected","lessThan":"364e049a090fbea1cfdd4ac04ffe2d56e48ce01c","versionType":"git"},{"version":"5eddb24901ee49eee23c0bfce6af2e83fd5679bd","status":"affected","lessThan":"b37485e08dcce6db7e78f5c90d99c512170e983f","versionType":"git"},{"version":"5eddb24901ee49eee23c0bfce6af2e83fd5679bd","status":"affected","lessThan":"de788d8a7032475f900c16e9cc0c1417f4f719eb","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/gro.c","net/ipv4/tcp_offload.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.1","versionType":"semver"},{"version":"6.1.193","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/gro.c","net/ipv4/tcp_offload.c"]}],"references":["https://git.kernel.org/stable/c/0e8591ce1c86da0dadbadfd305de9dc5b7743017","https://git.kernel.org/stable/c/a34902e04a381881e1e096dce3071a7801b52760","https://git.kernel.org/stable/c/8cbc7f5da4e03cf527d61e0c96c866ebd0032c7a","https://git.kernel.org/stable/c/364e049a090fbea1cfdd4ac04ffe2d56e48ce01c","https://git.kernel.org/stable/c/b37485e08dcce6db7e78f5c90d99c512170e983f","https://git.kernel.org/stable/c/de788d8a7032475f900c16e9cc0c1417f4f719eb"],"weaknesses":[],"ingestedAt":"2026-11-30T13:42:04.437Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139100.json","commit":"5317bbbde1916a58cb1fadabb726eb126daf44c1","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139100","state":"PUBLISHED","datePublished":"2026-11-30T13:31:34.594Z","dateUpdated":"2026-11-30T13:31:34.594Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.914Z"},"containers":{"cna":{"title":"gro: do not GRO GSO packets with inconsistent payload","descriptions":[{"lang":"en","value":"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]"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5eddb24901ee49eee23c0bfce6af2e83fd5679bd","status":"affected","lessThan":"0e8591ce1c86da0dadbadfd305de9dc5b7743017","versionType":"git"},{"version":"5eddb24901ee49eee23c0bfce6af2e83fd5679bd","status":"affected","lessThan":"a34902e04a381881e1e096dce3071a7801b52760","versionType":"git"},{"version":"5eddb24901ee49eee23c0bfce6af2e83fd5679bd","status":"affected","lessThan":"8cbc7f5da4e03cf527d61e0c96c866ebd0032c7a","versionType":"git"},{"version":"5eddb24901ee49eee23c0bfce6af2e83fd5679bd","status":"affected","lessThan":"364e049a090fbea1cfdd4ac04ffe2d56e48ce01c","versionType":"git"},{"version":"5eddb24901ee49eee23c0bfce6af2e83fd5679bd","status":"affected","lessThan":"b37485e08dcce6db7e78f5c90d99c512170e983f","versionType":"git"},{"version":"5eddb24901ee49eee23c0bfce6af2e83fd5679bd","status":"affected","lessThan":"de788d8a7032475f900c16e9cc0c1417f4f719eb","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/gro.c","net/ipv4/tcp_offload.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.1","versionType":"semver"},{"version":"6.1.193","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/gro.c","net/ipv4/tcp_offload.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/0e8591ce1c86da0dadbadfd305de9dc5b7743017"},{"url":"https://git.kernel.org/stable/c/a34902e04a381881e1e096dce3071a7801b52760"},{"url":"https://git.kernel.org/stable/c/8cbc7f5da4e03cf527d61e0c96c866ebd0032c7a"},{"url":"https://git.kernel.org/stable/c/364e049a090fbea1cfdd4ac04ffe2d56e48ce01c"},{"url":"https://git.kernel.org/stable/c/b37485e08dcce6db7e78f5c90d99c512170e983f"},{"url":"https://git.kernel.org/stable/c/de788d8a7032475f900c16e9cc0c1417f4f719eb"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:31:34.594Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1","versionEndExcluding":"6.12.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}