Oops: general protection fault, probably for non-canonical address 0xdffffc0000000021: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000108-0x000000000000010f] CPU: 0 UID: 0 PID: 6963 Comm: syz.3.224 Not tainted 6.14.0-syzkaller-12966-ga2cc6ff5ec8f #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:bcsp_recv+0x130/0x18a0 drivers/bluetooth/hci_bcsp.c:590 Code: 03 48 89 44 24 40 48 89 c8 48 89 0c 24 48 c1 e9 03 48 89 4c 24 30 48 89 54 24 18 4c 89 74 24 20 48 89 5c 24 10 48 8b 44 24 40 <42> 80 3c 38 00 74 08 48 89 df e8 11 65 46 f9 48 8b 1b 31 ff 48 89 RSP: 0018:ffffc9001c71fc20 EFLAGS: 00010202 RAX: 0000000000000021 RBX: 0000000000000108 RCX: 000000000000002f RDX: 0000000000000182 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9001c71fd60 R08: ffffffff88e4754c R09: 1ffff11006105503 R10: dffffc0000000000 R11: ffffffff88e47480 R12: 0000000000000001 R13: ffffc9001c71fe00 R14: 0000000000000110 R15: dffffc0000000000 FS: 00007fd75df3b6c0(0000) GS:ffff888124fcc000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555583642808 CR3: 000000007f732000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hci_uart_tty_receive+0x197/0x220 drivers/bluetooth/hci_ldisc.c:627 tiocsti+0x24f/0x310 drivers/tty/tty_io.c:2299 tty_ioctl+0x516/0xdc0 drivers/tty/tty_io.c:2716 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd75d18d169 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:00007fd75df3b038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fd75d3a6080 RCX: 00007fd75d18d169 RDX: 0000200000000300 RSI: 0000000000005412 RDI: 0000000000000006 RBP: 00007fd75d20e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fd75d3a6080 R15: 00007ffd5c7da6c8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:bcsp_recv+0x130/0x18a0 drivers/bluetooth/hci_bcsp.c:590 Code: 03 48 89 44 24 40 48 89 c8 48 89 0c 24 48 c1 e9 03 48 89 4c 24 30 48 89 54 24 18 4c 89 74 24 20 48 89 5c 24 10 48 8b 44 24 40 <42> 80 3c 38 00 74 08 48 89 df e8 11 65 46 f9 48 8b 1b 31 ff 48 89 RSP: 0018:ffffc9001c71fc20 EFLAGS: 00010202 RAX: 0000000000000021 RBX: 0000000000000108 RCX: 000000000000002f RDX: 0000000000000182 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9001c71fd60 R08: ffffffff88e4754c R09: 1ffff11006105503 R10: dffffc0000000000 R11: ffffffff88e47480 R12: 0000000000000001 R13: ffffc9001c71fe00 R14: 0000000000000110 R15: dffffc0000000000 FS: 00007fd75df3b6c0(0000) GS:ffff888124fcc000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555583642808 CR3: 000000007f732000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 03 48 89 add -0x77(%rax),%ecx 3: 44 24 40 rex.R and $0x40,%al 6: 48 89 c8 mov %rcx,%rax 9: 48 89 0c 24 mov %rcx,(%rsp) d: 48 c1 e9 03 shr $0x3,%rcx 11: 48 89 4c 24 30 mov %rcx,0x30(%rsp) 16: 48 89 54 24 18 mov %rdx,0x18(%rsp) 1b: 4c 89 74 24 20 mov %r14,0x20(%rsp) 20: 48 89 5c 24 10 mov %rbx,0x10(%rsp) 25: 48 8b 44 24 40 mov 0x40(%rsp),%rax * 2a: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 48 89 df mov %rbx,%rdi 34: e8 11 65 46 f9 call 0xf946654a 39: 48 8b 1b mov (%rbx),%rbx 3c: 31 ff xor %edi,%edi 3e: 48 rex.W 3f: 89 .byte 0x89