In the Linux kernel, the following vulnerability has been resolved: bpf: Check validity of link->type in bpflinkshowfdinfo() If a newly-added link type doesn't invoke BPFLINKTYPE(), accessing bpflinktypestrs[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 bpflinkshow_fdinfo() and emitting a warning when such invocations are missed.