{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-143136",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.353Z",
        "datePublished": "2026-12-03T09:19:43.907Z",
        "dateUpdated": "2026-12-04T03:29:31.408Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-04T03:29:31.408Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: gro: invalidate frag0 after a pull\n\nSince commit bd56a29c7a4e (\"net: gro: change skb_gro_network_header()\"),\nskb_gro_header_slow() no longer invalidates NAPI_GRO_CB(skb)->frag0\nafter pskb_may_pull(). skb_gro_may_pull() keeps comparing against the\nfrag0_len value set in skb_gro_reset_offset(), assuming that after a\nslow pull, all later accesses are beyond frag0_len.\n\nThis is not true:\n\n- udp4_gro_receive() and udp6_gro_receive() read the network header\n  with skb_gro_network_header() after udp_gro_udphdr() pulled the\n  UDP header.\n\n- vxlan_gro_receive() calls skb_gro_remcsum_cleanup() at a lower\n  offset after the inner handlers pulled their headers.\n\n- skb_gro_remcsum_process() can pull beyond the inner Ethernet header\n  before eth_gro_receive() reads it.\n\n- napi_frags_skb() calls __skb_pull(skb, ETH_HLEN) after a slow pull,\n  so frag0 still points to the Ethernet header.\n\nIf the pull consumed the first page fragment, __skb_pull_tail() released\nit. If the head had to grow, pskb_expand_head() freed the old one.\nThese reads, and the 2-byte write in skb_gro_remcsum_cleanup(), then\naccess memory the skb no longer holds a reference on.\n\nesp4_gro_receive(), esp6_gro_receive(), skb_gro_receive_list() and\nudp_gro_receive_segment() also pull directly and never invalidated\nfrag0.\n\nAdd skb_gro_frag0_invalidate(), which only clears frag0_len, and call\nit before each of these pulls. This is a single store in the slow path,\nand frag0 stays non NULL, so skb_gro_network_header() does not need\na NULL test.\n\nfrag0 must be invalidated even if the pull fails: __pskb_pull_tail()\ncan return NULL after pskb_expand_head() freed the old head, for\ninstance if a frag_list member has to be cloned or pulled.\n\nAs frag0 is now invalidated before a pull that can fail,\ngro_try_pull_from_frag0() can see an skb whose linear part does not\ncover skb_gro_offset() while frag0 still points to the start of the\npacket, for instance after skb_gro_remcsum_cleanup() pulled a shorter\nlength. Copying from frag0 would then corrupt the headers: only use\nfrag0 while frag0_len is not zero, and use pskb_may_pull() otherwise.\nIf this pull fails, for instance after a failed pskb_pull() in\nesp4_gro_receive(), do not hold the packet: later GRO lookups and\ngro_complete() handlers expect its headers in the linear part.\n\nThis was found by Taesoo Kim and Cen Zhang, using LLM assisted code\nanalysis, and confirmed with reproducers."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 8.1,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:N - Remote IPv4/IPv6 UDP enters napi_gro_receive() or napi_gro_frags(), then dev_gro_receive() and inet_gro_receive()/ipv6_gro_receive() into udp4_gro_receive()/udp6_gro_receive(). udp_gro_udphdr() reaches skb_gro_header_slow()'s pskb_may_pull() of the UDP header, after which skb_gro_network_header() uses NAPI_GRO_CB(skb)->frag0. The triggering bytes are that datagram on a routable IP path.\nAC:H - skb_gro_network_header() uses frag0 only if udp_gro_udphdr()'s pskb_may_pull() of skb_gro_offset plus the UDP header already released it while frag0_len still covers skb_gro_offset. __pskb_pull_tail() unrefs frags[0] only when that frag is fully consumed, and pskb_expand_head() frees the head only if tailroom is short or the skb is cloned. A linear or single-buffer RX frame does neither, and the sender cannot set that split.\nPR:N - The pull and the stale frag0 read run in NAPI softirq from dev_gro_receive() before udp4_gro_lookup_skb() or any socket credential check. No CAP_NET_ADMIN and no established session is required to deliver the datagram.\nUI:N - Exploitation is the attacker transmitting the datagram. napi_gro_receive() runs without a local mount, open, or other victim action.\nS:U - The freed skb head or page is host kernel memory on the receiving machine. The bug does not cross a KVM guest boundary or an IOMMU mapping.\nC:H - After the pull, inet_gro_compute_pseudo() reads iph->saddr and iph->daddr through skb_gro_network_header()'s frag0 pointer, and skb_gro_remcsum_cleanup() can read the same released page or head. That is a use-after-free of the packet buffer.\nI:H - skb_gro_remcsum_cleanup() writes two bytes via remcsum_unadjust() at grc->offset through frag0 after inner GRO pulls, and the released page or skb head can be reused for another object. This is a use-after-free write, not a NULL dereference.\nA:H - Dereferencing the page skb_frag_unref() dropped or the head skb_free_head() freed in the NAPI GRO path oopses or panics the kernel."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "include/net/gro.h",
                        "net/core/gro.c",
                        "net/ipv4/esp4_offload.c",
                        "net/ipv4/udp_offload.c",
                        "net/ipv6/esp6_offload.c"
                    ],
                    "versions": [
                        {
                            "version": "9fd1ff5d2ac7181844735806b0a703c942365291",
                            "lessThan": "cb5c7e185101448d0551890da3a3fde53bf3eb13",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9fd1ff5d2ac7181844735806b0a703c942365291",
                            "lessThan": "e5da3b8cec34860146bf7049b9475a70d77457a4",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9fd1ff5d2ac7181844735806b0a703c942365291",
                            "lessThan": "98d949a15ff9d3fffaa6983223178374aab92db6",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "include/net/gro.h",
                        "net/core/gro.c",
                        "net/ipv4/esp4_offload.c",
                        "net/ipv4/udp_offload.c",
                        "net/ipv6/esp6_offload.c"
                    ],
                    "versions": [
                        {
                            "version": "5.6",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.6",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.66",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.7",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc3",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.6",
                                    "versionEndExcluding": "6.18.66"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.6",
                                    "versionEndExcluding": "7.3.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.6",
                                    "versionEndExcluding": "7.4-rc3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/cb5c7e185101448d0551890da3a3fde53bf3eb13"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e5da3b8cec34860146bf7049b9475a70d77457a4"
                },
                {
                    "url": "https://git.kernel.org/stable/c/98d949a15ff9d3fffaa6983223178374aab92db6"
                }
            ],
            "title": "net: gro: invalidate frag0 after a pull",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}