{"id":"CVE-2026-100017","aliases":["CVE-2026-100017"],"related":[],"kind":"vulnerability","state":"published","title":"net: gro: don't chain linear parts larger than gso_size into frag_list","summary":"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) > 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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) > 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.","source":"cvelist"}],"published":"2026-11-30T13:23:06.919Z","modified":"2026-11-30T14:17:16.740Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"5eddb24901ee49eee23c0bfce6af2e83fd5679bd","fixed":"2cbbd34e0e56d294f6195915501436bf3ab9ea84","status":"affected"},{"type":"git","introduced":"5eddb24901ee49eee23c0bfce6af2e83fd5679bd","fixed":"3d449cd11ddee7bfc0bfa72374bf02d00987530a","status":"affected"},{"type":"git","introduced":"5eddb24901ee49eee23c0bfce6af2e83fd5679bd","fixed":"4463a1e19c7f12fde46e5570ed4c016701001565","status":"affected"},{"type":"git","introduced":"5eddb24901ee49eee23c0bfce6af2e83fd5679bd","fixed":"d43792f4263a309705d495bec65496b802cb40e7","status":"affected"},{"type":"git","introduced":"5eddb24901ee49eee23c0bfce6af2e83fd5679bd","fixed":"15257bdfbdc25cad12674aa3f56cf19e963ecf11","status":"affected"},{"type":"git","introduced":"5eddb24901ee49eee23c0bfce6af2e83fd5679bd","fixed":"679f6929a66db9f5a6611dad37545fbd705962d5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.1","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/2cbbd34e0e56d294f6195915501436bf3ab9ea84","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3d449cd11ddee7bfc0bfa72374bf02d00987530a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4463a1e19c7f12fde46e5570ed4c016701001565","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d43792f4263a309705d495bec65496b802cb40e7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/15257bdfbdc25cad12674aa3f56cf19e963ecf11","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/679f6929a66db9f5a6611dad37545fbd705962d5","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-100017","url":"https://www.cve.org/CVERecord?id=CVE-2026-100017","licence":"CVE Terms of Use","modified":"2026-11-30T13:23:06.919Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-100017","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100017","licence":"Public domain","modified":"2026-11-30T14:17:16.740Z"}],"updatedAt":"2026-11-30T14:32:19.011Z","epss":{"score":0.00181,"percentile":0.08009,"date":"2026-12-01T12:00:22.000Z"}}