VFS: Found a Xenix FS (block size = 1024) on device loop4 Bad inode number on dev loop4: 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: 5393 at fs/buffer.c:1235 __brelse fs/buffer.c:1235 [inline] WARNING: CPU: 0 PID: 5393 at fs/buffer.c:1235 brelse include/linux/buffer_head.h:324 [inline] WARNING: CPU: 0 PID: 5393 at fs/buffer.c:1235 __invalidate_bh_lrus fs/buffer.c:1504 [inline] WARNING: CPU: 0 PID: 5393 at fs/buffer.c:1235 invalidate_bh_lru+0x102/0x1b0 fs/buffer.c:1517 Modules linked in: CPU: 0 UID: 0 PID: 5393 Comm: syz.4.31 Not tainted 6.11.0-next-20240927-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__brelse fs/buffer.c:1235 [inline] RIP: 0010:brelse include/linux/buffer_head.h:324 [inline] RIP: 0010:__invalidate_bh_lrus fs/buffer.c:1504 [inline] RIP: 0010:invalidate_bh_lru+0x102/0x1b0 fs/buffer.c:1517 Code: 04 f9 da ff f0 ff 0b eb 25 e8 9a 34 71 ff 41 80 3c 2e 00 75 2a eb 30 e8 8c 34 71 ff 90 48 c7 c7 60 96 19 8c e8 5f 30 32 ff 90 <0f> 0b 90 90 48 bd 00 00 00 00 00 fc ff df 41 80 3c 2e 00 74 08 4c RSP: 0018:ffffc900041c7a08 EFLAGS: 00010046 RAX: 0db9541bd4887800 RBX: ffff88805d871a58 RCX: 0000000000040000 RDX: ffffc9000a0b9000 RSI: 000000000000de5d RDI: 000000000000de5e RBP: 0000000000000000 R08: ffffffff8155d402 R09: 1ffff110170c519a R10: dffffc0000000000 R11: ffffed10170c519b R12: ffff8880b8639960 R13: 0000000000000008 R14: 1ffff110170c732d R15: ffff8880b8639968 FS: 00007f3c6710c6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3271fffc CR3: 000000002ee84000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: csd_do_func kernel/smp.c:134 [inline] smp_call_function_many_cond+0x1760/0x2ca0 kernel/smp.c:875 on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1051 kill_bdev block/bdev.c:90 [inline] blkdev_flush_mapping+0xfe/0x270 block/bdev.c:671 blkdev_put_whole block/bdev.c:678 [inline] bdev_release+0x460/0x700 block/bdev.c:1103 blkdev_release+0x15/0x20 block/fops.c:639 __fput+0x23f/0x880 fs/file_table.c:431 task_work_run+0x24f/0x310 kernel/task_work.c:228 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:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3c6637f79a 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:00007f3c6710be68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffea RBX: 00007f3c6710bef0 RCX: 00007f3c6637f79a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f3c6710beb0 RBP: 0000000020000000 R08: 00007f3c6710bef0 R09: 0000000002000412 R10: 0000000002000412 R11: 0000000000000246 R12: 0000000020000100 R13: 00007f3c6710beb0 R14: 0000000000009eb9 R15: 0000000020000140