{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-143351",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.368Z",
        "datePublished": "2026-12-03T09:22:08.370Z",
        "dateUpdated": "2026-12-03T09:22:08.370Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-03T09:22:08.370Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Check the offset in bpf_skb_generic_{push,pop}()\n\nTo make room for len bytes at offset off, bpf_skb_generic_push() moves the\nfirst off bytes and clears len bytes after them. It assumes that the first\noff bytes are in the linear part. But in bpf_skb_adjust_room() off can be\nthe end of the IP header, and this header can be in a frag. Then the\nfunction reads and writes after skb->tail, and can damage skb_shared_info.\n\nbpf_skb_generic_pop() checks off + len, but this u32 sum can wrap to a\nsmall value. bpf_skb_adjust_room() and bpf_skb_change_proto() calculate off\nfrom skb_mac_header_len(). This length is a very large u32 when\nnetwork_header < mac_header. Then the check can pass, and memmove() reads\nand writes far outside the skb.\n\nReturn -ENOMEM from both functions, like the present check, when\noff > skb->len. Thus the sum cannot wrap. In bpf_skb_generic_push() also\npull the first off bytes into the linear part. Now bpf_skb_adjust_room()\nfails when a prog grows an skb that ends before off. network_header stays\nwrong."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/core/filter.c"
                    ],
                    "versions": [
                        {
                            "version": "6578171a7ff0c31dc73258f93da7407510abf085",
                            "lessThan": "71b7211ea168c19fdc8871a886cf6b738a6c9764",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6578171a7ff0c31dc73258f93da7407510abf085",
                            "lessThan": "b6e295b06d6ebe0d5459661b55627fdb9c238fd4",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6578171a7ff0c31dc73258f93da7407510abf085",
                            "lessThan": "280c120c9dac35f7a22589303cc90b8a00e6fde8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6578171a7ff0c31dc73258f93da7407510abf085",
                            "lessThan": "ee36c9aa44ef300cd651074bd97552b229337f85",
                            "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/core/filter.c"
                    ],
                    "versions": [
                        {
                            "version": "4.8",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.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-rc2",
                            "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": "4.8",
                                    "versionEndExcluding": "6.12.120"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.8",
                                    "versionEndExcluding": "6.18.66"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.8",
                                    "versionEndExcluding": "7.3.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.8",
                                    "versionEndExcluding": "7.4-rc2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/71b7211ea168c19fdc8871a886cf6b738a6c9764"
                },
                {
                    "url": "https://git.kernel.org/stable/c/b6e295b06d6ebe0d5459661b55627fdb9c238fd4"
                },
                {
                    "url": "https://git.kernel.org/stable/c/280c120c9dac35f7a22589303cc90b8a00e6fde8"
                },
                {
                    "url": "https://git.kernel.org/stable/c/ee36c9aa44ef300cd651074bd97552b229337f85"
                }
            ],
            "title": "bpf: Check the offset in bpf_skb_generic_{push,pop}()",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}