diff options
author | Ciara Loftus <ciara.loftus@intel.com> | 2021-04-08 05:20:09 +0000 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2021-04-08 23:36:46 +0200 |
commit | afd0be7299533bb2e2b09104399d8a467ecbd2c5 (patch) | |
tree | c6daed3ba58f8fff559c91d57623889d1aac7b71 /kernel | |
parent | 1ffbc7ea91606e4abd10eb60de5367f1c86daf5e (diff) |
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')
0 files changed, 0 insertions, 0 deletions