Bluetooth: Wrong link type (-22) general protection fault, probably for non-canonical address 0xdffffc000000000e: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000070-0x0000000000000077] CPU: 1 PID: 3575 Comm: kworker/u5:8 Not tainted 6.1.83-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: hci5 hci_power_on RIP: 0010:btintel_read_version+0x8c/0x1b0 drivers/bluetooth/btintel.c:414 Code: 08 4c 89 e7 e8 95 22 39 fa 49 8b 34 24 e9 cc 00 00 00 48 89 c3 48 b9 00 00 00 00 00 fc ff df 4c 8d 68 70 4c 89 e8 48 c1 e8 03 <0f> b6 04 08 84 c0 0f 85 f2 00 00 00 41 8b 6d 00 bf 0a 00 00 00 89 RSP: 0018:ffffc9000480f588 EFLAGS: 00010202 RAX: 000000000000000e RBX: 0000000000000000 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000031 RDI: 0000000000000000 RBP: ffffc9000480f870 R08: ffffffff89a074fe R09: ffffffff89a07402 R10: 0000000000000002 R11: ffff88802877d940 R12: ffff888022be0000 R13: 0000000000000070 R14: 0000000000000000 R15: ffffc9000480f780 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd2e14dd18 CR3: 000000005f382000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ag6xx_setup+0x1c1/0x1010 drivers/bluetooth/hci_ag6xx.c:169 hci_uart_setup+0x390/0x800 drivers/bluetooth/hci_ldisc.c:423 hci_dev_setup_sync net/bluetooth/hci_sync.c:4678 [inline] hci_dev_init_sync net/bluetooth/hci_sync.c:4748 [inline] hci_dev_open_sync+0x49a/0x3590 net/bluetooth/hci_sync.c:4846 hci_dev_do_open net/bluetooth/hci_core.c:483 [inline] hci_power_on+0x1c4/0x6f0 net/bluetooth/hci_core.c:984 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:307 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:btintel_read_version+0x8c/0x1b0 drivers/bluetooth/btintel.c:414 Code: 08 4c 89 e7 e8 95 22 39 fa 49 8b 34 24 e9 cc 00 00 00 48 89 c3 48 b9 00 00 00 00 00 fc ff df 4c 8d 68 70 4c 89 e8 48 c1 e8 03 <0f> b6 04 08 84 c0 0f 85 f2 00 00 00 41 8b 6d 00 bf 0a 00 00 00 89 RSP: 0018:ffffc9000480f588 EFLAGS: 00010202 RAX: 000000000000000e RBX: 0000000000000000 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000031 RDI: 0000000000000000 RBP: ffffc9000480f870 R08: ffffffff89a074fe R09: ffffffff89a07402 R10: 0000000000000002 R11: ffff88802877d940 R12: ffff888022be0000 R13: 0000000000000070 R14: 0000000000000000 R15: ffffc9000480f780 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff7a4fad988 CR3: 000000007beb4000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 08 4c 89 e7 or %cl,-0x19(%rcx,%rcx,4) 4: e8 95 22 39 fa call 0xfa39229e 9: 49 8b 34 24 mov (%r12),%rsi d: e9 cc 00 00 00 jmp 0xde 12: 48 89 c3 mov %rax,%rbx 15: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 1c: fc ff df 1f: 4c 8d 68 70 lea 0x70(%rax),%r13 23: 4c 89 e8 mov %r13,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 0f b6 04 08 movzbl (%rax,%rcx,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 0f 85 f2 00 00 00 jne 0x128 36: 41 8b 6d 00 mov 0x0(%r13),%ebp 3a: bf 0a 00 00 00 mov $0xa,%edi 3f: 89 .byte 0x89