{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-143138",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.353Z",
        "datePublished": "2026-12-03T09:19:45.243Z",
        "dateUpdated": "2026-12-04T03:29:35.442Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-04T03:29:35.442Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: gro: avoid parsing headers from shared fragments\n\nWhen an skb has an empty linear head, skb_gro_reset_offset() can expose\nthe first page fragment directly to GRO header parsers. For an\nSKBFL_SHARED_FRAG skb, those bytes may still be writable through a file\nmapping. Headers validated during receive can therefore differ from the\nheaders later copied into the linear head and used during completion.\n\nFor example, changing an IPv6 destination-options length between the\nshort and full header fetches in ipv6_gro_pull_exthdrs() can make\nipv6_gro_complete() pass an out-of-bounds offset to udp6_gro_complete().\nA userspace reproducer triggered a KASAN slab-out-of-bounds read there\non an unmodified kernel as UID 1000. The same completion path can write\nthe UDP checksum and length through the invalid offset. The packet has\ntrusted TCP GSO metadata and spliced file data, so it reaches completion\nwithout an skb zerocopy destructor or a second GRO packet.\n\nDisable the direct-fragment fast path for skbs with externally writable\nfragments. With an empty linear head, frag0_len remains zero, so\nskb_gro_header_slow() pulls each required header into the linear head\nbefore it is inspected. Subsequent pulls preserve the validated prefix.\nThis covers both gro_receive_skb() and napi_gro_frags(), including other\nprotocols using the same helpers. Linear headers and private fragments\nretain their existing fast paths.\n\nCodex assisted with review of the supplied report, reproducer and draft\nfix, related-path analysis, and this changelog. The patched\nnet/core/gro.o builds with W=1 using the supplied x86-64 configuration,\nallyesconfig and allmodconfig. The fix was checked by code-path analysis;\nthe reproducer and kernel selftests have not been run on a booted\npatched kernel.\n\nThe issue was found by an LLM."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 7.8,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:L - Attacker-controlled bytes enter through splice() into tcp_sendmsg_locked(), which sets SKBFL_SHARED_FRAG on a file page the same process can still store to. skb_gro_reset_offset() in gro_receive_skb()/napi_frags_skb() parses that page only while it remains mapped in this kernel; a remote peer receives a copy and cannot change the dest-opt length between the two skb_gro_header() reads in ipv6_gro_pull_exthdrs().\nAC:L - The same local task splices the TCP skb and writes the mapped page. dev_gro_receive() does not flush a non-DODGY TCP GSO skb and copies gso_segs from __tcp_transmit_skb() into NAPI_GRO_CB->count, so gro_complete() runs ipv6_gro_complete() without a second packet; the store only has to land between the two fetches in ipv6_gro_pull_exthdrs(), which the attacker repeats.\nPR:L - The reported reproducer runs as UID 1000. splice() into a TCP socket needs no capability: tcp_sendmsg_locked() sets SKBFL_SHARED_FRAG for MSG_SPLICE_PAGES, and __tcp_transmit_skb() fills gso_type/gso_segs from the socket without a privileged ioctl.\nUI:N - The attacker splices and mutates their own file mapping. gro_receive_skb() runs on the skb they transmitted; no other user has to mount media, open a file, or accept a connection.\nS:U - udp6_gro_complete() corrupts slab memory in the same kernel that parsed the skb. That is local kernel privilege escalation, not a guest-to-host or IOMMU boundary crossing.\nC:H - ipv6_gro_complete() passes nhoff from ipv6_exthdrs_len(), which walks the attacker-controlled destination-options hdrlen with no skb->len check, into udp6_gro_complete(). The reproducer's KASAN hit is a slab-out-of-bounds read of uh->check at that offset.\nI:H - udp6_gro_complete() writes uh->check with ~udp_v6_check() and udp_gro_complete() writes the UDP length via udp_set_len() at skb->data+nhoff. The offset comes from the mutated dest-opt hdrlen, so the store is outside the skb head.\nA:H - The KASAN slab-out-of-bounds read in udp6_gro_complete() oopses a debug kernel, and the same unchecked nhoff used for the UDP checksum and length stores can fault or panic when it leaves the skb slab object."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/core/gro.c"
                    ],
                    "versions": [
                        {
                            "version": "dff0b0161ad571f888d37f5e7163a07dcafdef60",
                            "lessThan": "60684312f40bc9ccbd442b27694895cccf7312d6",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "dff0b0161ad571f888d37f5e7163a07dcafdef60",
                            "lessThan": "6e5f08e089b690f1420b57daf03c7508b47a5a8d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "dff0b0161ad571f888d37f5e7163a07dcafdef60",
                            "lessThan": "5e2e65e1fb673bb8106bfbf0c87d89598e16ab1d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "dff0b0161ad571f888d37f5e7163a07dcafdef60",
                            "lessThan": "44818c9a826d766dc0e21179dc76f229334f1dda",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7f7b0ebb37afc5070d122318e3651d7cb8c4f01c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6.6.31",
                            "lessThan": "6.7",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/core/gro.c"
                    ],
                    "versions": [
                        {
                            "version": "6.8",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.8",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.120",
                            "lessThanOrEqual": "6.12.*",
                            "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": "6.8",
                                    "versionEndExcluding": "6.12.120"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.8",
                                    "versionEndExcluding": "6.18.66"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.8",
                                    "versionEndExcluding": "7.3.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.8",
                                    "versionEndExcluding": "7.4-rc3"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.6.31"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/60684312f40bc9ccbd442b27694895cccf7312d6"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6e5f08e089b690f1420b57daf03c7508b47a5a8d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/5e2e65e1fb673bb8106bfbf0c87d89598e16ab1d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/44818c9a826d766dc0e21179dc76f229334f1dda"
                }
            ],
            "title": "net: gro: avoid parsing headers from shared fragments",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}