{"id":"CVE-2026-100017","summary":"net: gro: don't chain linear parts larger than gso_size into frag_list","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: gro: don't chain linear parts larger than gso_size into frag_list\n\nskb_gro_receive() chains an skb into the frag_list of the held packet\nwhen its payload cannot be attached as page frags: when its head is\nnot a page fragment and still holds payload, or when its head and\nfrags would overflow the frags[] array of the last packet. Since commit\n5eddb24901ee (\"gro: add support of (hw)gro packets to gro stack\"), that\nskb may itself be a GSO packet whose linear part holds several\ngso_size segments. skb_segment() cannot split the linear part of a\nfrag_list member across segments, so segmenting the aggregate in\nsoftware, e.g. when forwarding it to a device without NETIF_F_FRAGLIST,\nhits\n\n  BUG_ON(skb_headlen(list_skb) \u003e len);\n\nFully linear GSO packets come from generic XDP. When the program does\nnot support frags, netif_skb_check_for_xdp() linearizes any nonlinear\nskb with pskb_expand_head() and skb_linearize() and keeps its GSO\nmetadata. GRO on the device runs before generic XDP, so each aggregate\npassed by the program carries all of its payload in a kmalloc'ed head.\nA tunnel that decapsulates these packets and runs GRO again through\ngro_cells then builds the bad frag_list. This was first seen on a\nrouter that forwards TCP received over VXLAN, with a non-frags XDP\nprogram attached in SKB mode to the underlying bond because one slave\nlacks native XDP:\n\n  kernel BUG at net/core/skbuff.c:4917!\n  RIP: 0010:skb_segment+0xbb6/0xf40\n  Call Trace:\n   tcp_gso_segment\n   ipv6_gso_segment\n   skb_mac_gso_segment\n   __skb_gso_segment\n   validate_xmit_skb\n   __dev_queue_xmit\n   ip6_output\n   ip6_sublist_rcv_finish\n   ipv6_list_rcv\n   netif_receive_skb_list_internal\n   gro_complete\n   dev_gro_receive\n   gro_receive_skb\n   gro_cell_poll\n   __napi_poll\n   net_rx_action\n\nIt reproduces with three network namespaces: TCP sent over VXLAN on an\nIPv6 veth link to a router namespace that has an XDP_PASS program\nwithout frags support attached to the underlay veth in generic mode\nand GRO enabled on its VXLAN device, and forwards to a veth with\ntx-scatter-gather-fraglist disabled.\n\nA program with frags support in generic mode gives similar packets.\nskb_pp_cow_data() rebuilds the skb with up to about a page of linear\ndata in a page_pool head_frag and keeps the GSO metadata, so once\nfrags[] is full the next such packet is chained through frag_list\nwith more than gso_size bytes in its head as well.\n\nRefuse the merge when the linear part to be chained exceeds the held\npacket's gso_size. tcp_gro_receive() then flushes the held packet and\nthe skb starts a new GRO packet as its head, whose linear length\nskb_segment() handles.","modified":"2026-11-30T15:00:08.207088377Z","published":"2026-11-30T13:23:06.919Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-100017.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/15257bdfbdc25cad12674aa3f56cf19e963ecf11"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2cbbd34e0e56d294f6195915501436bf3ab9ea84"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3d449cd11ddee7bfc0bfa72374bf02d00987530a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4463a1e19c7f12fde46e5570ed4c016701001565"},{"type":"WEB","url":"https://git.kernel.org/stable/c/679f6929a66db9f5a6611dad37545fbd705962d5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d43792f4263a309705d495bec65496b802cb40e7"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-100017.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100017"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"5eddb24901ee49eee23c0bfce6af2e83fd5679bd"},{"fixed":"2cbbd34e0e56d294f6195915501436bf3ab9ea84"},{"fixed":"3d449cd11ddee7bfc0bfa72374bf02d00987530a"},{"fixed":"4463a1e19c7f12fde46e5570ed4c016701001565"},{"fixed":"d43792f4263a309705d495bec65496b802cb40e7"},{"fixed":"15257bdfbdc25cad12674aa3f56cf19e963ecf11"},{"fixed":"679f6929a66db9f5a6611dad37545fbd705962d5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-100017.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.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-100017.json"}}],"schema_version":"1.9.2"}