{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139292",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.925Z",
        "datePublished": "2026-11-30T13:33:24.370Z",
        "dateUpdated": "2026-11-30T13:33:24.370Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:33:24.370Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Let bpf_dynptr_write() mark a global function\n\nThe caller of a global function loses its packet pointers if the function\nmay change packet data. That is found out by a scan for calls of the\nhelpers which bpf_helper_changes_pkt_data() lists.\n\nbpf_dynptr_write() is not on the list, because it depends on the type of\nthe dynptr: check_helper_call() looks at it. The scan cannot do that, and\nso a global function which makes a dynptr from the skb, or gets one as an\nargument, and writes through it counts as harmless. The write can\nreallocate the head of the skb, and the caller goes on with pointers into\nthe old one, which has been freed.\n\nLet every call of bpf_dynptr_write() mark the function, as a tail call\ndoes. The same mark decides whether a program may replace a function."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "kernel/bpf/cfg.c"
                    ],
                    "versions": [
                        {
                            "version": "1d572c60488b52882b719ed273767ee3b280413d",
                            "lessThan": "8310beed4f3a8eaa9df17bac8897866a925d37cd",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "51081a3f25c742da5a659d7fc6fd77ebfdd555be",
                            "lessThan": "30c3198b5751f53a867ee34e25beb1522e78f142",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "51081a3f25c742da5a659d7fc6fd77ebfdd555be",
                            "lessThan": "61726cccceda5b8e36ae912eb1d2109ea122b49c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "51081a3f25c742da5a659d7fc6fd77ebfdd555be",
                            "lessThan": "589998616e0f9190ba6f6644a19532c5b2ba66d0",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "79751e9227a5910c0e5a2c7186877d91821d957d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6.12.25",
                            "lessThan": "6.12.120",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.90",
                            "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": [
                        "kernel/bpf/cfg.c"
                    ],
                    "versions": [
                        {
                            "version": "6.13",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.13",
                            "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.6",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "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.12.25",
                                    "versionEndExcluding": "6.12.120"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.13",
                                    "versionEndExcluding": "6.18.66"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.13",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.13",
                                    "versionEndExcluding": "7.4-rc1"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.6.90"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/8310beed4f3a8eaa9df17bac8897866a925d37cd"
                },
                {
                    "url": "https://git.kernel.org/stable/c/30c3198b5751f53a867ee34e25beb1522e78f142"
                },
                {
                    "url": "https://git.kernel.org/stable/c/61726cccceda5b8e36ae912eb1d2109ea122b49c"
                },
                {
                    "url": "https://git.kernel.org/stable/c/589998616e0f9190ba6f6644a19532c5b2ba66d0"
                }
            ],
            "title": "bpf: Let bpf_dynptr_write() mark a global function",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}