Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bpf: Add missing BPF_LINK_TYPE invocations
Pengfei Xu reported [1] Syzkaller/KASAN issue found in bpf_link_show_fdinfo. The reason is missing BPF_LINK_TYPE invocation for uprobe multi link and for several other links, adding that. [1] https://lore.kernel.org/bpf/ZXptoKRSLspnk2ie@xpf.sh.intel.com/ Fixes: 89ae89f ("bpf: Add multi uprobe link") Fixes: e420bed ("bpf: Add fd-based tcx multi-prog infra with link support") Fixes: 84601d6 ("bpf: add bpf_link support for BPF_NETFILTER programs") Fixes: 35dfaad ("netkit, bpf: Add bpf programmable net device") Reported-by: Pengfei Xu <pengfei.xu@intel.com> Signed-off-by: Jiri Olsa <jolsa@kernel.org>
- Loading branch information