Oops: general protection fault, probably for non-canonical address 0xdffffc0000000021: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000108-0x000000000000010f] CPU: 3 UID: 0 PID: 7253 Comm: syz.3.352 Not tainted 6.16.0-rc3-syzkaller-00329-gdfba48a70cb6 #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:bcsp_recv+0x10a/0x17f0 drivers/bluetooth/hci_bcsp.c:590 Code: 18 48 c1 e8 03 48 01 e8 48 89 04 24 48 8d 83 78 01 00 00 48 89 44 24 28 48 c1 e8 03 48 89 44 24 08 e8 8a 03 51 f9 48 8b 04 24 <80> 38 00 0f 85 d1 12 00 00 4c 8b ab 08 01 00 00 31 ff 4c 89 ee e8 RSP: 0018:ffffc90002c27b98 EFLAGS: 00010293 RAX: dffffc0000000021 RBX: 0000000000000000 RCX: ffffffff886a88fa RDX: ffff8880243e8000 RSI: ffffffff886a8946 RDI: 0000000000000005 RBP: dffffc0000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 000000000000001e R12: ffffc90002c27d30 R13: ffffc90002c27d30 R14: 0000000000000001 R15: ffff88804dee0000 FS: 0000000000000000(0000) GS:ffff88809785f000(0063) knlGS:00000000f506db40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f71a3800 CR3: 0000000050695000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hci_uart_tty_receive+0x251/0x7e0 drivers/bluetooth/hci_ldisc.c:627 tiocsti drivers/tty/tty_io.c:2290 [inline] tty_ioctl+0x583/0x1640 drivers/tty/tty_io.c:2706 tty_compat_ioctl+0x24a/0x4d0 drivers/tty/tty_io.c:2942 __do_compat_sys_ioctl fs/ioctl.c:1005 [inline] __se_compat_sys_ioctl fs/ioctl.c:948 [inline] __ia32_compat_sys_ioctl+0x242/0x370 fs/ioctl.c:948 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0x7c/0x3a0 arch/x86/entry/syscall_32.c:306 do_fast_syscall_32+0x32/0x80 arch/x86/entry/syscall_32.c:331 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf709e579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f506d55c EFLAGS: 00000296 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000005412 RDX: 0000000080000040 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000296 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:bcsp_recv+0x10a/0x17f0 drivers/bluetooth/hci_bcsp.c:590 Code: 18 48 c1 e8 03 48 01 e8 48 89 04 24 48 8d 83 78 01 00 00 48 89 44 24 28 48 c1 e8 03 48 89 44 24 08 e8 8a 03 51 f9 48 8b 04 24 <80> 38 00 0f 85 d1 12 00 00 4c 8b ab 08 01 00 00 31 ff 4c 89 ee e8 RSP: 0018:ffffc90002c27b98 EFLAGS: 00010293 RAX: dffffc0000000021 RBX: 0000000000000000 RCX: ffffffff886a88fa RDX: ffff8880243e8000 RSI: ffffffff886a8946 RDI: 0000000000000005 RBP: dffffc0000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 000000000000001e R12: ffffc90002c27d30 R13: ffffc90002c27d30 R14: 0000000000000001 R15: ffff88804dee0000 FS: 0000000000000000(0000) GS:ffff88809785f000(0063) knlGS:00000000f506db40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f71a3800 CR3: 0000000050695000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 18 48 c1 sbb %cl,-0x3f(%rax) 3: e8 03 48 01 e8 call 0xe801480b 8: 48 89 04 24 mov %rax,(%rsp) c: 48 8d 83 78 01 00 00 lea 0x178(%rbx),%rax 13: 48 89 44 24 28 mov %rax,0x28(%rsp) 18: 48 c1 e8 03 shr $0x3,%rax 1c: 48 89 44 24 08 mov %rax,0x8(%rsp) 21: e8 8a 03 51 f9 call 0xf95103b0 26: 48 8b 04 24 mov (%rsp),%rax * 2a: 80 38 00 cmpb $0x0,(%rax) <-- trapping instruction 2d: 0f 85 d1 12 00 00 jne 0x1304 33: 4c 8b ab 08 01 00 00 mov 0x108(%rbx),%r13 3a: 31 ff xor %edi,%edi 3c: 4c 89 ee mov %r13,%rsi 3f: e8 .byte 0xe8