7.1high
bpf: Check validity of link->type in bpf_link_show_fdinfo()
- Severity
- 7.1high CVSS:3.1 by Linux
- Exploit likelihood
- 0.23% (higher than 15% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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.* | CVE List |
| linux linux_kernel | before 6.6.62, from 6.7 before 6.11.9, 6.12 | NVD |
All scores
| Linux | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| NVD | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
Classification
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: bpf: comprobar la validez de link->type en bpf_link_show_fdinfo() Si un tipo de enlace recién añadido no invoca BPF_LINK_TYPE(), acceder a bpf_link_type_strs[link->type] puede dar como resultado un acceso fuera de los límites. Para detectar dichas invocaciones fallidas de forma temprana en el futuro, se debe comprobar la validez de link->type en bpf_link_show_fdinfo() y emitir una advertencia cuando se omiten dichas invocaciones.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-53099 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2024-53099 changed 2026-08-04 | Public domain |