Bad inode number on dev loop5: 2 is out of range SysV FS: get root inode failed oldfs: cannot read superblock ------------[ cut here ]------------ VFS: brelse: Trying to free free buffer WARNING: CPU: 0 PID: 6589 at fs/buffer.c:1229 __brelse fs/buffer.c:1229 [inline] WARNING: CPU: 0 PID: 6589 at fs/buffer.c:1229 __brelse+0x6d/0xb0 fs/buffer.c:1223 Modules linked in: CPU: 0 UID: 0 PID: 6589 Comm: syz.5.168 Not tainted 6.13.0-rc6-syzkaller-00046-g0b7958fa05d5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__brelse fs/buffer.c:1229 [inline] RIP: 0010:__brelse+0x6d/0xb0 fs/buffer.c:1223 Code: 84 d2 75 52 44 8b 63 60 31 ff 44 89 e6 e8 2b cf 79 ff 45 85 e4 75 20 e8 21 d4 79 ff 90 48 c7 c7 60 23 7f 8b e8 74 0b 3a ff 90 <0f> 0b 90 90 5b 5d 41 5c e9 06 d4 79 ff e8 01 d4 79 ff be 04 00 00 RSP: 0018:ffffc90003ebfbf8 EFLAGS: 00010086 RAX: 0000000000000000 RBX: ffff88807808b570 RCX: ffffc9000d3ae000 RDX: 0000000000080000 RSI: ffffffff815a5146 RDI: 0000000000000001 RBP: ffff88807808b5d0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff88807808b570 R14: dffffc0000000000 R15: ffff8880b863ff80 FS: 00007f6f924816c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6f91568800 CR3: 0000000025572000 CR4: 0000000000350ef0 Call Trace: brelse include/linux/buffer_head.h:324 [inline] __invalidate_bh_lrus fs/buffer.c:1498 [inline] invalidate_bh_lru+0xa2/0x190 fs/buffer.c:1511 csd_do_func kernel/smp.c:134 [inline] smp_call_function_many_cond+0xf2d/0x1300 kernel/smp.c:875 on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1051 kill_bdev block/bdev.c:90 [inline] blkdev_flush_mapping+0xf1/0x290 block/bdev.c:670 blkdev_put_whole+0xc4/0xf0 block/bdev.c:677 bdev_release+0x47e/0x6d0 block/bdev.c:1102 blkdev_release+0x15/0x20 block/fops.c:635 __fput+0x3fb/0xb60 fs/file_table.c:450 task_work_run+0x151/0x250 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+0x27b/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6f915874ca Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 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:00007f6f92480e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffea RBX: 00007f6f92480ef0 RCX: 00007f6f915874ca RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f6f92480eb0 RBP: 0000000020000000 R08: 00007f6f92480ef0 R09: 0000000002000412 R10: 0000000002000412 R11: 0000000000000246 R12: 0000000020000100 R13: 00007f6f92480eb0 R14: 0000000000009eb5 R15: 0000000020000140