general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 PID: 3656 Comm: kworker/u5:4 Not tainted 5.16.0-rc6-next-20211224-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: hci1 hci_rx_work RIP: 0010:hci_inquiry_result_with_rssi_evt+0xb6/0x8e0 net/bluetooth/hci_event.c:4519 Code: 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 31 07 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 65 00 4c 89 e2 48 c1 ea 03 <0f> b6 04 02 4c 89 e2 83 e2 07 38 d0 7f 08 84 c0 0f 85 c8 06 00 00 RSP: 0018:ffffc9000299faf0 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff888077bf0000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff88378b06 RDI: ffff888077bf0000 RBP: ffff88807861800b R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff8839718f R11: 0000000000000000 R12: 0000000000000000 R13: ffff88807d283dc0 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2a91a96ab0 CR3: 000000001a1b9000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hci_event_func net/bluetooth/hci_event.c:6838 [inline] hci_event_packet+0x7d5/0xe40 net/bluetooth/hci_event.c:6887 hci_rx_work+0x4fa/0xd30 net/bluetooth/hci_core.c:3817 process_one_work+0x9ac/0x1650 kernel/workqueue.c:2307 worker_thread+0x657/0x1110 kernel/workqueue.c:2454 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:hci_inquiry_result_with_rssi_evt+0xb6/0x8e0 net/bluetooth/hci_event.c:4519 Code: 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 31 07 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 65 00 4c 89 e2 48 c1 ea 03 <0f> b6 04 02 4c 89 e2 83 e2 07 38 d0 7f 08 84 c0 0f 85 c8 06 00 00 RSP: 0018:ffffc9000299faf0 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff888077bf0000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff88378b06 RDI: ffff888077bf0000 RBP: ffff88807861800b R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff8839718f R11: 0000000000000000 R12: 0000000000000000 R13: ffff88807d283dc0 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c01d976000 CR3: 0000000071225000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 7 bytes skipped: 0: 48 c1 ea 03 shr $0x3,%rdx 4: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 8: 0f 85 31 07 00 00 jne 0x73f e: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 15: fc ff df 18: 4c 8b 65 00 mov 0x0(%rbp),%r12 1c: 4c 89 e2 mov %r12,%rdx 1f: 48 c1 ea 03 shr $0x3,%rdx * 23: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction 27: 4c 89 e2 mov %r12,%rdx 2a: 83 e2 07 and $0x7,%edx 2d: 38 d0 cmp %dl,%al 2f: 7f 08 jg 0x39 31: 84 c0 test %al,%al 33: 0f 85 c8 06 00 00 jne 0x701