bcachefs (loop0): no nodes found for btree extents, continuing bcachefs (loop0): btree root subvolumes unreadable, must recover from scan bcachefs (loop0): no nodes found for btree subvolumes, continuing syz.0.0: attempt to access beyond end of device loop0: rw=6144, sector=18446744073709551615, nr_sectors = 8 limit=32768 bcachefs (loop0): superblock read error: I/O bcachefs (loop0): bch2_write_super(): fatal error : Unable to write superblock to sufficient devices (from __bch2_run_recovery_passes) done bcachefs (loop0): accounting_read... syz.0.0: attempt to access beyond end of device loop0: rw=6144, sector=18446744073709551615, nr_sectors = 8 limit=32768 bcachefs (loop0): superblock read error: I/O bcachefs (loop0): bch2_write_super(): fatal error : Unable to write superblock to sufficient devices (from __bch2_run_recovery_passes) done bcachefs (loop0): alloc_read... syz.0.0: attempt to access beyond end of device loop0: rw=6144, sector=18446744073709551615, nr_sectors = 8 limit=32768 bcachefs (loop0): superblock read error: I/O bcachefs (loop0): bch2_write_super(): fatal error : Unable to write superblock to sufficient devices (from __bch2_run_recovery_passes) done bcachefs (loop0): Fixed errors, running fsck a second time to verify fs is clean syz.0.0: attempt to access beyond end of device loop0: rw=6144, sector=18446744073709551615, nr_sectors = 8 limit=32768 bcachefs (loop0): superblock read error: I/O bcachefs (loop0): bch2_write_super(): fatal error : Unable to write superblock to sufficient devices (from bch2_fs_recovery) bcachefs (loop0): scanning for old btree nodes: min_version 0.24: unwritten_extents bcachefs (loop0): going read-write syz.0.0: attempt to access beyond end of device loop0: rw=6144, sector=18446744073709551615, nr_sectors = 8 limit=32768 bcachefs (loop0): superblock read error: I/O bcachefs (loop0): bch2_write_super(): fatal error : Unable to write superblock to sufficient devices (from bch2_fs_mark_dirty) bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 bcachefs (loop0): unclean shutdown complete, journal seq 10 bcachefs (loop0): error in recovery: erofs_sb_err bcachefs (loop0): bch2_fs_start(): error starting filesystem erofs_sb_err bcachefs (loop0): shutting down bcachefs (loop0): shutdown complete bcachefs: bch2_fs_get_tree() error: erofs_sb_err loop0: detected capacity change from 0 to 40427 loop0: detected capacity change from 0 to 32768 ======================================================= WARNING: The mand mount option has been deprecated and and is ignored by this kernel. Remove the mand option from the mount to silence this warning. ======================================================= ocfs2: Slot 0 on device (7,0) was already allocated to this node! (syz.0.0,5336,0):ocfs2_read_locked_inode:550 ERROR: bug expression: !!(fe->i_flags & cpu_to_le32(OCFS2_SYSTEM_FL)) != !!(args->fi_flags & OCFS2_FI_FLAG_SYSFILE) (syz.0.0,5336,0):ocfs2_read_locked_inode:550 ERROR: Inode 77: system file state is ambiguous ------------[ cut here ]------------ kernel BUG at fs/ocfs2/inode.c:550! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5336 Comm: syz.0.0 Not tainted 6.16.0-rc2-syzkaller-00047-g52da431bf03b #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:ocfs2_read_locked_inode fs/ocfs2/inode.c:547 [inline] RIP: 0010:ocfs2_iget+0x19a3/0x1a90 fs/ocfs2/inode.c:159 Code: bc 24 60 01 00 00 4c 8b 84 24 a0 01 00 00 4c 89 f7 48 c7 c6 4f 34 b7 8d ba 26 02 00 00 48 c7 c1 20 7a ca 8b e8 0e 30 15 00 90 <0f> 0b e8 26 32 22 fe 90 0f 0b e8 1e 32 22 fe 31 f6 65 ff 0d 05 c6 RSP: 0018:ffffc9000d546e60 EFLAGS: 00010246 RAX: bc4be86e3454df00 RBX: ffffc9000d546fa0 RCX: bc4be86e3454df00 RDX: ffffc9000dee2000 RSI: 000000000000a39e RDI: 000000000000a39f RBP: ffffc9000d5470d0 R08: ffff88801fc24293 R09: 1ffff11003f84852 R10: dffffc0000000000 R11: ffffed1003f84853 R12: ffff888042623a2c R13: 1ffff92001aa8dd4 R14: ffffc9000d546fc0 R15: 1000000000000000 FS: 00007ff884a5e6c0(0000) GS:ffff88808d251000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3cf726e000 CR3: 0000000042ee3000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: _ocfs2_get_system_file_inode fs/ocfs2/sysfile.c:142 [inline] ocfs2_get_system_file_inode+0x37a/0x7d0 fs/ocfs2/sysfile.c:112 ocfs2_init_local_system_inodes fs/ocfs2/super.c:491 [inline] ocfs2_mount_volume fs/ocfs2/super.c:1756 [inline] ocfs2_fill_super+0x419d/0x63d0 fs/ocfs2/super.c:1083 get_tree_bdev_flags+0x40b/0x4d0 fs/super.c:1681 vfs_get_tree+0x92/0x2b0 fs/super.c:1804 do_new_mount+0x24a/0xa40 fs/namespace.c:3885 do_mount fs/namespace.c:4222 [inline] __do_sys_mount fs/namespace.c:4433 [inline] __se_sys_mount+0x317/0x410 fs/namespace.c:4410 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff883b900ca 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:00007ff884a5de68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ff884a5def0 RCX: 00007ff883b900ca RDX: 00002000000002c0 RSI: 0000200000000140 RDI: 00007ff884a5deb0 RBP: 00002000000002c0 R08: 00007ff884a5def0 R09: 00000000000008c0 R10: 00000000000008c0 R11: 0000000000000246 R12: 0000200000000140 R13: 00007ff884a5deb0 R14: 0000000000004461 R15: 0000200000000500 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_read_locked_inode fs/ocfs2/inode.c:547 [inline] RIP: 0010:ocfs2_iget+0x19a3/0x1a90 fs/ocfs2/inode.c:159 Code: bc 24 60 01 00 00 4c 8b 84 24 a0 01 00 00 4c 89 f7 48 c7 c6 4f 34 b7 8d ba 26 02 00 00 48 c7 c1 20 7a ca 8b e8 0e 30 15 00 90 <0f> 0b e8 26 32 22 fe 90 0f 0b e8 1e 32 22 fe 31 f6 65 ff 0d 05 c6 RSP: 0018:ffffc9000d546e60 EFLAGS: 00010246 RAX: bc4be86e3454df00 RBX: ffffc9000d546fa0 RCX: bc4be86e3454df00 RDX: ffffc9000dee2000 RSI: 000000000000a39e RDI: 000000000000a39f RBP: ffffc9000d5470d0 R08: ffff88801fc24293 R09: 1ffff11003f84852 R10: dffffc0000000000 R11: ffffed1003f84853 R12: ffff888042623a2c R13: 1ffff92001aa8dd4 R14: ffffc9000d546fc0 R15: 1000000000000000 FS: 00007ff884a5e6c0(0000) GS:ffff88808d251000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3cf726e000 CR3: 0000000042ee3000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400