diff options
| author | Anjali Kulkarni <[email protected]> | 2023-10-20 23:40:58 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2023-10-24 08:53:45 +0000 |
| commit | 9644bc49705723bf7c69aa9bf542bb5161b91dba (patch) | |
| tree | 1ecf816f481ab9266bfb4e3c065d5601c97932b5 /tools/testing/selftests/bpf/progs/getpeername_unix_prog.c | |
| parent | sfc: cleanup and reduce netlink error messages (diff) | |
| download | kernel-9644bc49705723bf7c69aa9bf542bb5161b91dba.tar.gz kernel-9644bc49705723bf7c69aa9bf542bb5161b91dba.zip | |
Fix NULL pointer dereference in cn_filter()
Check that sk_user_data is not NULL, else return from cn_filter().
Could not reproduce this issue, but Oliver Sang verified it has fixed
the "Closes" problem below.
Fixes: 2aa1f7a1f47c ("connector/cn_proc: Add filtering to fix some bugs")
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-lkp/[email protected]/
Signed-off-by: Anjali Kulkarni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/getpeername_unix_prog.c')
0 files changed, 0 insertions, 0 deletions
