Oops: general protection fault, probably for non-canonical address 0xdffffc000000000e: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000070-0x0000000000000077] CPU: 1 UID: 0 PID: 26033 Comm: syz.3.5753 Not tainted 6.13.0-syzkaller-07644-gc2da8b3f914f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:__mutex_lock_common kernel/locking/mutex.c:564 [inline] RIP: 0010:__mutex_lock+0x151/0xb10 kernel/locking/mutex.c:730 Code: d0 7c 08 84 d2 0f 85 71 07 00 00 8b 35 08 96 3a 0f 85 f6 75 29 48 8d 7b 60 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 59 07 00 00 48 3b 5b 60 0f 85 e7 01 00 00 bf 01 RSP: 0018:ffffc9000ce07a80 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000010 RCX: 1ffffffff3503314 RDX: 000000000000000e RSI: 0000000000000000 RDI: 0000000000000070 RBP: ffffc9000ce07bc0 R08: ffffffff8a5358f7 R09: 0000000000000006 R10: ffffc9000ce07bd8 R11: 0000000000000001 R12: dffffc0000000000 R13: 0000000000000002 R14: 0000000000000000 R15: ffffc9000ce07b00 FS: 00007f5eacaaa6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f820224 CR3: 000000006e4ce000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hci_devcd_register+0x47/0x170 net/bluetooth/coredump.c:415 force_devcd_write+0x175/0x350 drivers/bluetooth/hci_vhci.c:346 full_proxy_write+0xfd/0x1b0 fs/debugfs/file.c:369 vfs_write+0x24c/0x1150 fs/read_write.c:677 ksys_write+0x12b/0x250 fs/read_write.c:731 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5eabb8cd29 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5eacaaa038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f5eabda5fa0 RCX: 00007f5eabb8cd29 RDX: 000000000000000e RSI: 0000000000000000 RDI: 0000000000000006 RBP: 00007f5eabc0e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f5eabda5fa0 R15: 00007ffe9115a928 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__mutex_lock_common kernel/locking/mutex.c:564 [inline] RIP: 0010:__mutex_lock+0x151/0xb10 kernel/locking/mutex.c:730 Code: d0 7c 08 84 d2 0f 85 71 07 00 00 8b 35 08 96 3a 0f 85 f6 75 29 48 8d 7b 60 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 59 07 00 00 48 3b 5b 60 0f 85 e7 01 00 00 bf 01 RSP: 0018:ffffc9000ce07a80 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000010 RCX: 1ffffffff3503314 RDX: 000000000000000e RSI: 0000000000000000 RDI: 0000000000000070 RBP: ffffc9000ce07bc0 R08: ffffffff8a5358f7 R09: 0000000000000006 R10: ffffc9000ce07bd8 R11: 0000000000000001 R12: dffffc0000000000 R13: 0000000000000002 R14: 0000000000000000 R15: ffffc9000ce07b00 FS: 00007f5eacaaa6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000556fc80d5680 CR3: 000000006e4ce000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: d0 7c 08 84 sarb -0x7c(%rax,%rcx,1) 4: d2 0f rorb %cl,(%rdi) 6: 85 71 07 test %esi,0x7(%rcx) 9: 00 00 add %al,(%rax) b: 8b 35 08 96 3a 0f mov 0xf3a9608(%rip),%esi # 0xf3a9619 11: 85 f6 test %esi,%esi 13: 75 29 jne 0x3e 15: 48 8d 7b 60 lea 0x60(%rbx),%rdi 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 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 59 07 00 00 jne 0x78d 34: 48 3b 5b 60 cmp 0x60(%rbx),%rbx 38: 0f 85 e7 01 00 00 jne 0x225 3e: bf .byte 0xbf 3f: 01 .byte 0x1