Bluetooth: hci3: hardware error 0x00 Oops: general protection fault, probably for non-canonical address 0xdffffc000000000b: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000058-0x000000000000005f] CPU: 3 UID: 0 PID: 5982 Comm: kworker/u33:3 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Workqueue: hci3 hci_error_reset RIP: 0010:klist_put+0x4d/0x1b0 lib/klist.c:212 Code: c1 ea 03 80 3c 02 00 0f 85 5f 01 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 23 49 83 e4 fe 49 8d 7c 24 58 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 2e 01 00 00 4c 89 e7 4d 8b 74 24 58 e8 8c 3e 0d RSP: 0018:ffffc9000104f920 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88804f6b9860 RCX: 0000000000000000 RDX: 000000000000000b RSI: ffffffff8b861035 RDI: 0000000000000058 RBP: 0000000000000001 R08: 0000000000000000 R09: fffffbfff211cefc R10: ffffffff908e77e3 R11: 0000000000002c10 R12: 0000000000000000 R13: 0000000000000001 R14: 1ffff92000209f2c R15: ffffffff908e77a0 FS: 0000000000000000(0000) GS:ffff8880977c3000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000f739c198 CR3: 0000000060134000 CR4: 0000000000352ef0 Call Trace: klist_del lib/klist.c:230 [inline] klist_remove+0x13f/0x2e0 lib/klist.c:249 device_move+0x12d/0x10d0 drivers/base/core.c:4615 hci_conn_del_sysfs+0x81/0x180 net/bluetooth/hci_sysfs.c:75 hci_conn_cleanup net/bluetooth/hci_conn.c:175 [inline] hci_conn_del+0x5b3/0xe70 net/bluetooth/hci_conn.c:1187 hci_conn_hash_flush+0x186/0x260 net/bluetooth/hci_conn.c:2576 hci_dev_close_sync+0x602/0x11d0 net/bluetooth/hci_sync.c:5294 hci_dev_do_close+0x2e/0x90 net/bluetooth/hci_core.c:501 hci_error_reset+0xbf/0x320 net/bluetooth/hci_core.c:1034 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3236 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400 kthread+0x3c5/0x780 kernel/kthread.c:463 ret_from_fork+0x5d4/0x6f0 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:klist_put+0x4d/0x1b0 lib/klist.c:212 Code: c1 ea 03 80 3c 02 00 0f 85 5f 01 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 23 49 83 e4 fe 49 8d 7c 24 58 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 2e 01 00 00 4c 89 e7 4d 8b 74 24 58 e8 8c 3e 0d RSP: 0018:ffffc9000104f920 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88804f6b9860 RCX: 0000000000000000 RDX: 000000000000000b RSI: ffffffff8b861035 RDI: 0000000000000058 RBP: 0000000000000001 R08: 0000000000000000 R09: fffffbfff211cefc R10: ffffffff908e77e3 R11: 0000000000002c10 R12: 0000000000000000 R13: 0000000000000001 R14: 1ffff92000209f2c R15: ffffffff908e77a0 FS: 0000000000000000(0000) GS:ffff8880976c3000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000f72f1018 CR3: 0000000022563000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: c1 ea 03 shr $0x3,%edx 3: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 7: 0f 85 5f 01 00 00 jne 0x16c d: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 14: fc ff df 17: 4c 8b 23 mov (%rbx),%r12 1a: 49 83 e4 fe and $0xfffffffffffffffe,%r12 1e: 49 8d 7c 24 58 lea 0x58(%r12),%rdi 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 2e 01 00 00 jne 0x162 34: 4c 89 e7 mov %r12,%rdi 37: 4d 8b 74 24 58 mov 0x58(%r12),%r14 3c: e8 .byte 0xe8 3d: 8c 3e mov %?,(%rsi) 3f: 0d .byte 0xd