diff options
author | Peilin Ye <[email protected]> | 2020-07-14 14:09:04 -0400 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2020-07-15 22:53:39 +0200 |
commit | 5b801dfb7feb2738975d80223efc2fc193e55573 (patch) | |
tree | b48c46430339fca6903d01995a8c6b5a57a9cf59 /lib/mpi/mpi-add.c | |
parent | 55b244221c3f17eb2ed51c8e39e4a01c523e4eee (diff) |
bpf: Fix NULL pointer dereference in __btf_resolve_helper_id()
Prevent __btf_resolve_helper_id() from dereferencing `btf_vmlinux`
as NULL. This patch fixes the following syzbot bug:
https://syzkaller.appspot.com/bug?id=f823224ada908fa5c207902a5a62065e53ca0fcc
Reported-by: [email protected]
Signed-off-by: Peilin Ye <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions