diff options
author | Anjali Kulkarni <anjali.k.kulkarni@oracle.com> | 2023-10-21 02:40:58 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-10-24 11:53:45 +0300 |
commit | 9644bc49705723bf7c69aa9bf542bb5161b91dba (patch) | |
tree | 1ecf816f481ab9266bfb4e3c065d5601c97932b5 /net | |
parent | d788c9338342a3146d115281922901c1e3e1cbff (diff) | |
download | linux-9644bc49705723bf7c69aa9bf542bb5161b91dba.tar.xz |
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 <oliver.sang@intel.com>
Closes: https://lore.kernel.org/oe-lkp/202309201456.84c19e27-oliver.sang@intel.com/
Signed-off-by: Anjali Kulkarni <anjali.k.kulkarni@oracle.com>
Link: https://lore.kernel.org/r/20231020234058.2232347-1-anjali.k.kulkarni@oracle.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions