{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2024-53099",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2024-11-19T17:17:24.983Z",
        "datePublished": "2024-11-25T21:21:27.691Z",
        "dateUpdated": "2026-08-05T11:43:41.204Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T11:43:41.204Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Check validity of link->type in bpf_link_show_fdinfo()\n\nIf a newly-added link type doesn't invoke BPF_LINK_TYPE(), accessing\nbpf_link_type_strs[link->type] may result in an out-of-bounds access.\n\nTo spot such missed invocations early in the future, checking the\nvalidity of link->type in bpf_link_show_fdinfo() and emitting a warning\nwhen such invocations are missed."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H",
                        "baseScore": 7.1,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:L - Triggering requires the local `bpf()` syscall to create a link and a local `read()` of `/proc/<pid>/fdinfo/<fd>`; there is no remote or adjacent-network path into `bpf_link_show_fdinfo()`. Per kernel guidance, BPF subsystem bugs are Local.\nAC:L - The out-of-bounds slot and its contents are fixed for a given kernel build, so the attacker simply creates the link and reads its fdinfo — no race to win, no memory grooming, and no condition outside attacker control. Success is deterministic and repeatable.\nPR:L - A local unprivileged account suffices: link creation needs only CAP_BPF/CAP_NET_ADMIN, which are commonly delegated to non-root containers and services and are unnecessary altogether on the many embedded/Android/distro configs with `unprivileged_bpf_disabled=0`. Reading a bpffs-pinned or inherited link fd's fdinfo requires no capability at all beyond owning the task.\nUI:N - The attacker performs both steps — creating the bpf_link and reading its fdinfo — entirely within its own process. No victim action or privileged helper is involved.\nS:U - The out-of-bounds read and the resulting disclosure or fault are confined to the kernel of the running system, the same security authority that manages the attacking process. No VM, IOMMU, or sandbox boundary is crossed.\nC:H - The OOB-loaded `const char *` is dereferenced by `seq_printf(\"%s\")` and copied verbatim into the fdinfo output read by userspace, leaking an unbounded NUL-terminated run of kernel `.rodata`/`.data` from an address the kernel never validated. The leak is not bounded to a few bytes and can disclose kernel pointers usable for KASLR defeat.\nI:N - The defect is strictly a read: the out-of-bounds pointer is loaded and dereferenced but never written back, and the only write is into the length-checked seq_file buffer. No memory corruption, write primitive, or control-flow hijack arises from it.\nA:H - When the out-of-bounds slot does not hold a valid kernel address, `vsnprintf` dereferences it and faults inside the procfs read path, producing a kernel oops. The added `WARN_ONCE` also panics the machine under `panic_on_warn`, which is standard on hardened and automotive deployments."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "kernel/bpf/syscall.c"
                    ],
                    "versions": [
                        {
                            "version": "70ed506c3bbcfa846d4636b23051ca79fa4781f7",
                            "lessThan": "79f87a6ec39fb5968049a6775a528bf58b25c20a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "70ed506c3bbcfa846d4636b23051ca79fa4781f7",
                            "lessThan": "24fec234d2ba9ca3c14e545ebe3fd6dcb47f074d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "70ed506c3bbcfa846d4636b23051ca79fa4781f7",
                            "lessThan": "4e8074bb33d18f56af30a0252cb3606d27eb1c13",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "70ed506c3bbcfa846d4636b23051ca79fa4781f7",
                            "lessThan": "d5092b0a1aaf35d77ebd8d33384d7930bec5cb5d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "70ed506c3bbcfa846d4636b23051ca79fa4781f7",
                            "lessThan": "b3eb1b6a9f745d6941b345f0fae014dc8bb06d36",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "70ed506c3bbcfa846d4636b23051ca79fa4781f7",
                            "lessThan": "8421d4c8762bd022cb491f2f0f7019ef51b4f0a7",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "kernel/bpf/syscall.c"
                    ],
                    "versions": [
                        {
                            "version": "5.7",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.7",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.233",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.176",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.123",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.62",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.11.9",
                            "lessThanOrEqual": "6.11.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12",
                            "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": "5.7",
                                    "versionEndExcluding": "5.10.233"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.7",
                                    "versionEndExcluding": "5.15.176"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.7",
                                    "versionEndExcluding": "6.1.123"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.7",
                                    "versionEndExcluding": "6.6.62"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.7",
                                    "versionEndExcluding": "6.11.9"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.7",
                                    "versionEndExcluding": "6.12"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/79f87a6ec39fb5968049a6775a528bf58b25c20a"
                },
                {
                    "url": "https://git.kernel.org/stable/c/24fec234d2ba9ca3c14e545ebe3fd6dcb47f074d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/4e8074bb33d18f56af30a0252cb3606d27eb1c13"
                },
                {
                    "url": "https://git.kernel.org/stable/c/d5092b0a1aaf35d77ebd8d33384d7930bec5cb5d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/b3eb1b6a9f745d6941b345f0fae014dc8bb06d36"
                },
                {
                    "url": "https://git.kernel.org/stable/c/8421d4c8762bd022cb491f2f0f7019ef51b4f0a7"
                }
            ],
            "title": "bpf: Check validity of link->type in bpf_link_show_fdinfo()",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        },
        "adp": [
            {
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html"
                    },
                    {
                        "url": "https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html"
                    }
                ],
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2025-11-03T20:45:50.627Z"
                }
            }
        ]
    }
}