{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139780",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.952Z",
        "datePublished": "2026-11-30T13:37:56.195Z",
        "dateUpdated": "2026-11-30T13:37:56.195Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:37:56.195Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Reject oversized stream read buffers\n\nBPF_PROG_STREAM_READ_BY_FD exposes stream_buf_len as a u32, but the\ninternal stream reader accepts an int. Values above INT_MAX therefore\nbecome negative before bpf_stream_read(), producing negative consumption\nlengths. The generic usercopy size check prevents the oversized copy, but\nemits a warning and reports EFAULT for an unchecked argument.\n\nChange bpf_prog_stream_read() to accept u32 and reject values that the\nsigned reader cannot represent."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "include/linux/bpf.h",
                        "kernel/bpf/stream.c"
                    ],
                    "versions": [
                        {
                            "version": "5ab154f1463a111e1dc8fd5d31eaa7a2a71fe2e6",
                            "lessThan": "7880e414421f6317533c14e0ec686f16e71a6888",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5ab154f1463a111e1dc8fd5d31eaa7a2a71fe2e6",
                            "lessThan": "589278b9f5b5a9d16357f9dc703d5911165e43a9",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5ab154f1463a111e1dc8fd5d31eaa7a2a71fe2e6",
                            "lessThan": "ea0b60fae724aa1147d4a07eda5131d3a9a9977e",
                            "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/linux/bpf.h",
                        "kernel/bpf/stream.c"
                    ],
                    "versions": [
                        {
                            "version": "6.17",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.17",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.65",
                            "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.17",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.17",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.17",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/7880e414421f6317533c14e0ec686f16e71a6888"
                },
                {
                    "url": "https://git.kernel.org/stable/c/589278b9f5b5a9d16357f9dc703d5911165e43a9"
                },
                {
                    "url": "https://git.kernel.org/stable/c/ea0b60fae724aa1147d4a07eda5131d3a9a9977e"
                }
            ],
            "title": "bpf: Reject oversized stream read buffers",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}