EXT4-fs error (device loop5): ext4_map_blocks:629: inode #2: block 16: comm syz-executor: lblock 0 mapped to illegal pblock 16 (length 1) EXT4-fs error (device loop5) in ext4_reserve_inode_write:5835: Corrupt filesystem EXT4-fs error (device loop5): ext4_dirty_inode:6039: inode #2: comm syz-executor: mark_inode_dirty error general protection fault, probably for non-canonical address 0xdffffc000000000b: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000058-0x000000000000005f] CPU: 0 PID: 5992 Comm: syz-executor Not tainted 5.15.182-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 RIP: 0010:klist_put lib/klist.c:212 [inline] RIP: 0010:klist_del lib/klist.c:230 [inline] RIP: 0010:klist_remove+0x144/0x2f0 lib/klist.c:249 Code: ae 05 4d 89 f4 49 c1 ec 03 43 80 3c 2c 00 74 08 4c 89 f7 e8 5e e8 c0 fd 4d 8b 3e 49 83 e7 fe 49 8d 7f 58 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 74 05 e8 40 e8 c0 fd 49 8b 47 58 48 89 44 24 08 4c RSP: 0018:ffffc900030ef9a0 EFLAGS: 00010202 RAX: 000000000000000b RBX: ffff888028925940 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000058 RBP: ffffc900030efa88 R08: dffffc0000000000 R09: fffffbfff18e70a5 R10: fffffbfff18e70a5 R11: 1ffffffff18e70a4 R12: 1ffff1100505c20c R13: dffffc0000000000 R14: ffff8880282e1060 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e317ff8 CR3: 00000000674c1000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: device_move+0x18f/0x6f0 drivers/base/core.c:4338 hci_conn_del_sysfs+0xab/0x160 net/bluetooth/hci_sysfs.c:73 hci_conn_cleanup+0x4d1/0x680 net/bluetooth/hci_conn.c:140 hci_conn_del+0x2ab/0x3e0 net/bluetooth/hci_conn.c:678 hci_conn_hash_flush+0x185/0x220 net/bluetooth/hci_conn.c:1623 hci_dev_do_close+0x991/0x1030 net/bluetooth/hci_core.c:1795 hci_unregister_dev+0x2d7/0x580 net/bluetooth/hci_core.c:4040 vhci_release+0x73/0xc0 drivers/bluetooth/hci_vhci.c:345 __fput+0x234/0x930 fs/file_table.c:311 task_work_run+0x125/0x1a0 kernel/task_work.c:188 exit_task_work include/linux/task_work.h:33 [inline] do_exit+0x616/0x20a0 kernel/exit.c:874 do_group_exit+0x12e/0x300 kernel/exit.c:996 __do_sys_exit_group kernel/exit.c:1007 [inline] __se_sys_exit_group kernel/exit.c:1005 [inline] __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1005 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f4b86255969 Code: Unable to access opcode bytes at RIP 0x7f4b8625593f. RSP: 002b:00007ffe0d6e0668 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007f4b862d790f RCX: 00007f4b86255969 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 0000000000000010 R08: 00007ffe0d6de406 R09: 00007ffe0d6e1920 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe0d6e1920 R13: 00007f4b862d789d R14: 0000555580d3e4a8 R15: 00007ffe0d6e29f0 Modules linked in: ---[ end trace 9ac41db2497c8f74 ]--- RIP: 0010:klist_put lib/klist.c:212 [inline] RIP: 0010:klist_del lib/klist.c:230 [inline] RIP: 0010:klist_remove+0x144/0x2f0 lib/klist.c:249 Code: ae 05 4d 89 f4 49 c1 ec 03 43 80 3c 2c 00 74 08 4c 89 f7 e8 5e e8 c0 fd 4d 8b 3e 49 83 e7 fe 49 8d 7f 58 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 74 05 e8 40 e8 c0 fd 49 8b 47 58 48 89 44 24 08 4c RSP: 0018:ffffc900030ef9a0 EFLAGS: 00010202 RAX: 000000000000000b RBX: ffff888028925940 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000058 RBP: ffffc900030efa88 R08: dffffc0000000000 R09: fffffbfff18e70a5 R10: fffffbfff18e70a5 R11: 1ffffffff18e70a4 R12: 1ffff1100505c20c R13: dffffc0000000000 R14: ffff8880282e1060 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc79d3cfe9c CR3: 0000000022dda000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: ae scas %es:(%rdi),%al 1: 05 4d 89 f4 49 add $0x49f4894d,%eax 6: c1 ec 03 shr $0x3,%esp 9: 43 80 3c 2c 00 cmpb $0x0,(%r12,%r13,1) e: 74 08 je 0x18 10: 4c 89 f7 mov %r14,%rdi 13: e8 5e e8 c0 fd call 0xfdc0e876 18: 4d 8b 3e mov (%r14),%r15 1b: 49 83 e7 fe and $0xfffffffffffffffe,%r15 1f: 49 8d 7f 58 lea 0x58(%r15),%rdi 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction 2f: 74 05 je 0x36 31: e8 40 e8 c0 fd call 0xfdc0e876 36: 49 8b 47 58 mov 0x58(%r15),%rax 3a: 48 89 44 24 08 mov %rax,0x8(%rsp) 3f: 4c rex.WR