BUG: kernel NULL pointer dereference, address: 0000000000000338 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 800000010c701067 P4D 800000010c701067 PUD 0 Oops: Oops: 0000 [#1] PREEMPT SMP PTI CPU: 1 UID: 0 PID: 3367 Comm: syz.2.16 Not tainted 6.13.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:__lock_acquire+0x2e/0x4e0 kernel/locking/lockdep.c:5089 Code: 56 41 55 41 54 53 48 83 ec 18 65 4c 8b 34 25 c0 01 03 00 83 3d 92 5a ca 02 00 0f 84 20 02 00 00 49 89 ff 48 c7 c0 28 2b a5 84 <48> 39 07 0f 84 0d 02 00 00 4d 89 cd 89 cd 89 d1 83 fe 01 77 0c 89 RSP: 0018:ffffc90002fbfc50 EFLAGS: 00010002 RAX: ffffffff84a52b28 RBX: 0000000000000046 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000338 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff82384650 R12: 0000000000000000 R13: 0000000000000000 R14: ffff888107ae1b80 R15: 0000000000000338 FS: 0000555572b2d500(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000338 CR3: 000000010ffc4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0xd9/0x1f0 kernel/locking/lockdep.c:5849 __timer_delete_sync+0x54/0xe0 kernel/time/timer.c:1648 del_timer_sync include/linux/timer.h:185 [inline] h5_close+0x1d/0xb0 drivers/bluetooth/hci_h5.c:257 hci_uart_tty_close+0xb6/0x120 drivers/bluetooth/hci_ldisc.c:557 tty_ldisc_close drivers/tty/tty_ldisc.c:455 [inline] tty_ldisc_kill+0x66/0xc0 drivers/tty/tty_ldisc.c:613 tty_ldisc_release+0xc9/0x120 drivers/tty/tty_ldisc.c:781 tty_release_struct+0x10/0x80 drivers/tty/tty_io.c:1690 tty_release+0x4ef/0x640 drivers/tty/tty_io.c:1861 __fput+0x86/0x2a0 fs/file_table.c:450 task_work_run+0x82/0xb0 kernel/task_work.c:239 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xa3/0x1b0 kernel/entry/common.c:218 do_syscall_64+0x9a/0x190 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fcda978cde9 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:00007ffc56bd9a78 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007fcda99a7ba0 RCX: 00007fcda978cde9 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007fcda99a7ba0 R08: 0000000000000000 R09: 0000000456bd9d6f R10: 000000000003fdbc R11: 0000000000000246 R12: 0000000000010024 R13: 00007ffc56bd9b70 R14: ffffffffffffffff R15: 00007ffc56bd9b90 Modules linked in: CR2: 0000000000000338 ---[ end trace 0000000000000000 ]--- RIP: 0010:__lock_acquire+0x2e/0x4e0 kernel/locking/lockdep.c:5089 Code: 56 41 55 41 54 53 48 83 ec 18 65 4c 8b 34 25 c0 01 03 00 83 3d 92 5a ca 02 00 0f 84 20 02 00 00 49 89 ff 48 c7 c0 28 2b a5 84 <48> 39 07 0f 84 0d 02 00 00 4d 89 cd 89 cd 89 d1 83 fe 01 77 0c 89 RSP: 0018:ffffc90002fbfc50 EFLAGS: 00010002 RAX: ffffffff84a52b28 RBX: 0000000000000046 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000338 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff82384650 R12: 0000000000000000 R13: 0000000000000000 R14: ffff888107ae1b80 R15: 0000000000000338 FS: 0000555572b2d500(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000338 CR3: 000000010ffc4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 56 push %rsi 1: 41 55 push %r13 3: 41 54 push %r12 5: 53 push %rbx 6: 48 83 ec 18 sub $0x18,%rsp a: 65 4c 8b 34 25 c0 01 mov %gs:0x301c0,%r14 11: 03 00 13: 83 3d 92 5a ca 02 00 cmpl $0x0,0x2ca5a92(%rip) # 0x2ca5aac 1a: 0f 84 20 02 00 00 je 0x240 20: 49 89 ff mov %rdi,%r15 23: 48 c7 c0 28 2b a5 84 mov $0xffffffff84a52b28,%rax * 2a: 48 39 07 cmp %rax,(%rdi) <-- trapping instruction 2d: 0f 84 0d 02 00 00 je 0x240 33: 4d 89 cd mov %r9,%r13 36: 89 cd mov %ecx,%ebp 38: 89 d1 mov %edx,%ecx 3a: 83 fe 01 cmp $0x1,%esi 3d: 77 0c ja 0x4b 3f: 89 .byte 0x89