{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-143147",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.354Z",
        "datePublished": "2026-12-03T09:19:51.302Z",
        "dateUpdated": "2026-12-04T03:29:41.986Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-04T03:29:41.986Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nipv4: keep XFRM headers out of corked skb lengths\n\n__ip_append_data() allocates space for dst.header_len in the first skb,\nbut includes that space in skb->len until __ip_make_skb() pulls it.\nFragment accounting uses an MTU that already excludes the XFRM headers.\nAs a result, the next skb can have a fraggap larger than its capped\ndatalen, and skb_copy_and_csum_bits() can overwrite its shared info.\n\nFor example, five AH tunnel states can reserve 500 bytes while leaving\nan effective MTU of 348. With 40 bytes of IPv4 options, the second skb\nhas room for 288 bytes of fragment data but receives a 500-byte gap\ncopy. The overwritten shared info is subsequently consumed by the skb\nrelease paths.\n\nReserve the XFRM headers together with the link-layer headroom instead.\nThis keeps skb->len, the gap-copy offsets and the trim lengths relative\nto the IPv4 packet throughout corking. The network and transport header\naddresses and the headroom available to XFRM at output are unchanged.\nBoth paged and linear allocations, including subsequent corked appends,\nuse the corrected accounting."
                }
            ],
            "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 - __ip_append_data() is reached from udp_sendmsg() through ip_make_skb() and ip_append_data(). The fraggap is the XFRM dst.header_len that xfrm_bundle_create() stored on the sender's route, and the bytes skb_copy_and_csum_bits() copies are the local UDP payload.\nAC:L - The sender sets the route MTU, the bundle header_len (xfrm_bundle_create() sums each state's props.header_len, at most XFRM_MAX_DEPTH), IP options, and a datagram longer than one fragment. The second skb then copies that fraggap on every such send.\nPR:L - xfrm_user_rcv_msg() allows the SA and policy only after netlink_net_capable(CAP_NET_ADMIN) in the netns user namespace, which an unprivileged user holds after creating a user and network namespace. udp_sendmsg() and IP_OPTIONS need no further capability.\nUI:N - The same process installs the XFRM states, sets IP_OPTIONS if wanted, and calls sendmsg() on its own UDP socket. No other user has to mount media or accept a connection.\nS:U - skb_release_data() consumes the overwritten skb_shared_info in the sending host's kernel. That is local privilege escalation across the user/kernel boundary, not a guest-to-host or IOMMU crossing.\nC:H - skb_copy_and_csum_bits() writes the gap over the second skb's skb_shared_info, including nr_frags and frags[]. skb_release_data() passes those netmem values to __skb_frag_unref(), which can be turned into a kernel read.\nI:H - With five AH tunnels (dst.header_len 500) and a 288-byte capped second fragment, the bytes past the tail are the UDP payload. They replace frag netmems and frag_list, which skb_release_data() and __skb_frag_unref() then use.\nA:H - skb_release_data() walks the corrupted nr_frags and frag_list when the skb is freed, including from __ip_flush_pending_frames(), so the send 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": [
                        "net/ipv4/ip_output.c"
                    ],
                    "versions": [
                        {
                            "version": "353e5c9abd900de3d1a40925386ffe4abf76111e",
                            "lessThan": "ca0c8be0da23a51bbd857cb917def4f73113a715",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "353e5c9abd900de3d1a40925386ffe4abf76111e",
                            "lessThan": "7525c4171570e7114723bbb22906b996f4a4eef7",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "353e5c9abd900de3d1a40925386ffe4abf76111e",
                            "lessThan": "e56242c11080c2ba1f233b14c36ab3d76d6fff72",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "353e5c9abd900de3d1a40925386ffe4abf76111e",
                            "lessThan": "9b9e9bf016ca6dd7552e5ed3169fedf40fcbe1a0",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "353e5c9abd900de3d1a40925386ffe4abf76111e",
                            "lessThan": "abe22654487724fe96bfaeacc502884d981adb06",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "353e5c9abd900de3d1a40925386ffe4abf76111e",
                            "lessThan": "0f47fce51a98d3d9f439c16861d519a7b833a176",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/ipv4/ip_output.c"
                    ],
                    "versions": [
                        {
                            "version": "3.0",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "3.0",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.276",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.227",
                            "lessThanOrEqual": "5.15.*",
                            "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": "3.0",
                                    "versionEndExcluding": "5.10.276"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.0",
                                    "versionEndExcluding": "5.15.227"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.0",
                                    "versionEndExcluding": "6.12.120"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.0",
                                    "versionEndExcluding": "6.18.66"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.0",
                                    "versionEndExcluding": "7.3.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.0",
                                    "versionEndExcluding": "7.4-rc3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/ca0c8be0da23a51bbd857cb917def4f73113a715"
                },
                {
                    "url": "https://git.kernel.org/stable/c/7525c4171570e7114723bbb22906b996f4a4eef7"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e56242c11080c2ba1f233b14c36ab3d76d6fff72"
                },
                {
                    "url": "https://git.kernel.org/stable/c/9b9e9bf016ca6dd7552e5ed3169fedf40fcbe1a0"
                },
                {
                    "url": "https://git.kernel.org/stable/c/abe22654487724fe96bfaeacc502884d981adb06"
                },
                {
                    "url": "https://git.kernel.org/stable/c/0f47fce51a98d3d9f439c16861d519a7b833a176"
                }
            ],
            "title": "ipv4: keep XFRM headers out of corked skb lengths",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}