Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 0 UID: 0 PID: 7064 Comm: syz.3.299 Not tainted 6.14.0-rc3-next-20250218-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:skb_queue_empty_lockless include/linux/skbuff.h:1887 [inline] RIP: 0010:skb_queue_purge_reason+0xaa/0x500 net/core/skbuff.c:3936 Code: 89 44 24 78 42 c6 44 30 13 f3 e8 21 4b f9 f7 48 8d bc 24 b0 00 00 00 ba 48 00 00 00 31 f6 e8 7d cf 60 f8 4d 89 ef 49 c1 ef 03 <43> 80 3c 37 00 74 08 4c 89 ef e8 97 cc 60 f8 49 8b 45 00 4c 39 e8 RSP: 0018:ffffc9000b9cfc40 EFLAGS: 00010202 RAX: ffffc9000b9cfcf0 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc9000b9cfd38 RBP: ffffc9000b9cfdc0 R08: ffffc9000b9cfd37 R09: 0000000000000000 R10: ffffc9000b9cfcf0 R11: fffff52001739fa7 R12: dffffc0000000000 R13: 0000000000000008 R14: dffffc0000000000 R15: 0000000000000001 FS: 00007f66e05f66c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555581419588 CR3: 00000000279a0000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: skb_queue_purge include/linux/skbuff.h:3364 [inline] h4_close+0x55/0xd0 drivers/bluetooth/hci_h4.c:76 hci_uart_tty_close+0x205/0x290 drivers/bluetooth/hci_ldisc.c:557 tty_set_ldisc+0x35d/0x560 drivers/tty/tty_ldisc.c:557 tty_ioctl+0xbd6/0xdc0 drivers/tty/tty_io.c:2738 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/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f66e278d0a9 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:00007f66e05f6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f66e29a6080 RCX: 00007f66e278d0a9 RDX: 0000400000000000 RSI: 0000000000005423 RDI: 0000000000000003 RBP: 00007f66e280e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f66e29a6080 R15: 00007ffe3ab71cd8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:skb_queue_empty_lockless include/linux/skbuff.h:1887 [inline] RIP: 0010:skb_queue_purge_reason+0xaa/0x500 net/core/skbuff.c:3936 Code: 89 44 24 78 42 c6 44 30 13 f3 e8 21 4b f9 f7 48 8d bc 24 b0 00 00 00 ba 48 00 00 00 31 f6 e8 7d cf 60 f8 4d 89 ef 49 c1 ef 03 <43> 80 3c 37 00 74 08 4c 89 ef e8 97 cc 60 f8 49 8b 45 00 4c 39 e8 RSP: 0018:ffffc9000b9cfc40 EFLAGS: 00010202 RAX: ffffc9000b9cfcf0 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc9000b9cfd38 RBP: ffffc9000b9cfdc0 R08: ffffc9000b9cfd37 R09: 0000000000000000 R10: ffffc9000b9cfcf0 R11: fffff52001739fa7 R12: dffffc0000000000 R13: 0000000000000008 R14: dffffc0000000000 R15: 0000000000000001 FS: 00007f66e05f66c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000279a0000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 89 44 24 78 mov %eax,0x78(%rsp) 4: 42 c6 44 30 13 f3 movb $0xf3,0x13(%rax,%r14,1) a: e8 21 4b f9 f7 call 0xf7f94b30 f: 48 8d bc 24 b0 00 00 lea 0xb0(%rsp),%rdi 16: 00 17: ba 48 00 00 00 mov $0x48,%edx 1c: 31 f6 xor %esi,%esi 1e: e8 7d cf 60 f8 call 0xf860cfa0 23: 4d 89 ef mov %r13,%r15 26: 49 c1 ef 03 shr $0x3,%r15 * 2a: 43 80 3c 37 00 cmpb $0x0,(%r15,%r14,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 ef mov %r13,%rdi 34: e8 97 cc 60 f8 call 0xf860ccd0 39: 49 8b 45 00 mov 0x0(%r13),%rax 3d: 4c 39 e8 cmp %r13,%rax