WSL2-Linux-Kernel/net/bluetooth
Johan Hedberg 88d9077c27 Bluetooth: Fix potential NULL dereference
The bnep_get_device function may be triggered by an ioctl just after a
connection has gone down. In such a case the respective L2CAP chan->conn
pointer will get set to NULL (by l2cap_chan_del). This patch adds a
missing NULL check for this case in the bnep_get_device() function.

Reported-by: Patrik Flykt <patrik.flykt@linux.intel.com>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2015-02-03 09:02:12 +01:00
..
bnep Bluetooth: Fix potential NULL dereference 2015-02-03 09:02:12 +01:00
cmtp Bluetooth: Remove dead code 2015-01-14 11:16:17 +02:00
hidp
rfcomm Bluetooth: Fix nested sleeps 2015-01-23 20:29:42 +02:00
6lowpan.c Bluetooth: 6lowpan: Remove PSM setting code 2015-01-14 22:48:13 +01:00
Kconfig
Makefile
a2mp.c
a2mp.h
af_bluetooth.c
amp.c
amp.h
ecc.c
ecc.h
hci_conn.c Bluetooth: Remove unused function 2015-01-16 13:06:38 +02:00
hci_core.c Bluetooth: Add le_scan_restart work for LE scan restarting 2015-02-02 08:52:33 +01:00
hci_debugfs.c Bluetooth: Expose remote OOB information as debugfs entry 2015-02-01 09:15:21 +02:00
hci_debugfs.h
hci_event.c Bluetooth: Fix OOB data present for BR/EDR Secure Connections Only mode 2015-02-01 11:52:54 +02:00
hci_request.c Bluetooth: Add opcode parameter to hci_req_complete_t callback 2015-01-12 11:16:31 +02:00
hci_request.h
hci_sock.c Bluetooth: Replace send_monitor_event with queue_monitor_skb 2015-01-12 11:26:09 +02:00
hci_sysfs.c
l2cap_core.c Bluetooth: Fix lookup of fixed channels by local bdaddr 2015-01-15 16:54:14 +01:00
l2cap_sock.c Bluetooth: Fix nested sleeps 2015-01-23 20:29:42 +02:00
lib.c
mgmt.c Bluetooth: Remove mgmt_rp_read_local_oob_ext_data struct 2015-02-02 18:27:56 +01:00
sco.c Bluetooth: Fix nested sleeps 2015-01-23 20:29:42 +02:00
selftest.c Bluetooth: Use %llu for printing duration details of selftests 2015-01-14 10:02:45 +02:00
selftest.h
smp.c Bluetooth: Fix OOB data present value for SMP pairing 2015-01-31 21:26:14 +01:00
smp.h