linux/drivers/connector
Anjali Kulkarni 9644bc4970 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: 2aa1f7a1f4 ("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>
2023-10-24 10:53:45 +02:00
..
cn_proc.c Fix NULL pointer dereference in cn_filter() 2023-10-24 10:53:45 +02:00
cn_queue.c net/connector: Add const qualifier to cb_id 2020-12-16 11:06:49 -08:00
connector.c connector/cn_proc: Allow non-root users access 2023-07-23 11:34:22 +01:00
Kconfig
Makefile