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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
70ed506c3bbcfa846d4636b23051ca79fa4781f7 to < 79f87a6ec39fb5968049a6775a528bf58b25c20aaffected70ed506c3bbcfa846d4636b23051ca79fa4781f7 to < 24fec234d2ba9ca3c14e545ebe3fd6dcb47f074daffected70ed506c3bbcfa846d4636b23051ca79fa4781f7 to < 4e8074bb33d18f56af30a0252cb3606d27eb1c13affected70ed506c3bbcfa846d4636b23051ca79fa4781f7 to < d5092b0a1aaf35d77ebd8d33384d7930bec5cb5daffected70ed506c3bbcfa846d4636b23051ca79fa4781f7 to < b3eb1b6a9f745d6941b345f0fae014dc8bb06d36affected70ed506c3bbcfa846d4636b23051ca79fa4781f7 to < 8421d4c8762bd022cb491f2f0f7019ef51b4f0a7affected
Linux Linux
Default version status: affected
5.7affected0 to < 5.7unaffected5.10.233 to ≤ 5.10.*unaffected5.15.176 to ≤ 5.15.*unaffected6.1.123 to ≤ 6.1.*unaffected6.6.62 to ≤ 6.6.*unaffected6.11.9 to ≤ 6.11.*unaffected6.12 to ≤ *unaffected
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 ↗
- https://git.kernel.org/stable/c/b3eb1b6a9f745d6941b345f0fae014dc8bb06d36 ↗
- https://git.kernel.org/stable/c/8421d4c8762bd022cb491f2f0f7019ef51b4f0a7 ↗
- https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html ↗
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html ↗