Gopal Tiwari
0f47da6187
Bluetooth: Fix null pointer dereference in amp_read_loc_assoc_final_data
[ Upstream commit e8bd76ede155fd54d8c41d045dda43cd3174d506 ]
kernel panic trace looks like:
#5 [ffffb9e08698fc80] do_page_fault at ffffffffb666e0d7
#6 [ffffb9e08698fcb0] page_fault at ffffffffb70010fe
[exception RIP: amp_read_loc_assoc_final_data+63]
RIP: ffffffffc06ab54f RSP: ffffb9e08698fd68 RFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff8c8845a5a000 RCX: 0000000000000004
RDX: 0000000000000000 RSI: ffff8c8b9153d000 RDI: ffff8c8845a5a000
RBP: ffffb9e08698fe40 R8: 00000000000330e0 R9: ffffffffc0675c94
R10: ffffb9e08698fe58 R11: 0000000000000001 R12: ffff8c8b9cbf6200
R13: 0000000000000000 R14: 0000000000000000 R15: ffff8c8b2026da0b
ORIG_RAX: ffffffffffffffff CS: 0010 SS: 0018
#7 [ffffb9e08698fda8] hci_event_packet at ffffffffc0676904 [bluetooth]
#8 [ffffb9e08698fe50] hci_rx_work at ffffffffc06629ac [bluetooth]
#9 [ffffb9e08698fe98] process_one_work at ffffffffb66f95e7
hcon->amp_mgr seems NULL triggered kernel panic in following line inside
function amp_read_loc_assoc_final_data
set_bit(READ_LOC_AMP_ASSOC_FINAL, &mgr->state);
Fixed by checking NULL for mgr.
Signed-off-by: Gopal Tiwari <gtiwari@redhat.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
|
2021-03-07 11:25:57 +01:00 |
| .. |
|
bnep
|
Bluetooth: bnep: fix possible might sleep error in bnep_session
|
2017-08-30 10:21:52 +02:00 |
|
cmtp
|
Bluetooth: cmtp: fix possible might sleep error in cmtp_session
|
2017-08-30 10:21:52 +02:00 |
|
hidp
|
Bluetooth: hidp: fix buffer overflow
|
2019-05-10 17:52:10 +02:00 |
|
rfcomm
|
Bluetooth: RFCOMM: fix ODEBUG bug in rfcomm_dev_ioctl
|
2020-04-13 10:32:57 +02:00 |
|
6lowpan.c
|
Bluetooth: add a mutex lock to avoid UAF in do_enale_set
|
2020-08-21 11:01:57 +02:00 |
|
a2mp.c
|
Bluetooth: drop HCI device reference before return
|
2021-03-03 17:44:32 +01:00 |
|
a2mp.h
|
Bluetooth: Add BT_HS config option
|
2015-07-30 13:31:59 +02:00 |
|
af_bluetooth.c
|
Bluetooth: Avoid bt_accept_unlink() double unlinking
|
2018-03-22 09:17:52 +01:00 |
|
amp.c
|
Bluetooth: Fix null pointer dereference in amp_read_loc_assoc_final_data
|
2021-03-07 11:25:57 +01:00 |
|
amp.h
|
Bluetooth: Add BT_HS config option
|
2015-07-30 13:31:59 +02:00 |
|
ecc.c
|
Bluetooth: Add ECC library for LE Secure Connections
|
2014-12-03 16:51:16 +01:00 |
|
ecc.h
|
Bluetooth: Add ECC library for LE Secure Connections
|
2014-12-03 16:51:16 +01:00 |
|
hci_conn.c
|
Bluetooth: Disconnect if E0 is used for Level 4
|
2020-10-17 11:02:19 +02:00 |
|
hci_core.c
|
Bluetooth: Put HCI device if inquiry procedure interrupts
|
2021-03-03 17:44:33 +01:00 |
|
hci_debugfs.c
|
Bluetooth: Add debugfs fields for hardware and firmware info
|
2016-07-18 09:33:28 +03:00 |
|
hci_debugfs.h
|
Bluetooth: Provide option to enable/disable debugfs information
|
2015-02-15 18:54:13 +02:00 |
|
hci_event.c
|
Bluetooth: Fix null pointer dereference in hci_event_packet()
|
2020-12-29 13:44:53 +01:00 |
|
hci_request.c
|
Bluetooth: Fix advertising duplicated flags
|
2020-01-04 13:39:31 +01:00 |
|
hci_request.h
|
Bluetooth: Fix append max 11 bytes of name to scan rsp data
|
2016-10-19 18:42:37 +02:00 |
|
hci_sock.c
|
Bluetooth: Fix race condition in hci_release_sock()
|
2020-02-05 13:05:47 +00:00 |
|
hci_sysfs.c
|
Bluetooth: Remove controller device attributes
|
2016-07-09 21:37:11 +03:00 |
|
Kconfig
|
Bluetooth: add LED trigger for indicating HCI is powered up
|
2016-02-23 20:29:35 +01:00 |
|
l2cap_core.c
|
Bluetooth: L2CAP: Fix calling sk_filter on non-socket based channel
|
2020-10-17 11:02:19 +02:00 |
|
l2cap_sock.c
|
Bluetooth: Only mark socket zapped after unlocking
|
2020-10-29 09:05:44 +01:00 |
|
leds.c
|
Bluetooth: Add combined LED trigger for controller power
|
2016-09-19 20:19:34 +02:00 |
|
leds.h
|
Bluetooth: Add combined LED trigger for controller power
|
2016-09-19 20:19:34 +02:00 |
|
lib.c
|
Bluetooth: Add BT_WARN and bt_dev_warn logging macros
|
2015-09-24 16:25:44 +02:00 |
|
Makefile
|
Bluetooth: add LED trigger for indicating HCI is powered up
|
2016-02-23 20:29:35 +01:00 |
|
mgmt.c
|
Bluetooth: MGMT: Fix not checking if BT_HS is enabled
|
2020-10-17 11:02:19 +02:00 |
|
mgmt_util.c
|
Bluetooth: Add support for sending MGMT commands and events to monitor
|
2016-09-19 20:19:34 +02:00 |
|
mgmt_util.h
|
Bluetooth: Add generic mgmt helper API
|
2015-03-17 18:03:08 +01:00 |
|
sco.c
|
Bluetooth: avoid killing an already killed socket
|
2018-08-22 07:47:15 +02:00 |
|
selftest.c
|
Bluetooth: Export ECDH selftest result in debugfs
|
2015-04-02 08:47:38 +03:00 |
|
selftest.h
|
Bluetooth: Add support for self testing framework
|
2014-12-30 08:53:55 +02:00 |
|
smp.c
|
Bluetooth: Add SMP workaround Microsoft Surface Precision Mouse bug
|
2019-08-04 09:33:32 +02:00 |
|
smp.h
|
Bluetooth: SMP: fix crash in unpairing
|
2018-11-10 07:42:42 -08:00 |