diff options
author | Ciara Loftus <ciara.loftus@intel.com> | 2021-04-08 08:20:09 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2021-04-09 00:36:46 +0300 |
commit | afd0be7299533bb2e2b09104399d8a467ecbd2c5 (patch) | |
tree | c6daed3ba58f8fff559c91d57623889d1aac7b71 /kernel/bpf | |
parent | 1ffbc7ea91606e4abd10eb60de5367f1c86daf5e (diff) | |
download | linux-afd0be7299533bb2e2b09104399d8a467ecbd2c5.tar.xz |
libbpf: Fix potential NULL pointer dereference
Wait until after the UMEM is checked for null to dereference it.
Fixes: 43f1bc1efff1 ("libbpf: Restore umem state after socket create failure")
Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20210408052009.7844-1-ciara.loftus@intel.com
Diffstat (limited to 'kernel/bpf')
0 files changed, 0 insertions, 0 deletions