wanlong
0253af642b
Bluetooth: btrtl: fix oops in btrtl_vendor_read_reg16()
Unable to handle kernel NULL pointer dereference at virtual address 0000000000000070
Oops [#1]
Modules linked in: btusb btintel btbcm binfmt_misc 8852be ip_tables autofs4
CPU: 5 PID: 299598 Comm: kworker/u17:0 Tainted: G W 6.6.36 #20241017105119
Hardware name: M1-MUSE-BOOK (DT)
Workqueue: hci0 hci_power_on
epc : btrtl_vendor_read_reg16+0x32/0xcc
ra : btrtl_vendor_read_reg16+0x2a/0xcc
epc : ffffffff80bbd612 ra : ffffffff80bbd60a sp : ffffffc80dc33b20
gp : ffffffff82341f38 tp : ffffffd903dacd40 t0 : 00000000000003a8
t1 : 0000000000000001 t2 : ffffffffffffffff s0 : ffffffc80dc33b50
s1 : 0000000000000000 a0 : 0000000000000000 a1 : ffffffffffffffff
a2 : 0000000000000000 a3 : 0000000000000000 a4 : 0000000000000000
a5 : fffffffffffff000 a6 : 000001003d7dbb09 a7 : 00000000000805ef
s2 : ffffffc80dc33b90 s3 : ffffffd925d60000 s4 : ffffffd905933000
s5 : ffffffd9437efa20 s6 : ffffffd9084dfc05 s7 : 0000000000000000
s8 : ffffffff82347220 s9 : 0000000000000088 s10: 0000000000008822
s11: ffffffd925d62000 t3 : ffffffdc6d7d4908 t4 : 0000000000000000
t5 : 0000000000000001 t6 : ffffffff823473f0
status: 0000000200000120 badaddr: 0000000000000070 cause: 000000000000000d
[<ffffffff80bbd612>] btrtl_vendor_read_reg16+0x32/0xcc
[<ffffffff80bbeb8e>] btrtl_initialize+0xb0/0x598
[<ffffffff80bbf08a>] btrtl_setup_realtek+0x14/0x56
[<ffffffff034f1128>] btusb_setup_realtek+0x1a/0x3a [btusb]
[<ffffffff80e8003e>] hci_dev_open_sync+0xe4/0xaae
[<ffffffff80e2ba40>] hci_dev_do_open+0x30/0x6c
[<ffffffff80e2ec54>] hci_power_on+0x42/0x1ca
[<ffffffff800397aa>] process_one_work+0x1b0/0x45e
[<ffffffff80039bf6>] worker_thread+0x19e/0x350
[<ffffffff80041190>] kthread+0xda/0xf6
[<ffffffff80fb5ed6>] ret_from_fork+0xe/0x1c
Code: c615 89aa c097 002b 80e7 b100 77fd 84aa ee63 02a7 (5938) 478d
Change-Id: Iaf296ffbd6623191356c46a420a358233723e728
2024-11-28 18:29:09 +08:00
..
2024-06-27 13:49:02 +02:00
2022-03-18 17:12:09 +01:00
2021-10-25 15:04:46 +02:00
2020-07-10 19:09:42 +02:00
2019-09-04 16:11:46 +02:00
2023-08-11 11:50:05 -07:00
2022-07-21 17:04:38 -07:00
2024-11-22 15:38:32 +01:00
2023-08-24 12:23:26 -07:00
2022-06-10 14:51:36 +02:00
2022-06-10 14:51:36 +02:00
2024-06-12 11:11:55 +02:00
2024-10-10 11:57:16 +02:00
2022-06-10 14:51:36 +02:00
2024-05-02 16:32:37 +02:00
2024-04-13 13:07:33 +02:00
2022-07-21 17:08:03 -07:00
2024-01-25 15:35:29 -08:00
2024-09-12 11:11:38 +02:00
2024-06-12 11:11:55 +02:00
2024-05-17 12:02:38 +02:00
2023-03-23 13:09:38 -07:00
2024-06-12 11:11:55 +02:00
2024-11-28 18:29:09 +08:00
2023-08-11 11:35:14 -07:00
2024-06-12 11:11:55 +02:00
2024-10-22 15:46:31 +02:00
2019-05-30 11:26:35 -07:00
2021-06-26 07:52:41 +02:00
2019-07-31 13:17:33 -07:00
2024-08-03 08:53:44 +02:00
2023-06-29 10:52:08 -07:00
2022-12-25 13:38:09 -08:00
2021-11-16 13:57:25 +01:00
2024-03-26 18:19:38 -04:00
2022-07-21 17:05:10 -07:00
2024-06-12 11:11:55 +02:00
2023-04-23 21:49:03 -07:00
2023-04-23 21:45:29 -07:00
2023-08-11 11:50:41 -07:00
2024-09-12 11:11:33 +02:00
2024-06-12 11:11:55 +02:00
2024-06-12 11:11:55 +02:00
2024-06-12 11:11:55 +02:00
2023-04-23 21:58:21 -07:00
2023-04-23 21:51:55 -07:00
2024-06-12 11:11:55 +02:00