BUG: kernel NULL pointer dereference, address: 00000000000002f8 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 800000011570f067 P4D 800000011570f067 PUD 0 Oops: Oops: 0000 [#1] PREEMPT SMP PTI CPU: 0 UID: 0 PID: 6116 Comm: syz.4.221 Not tainted 6.13.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:h5_recv+0x6a/0x270 drivers/bluetooth/hci_h5.c:572 Code: be 01 00 00 00 e8 e6 6c 37 00 0f b6 0b 88 08 48 ff 8d f8 02 00 00 0f 1f 44 00 00 49 ff c7 41 ff cc 45 85 e4 0f 8e ba 01 00 00 <48> 83 bd f8 02 00 00 00 74 25 41 0f b6 37 81 fe c0 00 00 00 75 40 RSP: 0018:ffffc9000555be00 EFLAGS: 00010202 RAX: ffffffff838ad110 RBX: ffff88810d433600 RCX: 0000000000000001 RDX: 0000000000000001 RSI: ffffc9000555be87 RDI: ffff88810d433600 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff827bebb0 R12: 0000000000000001 R13: ffffc9000555be07 R14: ffff88810d433600 R15: ffffc9000555be87 FS: 00007fdd265d96c0(0000) GS:ffff88813ba00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000002f8 CR3: 0000000106ff2000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hci_uart_tty_receive+0x13a/0x200 drivers/bluetooth/hci_ldisc.c:622 tiocsti+0xc5/0x110 drivers/tty/tty_io.c:2299 tty_ioctl+0x4f5/0x660 drivers/tty/tty_io.c:2717 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl+0x68/0xb0 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x8d/0x190 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fdd2578cde9 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:00007fdd265d9038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fdd259a6160 RCX: 00007fdd2578cde9 RDX: 0000400000000040 RSI: 0000000000005412 RDI: 0000000000000006 RBP: 00007fdd2580e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fdd259a6160 R15: 00007ffd4e425938 Modules linked in: CR2: 00000000000002f8 ---[ end trace 0000000000000000 ]--- RIP: 0010:h5_recv+0x6a/0x270 drivers/bluetooth/hci_h5.c:572 Code: be 01 00 00 00 e8 e6 6c 37 00 0f b6 0b 88 08 48 ff 8d f8 02 00 00 0f 1f 44 00 00 49 ff c7 41 ff cc 45 85 e4 0f 8e ba 01 00 00 <48> 83 bd f8 02 00 00 00 74 25 41 0f b6 37 81 fe c0 00 00 00 75 40 RSP: 0018:ffffc9000555be00 EFLAGS: 00010202 RAX: ffffffff838ad110 RBX: ffff88810d433600 RCX: 0000000000000001 RDX: 0000000000000001 RSI: ffffc9000555be87 RDI: ffff88810d433600 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff827bebb0 R12: 0000000000000001 R13: ffffc9000555be07 R14: ffff88810d433600 R15: ffffc9000555be87 FS: 00007fdd265d96c0(0000) GS:ffff88813ba00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000002f8 CR3: 0000000106ff2000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: be 01 00 00 00 mov $0x1,%esi 5: e8 e6 6c 37 00 call 0x376cf0 a: 0f b6 0b movzbl (%rbx),%ecx d: 88 08 mov %cl,(%rax) f: 48 ff 8d f8 02 00 00 decq 0x2f8(%rbp) 16: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 1b: 49 ff c7 inc %r15 1e: 41 ff cc dec %r12d 21: 45 85 e4 test %r12d,%r12d 24: 0f 8e ba 01 00 00 jle 0x1e4 * 2a: 48 83 bd f8 02 00 00 cmpq $0x0,0x2f8(%rbp) <-- trapping instruction 31: 00 32: 74 25 je 0x59 34: 41 0f b6 37 movzbl (%r15),%esi 38: 81 fe c0 00 00 00 cmp $0xc0,%esi 3e: 75 40 jne 0x80