# CVE-2024-53099: bpf: Check validity of link->type in bpf_link_show_fdinfo()

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-11-25T21:21:27.691Z
- Modified: 2026-08-05T11:43:41.204Z
- Weaknesses: CWE-125
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

bpf: Check validity of link->type in bpf_link_show_fdinfo()

If a newly-added link type doesn't invoke BPF_LINK_TYPE(), accessing
bpf_link_type_strs[link->type] may result in an out-of-bounds access.

To spot such missed invocations early in the future, checking the
validity of link->type in bpf_link_show_fdinfo() and emitting a warning
when such invocations are missed.

(As written by CVE List.)

## Affected

- Linux Linux: from 70ed506c3bbcfa846d4636b23051ca79fa4781f7 before 79f87a6ec39fb5968049a6775a528bf58b25c20a; from 70ed506c3bbcfa846d4636b23051ca79fa4781f7 before 24fec234d2ba9ca3c14e545ebe3fd6dcb47f074d; from 70ed506c3bbcfa846d4636b23051ca79fa4781f7 before 4e8074bb33d18f56af30a0252cb3606d27eb1c13; from 70ed506c3bbcfa846d4636b23051ca79fa4781f7 before d5092b0a1aaf35d77ebd8d33384d7930bec5cb5d; from 70ed506c3bbcfa846d4636b23051ca79fa4781f7 before b3eb1b6a9f745d6941b345f0fae014dc8bb06d36; from 70ed506c3bbcfa846d4636b23051ca79fa4781f7 before 8421d4c8762bd022cb491f2f0f7019ef51b4f0a7; 5.7 (not affected: before 5.7; from 5.10.233 up to 5.10.*; from 5.15.176 up to 5.15.*; from 6.1.123 up to 6.1.*; from 6.6.62 up to 6.6.*; from 6.11.9 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: before 6.6.62; from 6.7 before 6.11.9; 6.12

## Every score

- Linux: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/79f87a6ec39fb5968049a6775a528bf58b25c20a>
- <https://git.kernel.org/stable/c/24fec234d2ba9ca3c14e545ebe3fd6dcb47f074d>
- <https://git.kernel.org/stable/c/4e8074bb33d18f56af30a0252cb3606d27eb1c13>
- <https://git.kernel.org/stable/c/d5092b0a1aaf35d77ebd8d33384d7930bec5cb5d> (patch)
- <https://git.kernel.org/stable/c/b3eb1b6a9f745d6941b345f0fae014dc8bb06d36> (patch)
- <https://git.kernel.org/stable/c/8421d4c8762bd022cb491f2f0f7019ef51b4f0a7> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>

## Sources

- CVE List: [CVE-2024-53099](https://www.cve.org/CVERecord?id=CVE-2024-53099), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-53099](https://nvd.nist.gov/vuln/detail/CVE-2024-53099), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-53099 · Whole record: https://cve.day/CVE-2024-53099.json · Rebuilt by cve.day 2026-11-25T22:58:49.431Z
