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: 0 UID: 0 PID: 22010 Comm: syz.6.4004 Tainted: G U 6.14.0-rc3-syzkaller-00012-g2408a807bfc3 #0 Tainted: [U]=USER 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 68 24 35 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:ffffc9000d837a80 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000010 RCX: 1ffffffff3516f14 RDX: 000000000000000e RSI: 0000000000000000 RDI: 0000000000000070 RBP: ffffc9000d837bc0 R08: ffffffff8a5f2c57 R09: ffffed100ba22e00 R10: ffffc9000d837bd8 R11: 0000000000000000 R12: dffffc0000000000 R13: 0000000000000002 R14: 0000000000000000 R15: ffffc9000d837b00 FS: 00007f935e3cc6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ef19ff8 CR3: 0000000032570000 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+0x173/0x330 drivers/bluetooth/hci_vhci.c:346 full_proxy_write+0x13c/0x200 fs/debugfs/file.c:398 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:0x7f935d58cde9 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:00007f935e3cc038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f935d7a5fa0 RCX: 00007f935d58cde9 RDX: 000000000000000e RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007f935d60e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f935d7a5fa0 R15: 00007ffec4d0d418 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 68 24 35 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:ffffc9000d837a80 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000010 RCX: 1ffffffff3516f14 RDX: 000000000000000e RSI: 0000000000000000 RDI: 0000000000000070 RBP: ffffc9000d837bc0 R08: ffffffff8a5f2c57 R09: ffffed100ba22e00 R10: ffffc9000d837bd8 R11: 0000000000000000 R12: dffffc0000000000 R13: 0000000000000002 R14: 0000000000000000 R15: ffffc9000d837b00 FS: 00007f935e3cc6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f26a74d7d60 CR3: 0000000032570000 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 68 24 35 0f mov 0xf352468(%rip),%esi # 0xf352479 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