bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock modified by another process (seq 18446744073709551615 expected 42) bcachefs (loop0): error reading btree root btree=freespace level=0: btree_node_read_error, fixing bcachefs (loop0): check_topology... bcachefs (loop0): btree root snapshots unreadable, must recover from scan bcachefs (loop0): running recovery pass scan_for_btree_nodes (1), currently at check_topology (2) - rewinding bcachefs (loop0): bch2_check_root(): error restart_recovery bcachefs (loop0): scan_for_btree_nodes... bcachefs (loop0): btree node scan found 1 nodes after overwrites bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock modified by another process (seq 18446744073709551615 expected 42) done bcachefs (loop0): check_topology... bcachefs (loop0): btree root snapshots unreadable, must recover from scan bcachefs (loop0): no nodes found for btree snapshots, continuing bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock modified by another process (seq 18446744073709551615 expected 42) done bcachefs (loop0): accounting_read... bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock modified by another process (seq 18446744073709551615 expected 42) done bcachefs (loop0): alloc_read... bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock modified by another process (seq 18446744073709551615 expected 42) done bcachefs (loop0): snapshots_read... bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock modified by another process (seq 18446744073709551615 expected 42) done bcachefs (loop0): check_allocations... bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock modified by another process (seq 18446744073709551615 expected 42) bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing bcachefs (loop0): bucket 0:38 gen 0 different types of data in same bucket: journal, btree while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing bcachefs (loop0): bch2_write_super(): fatal error loop0: Superblock modified by another process (seq 18446744073709551615 expected 42) bcachefs (loop0): bch2_check_fix_ptr(): error error deleting journal bucket 38 erofs_sb_err bcachefs (loop0): bch2_gc_mark_key(): error erofs_sb_err bcachefs (loop0): bch2_gc_btree(): error erofs_sb_err bcachefs (loop0): bch2_gc_btrees(): error erofs_sb_err bcachefs (loop0): bch2_check_allocations(): error erofs_sb_err 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 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: Mounting device (7,0) on (node local, slot 0) with writeback data mode. netlink: 20 bytes leftover after parsing attributes in process `syz.0.0'. ------------[ cut here ]------------ kernel BUG at fs/ocfs2/alloc.c:5581! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5366 Comm: syz.0.0 Not tainted syzkaller #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_remove_extent+0x1ecf/0x2020 fs/ocfs2/alloc.c:5581 Code: fa ff ff 48 8b 4c 24 08 80 e1 07 fe c1 38 c1 0f 8c 95 fa ff ff 48 8b 7c 24 08 e8 fc 16 8d fe e9 86 fa ff ff e8 32 27 28 fe 90 <0f> 0b f3 0f 1e fa 44 89 6c 24 10 65 8b 1d c3 a8 09 0f bf 07 00 00 RSP: 0018:ffffc9000d2ee980 EFLAGS: 00010287 RAX: ffffffff8397975e RBX: ffffc9000d2ef178 RCX: 0000000000100000 RDX: ffffc9000e14a000 RSI: 0000000000002a87 RDI: 0000000000002a88 RBP: ffffc9000d2eecd0 R08: ffff888000358000 R09: 0000000000000006 R10: 00000000fffffffc R11: 0000000000000002 R12: 1ffff1100a83409a R13: 0000000000000007 R14: ffff8880541a04d0 R15: dffffc0000000000 FS: 00007f5a549026c0(0000) GS:ffff88808d20c000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f658708f000 CR3: 0000000043d10000 CR4: 0000000000352ef0 Call Trace: ocfs2_remove_btree_range+0xdef/0x1540 fs/ocfs2/alloc.c:5778 ocfs2_commit_truncate+0xb64/0x21d0 fs/ocfs2/alloc.c:7373 ocfs2_truncate_file+0xca2/0x1420 fs/ocfs2/file.c:509 ocfs2_setattr+0x1520/0x1b40 fs/ocfs2/file.c:1212 notify_change+0xb33/0xe40 fs/attr.c:552 do_truncate+0x1a4/0x220 fs/open.c:68 handle_truncate fs/namei.c:3508 [inline] do_open fs/namei.c:3891 [inline] path_openat+0x306c/0x3830 fs/namei.c:4046 do_filp_open+0x1fa/0x410 fs/namei.c:4073 do_sys_openat2+0x121/0x1c0 fs/open.c:1435 do_sys_open fs/open.c:1450 [inline] __do_sys_openat fs/open.c:1466 [inline] __se_sys_openat fs/open.c:1461 [inline] __x64_sys_openat+0x138/0x170 fs/open.c:1461 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:0x7f5a5398eba9 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:00007f5a54902038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f5a53bd5fa0 RCX: 00007f5a5398eba9 RDX: 0000000000004242 RSI: 0000200000000000 RDI: ffffffffffffff9c RBP: 00007f5a53a11e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5a53bd6038 R14: 00007f5a53bd5fa0 R15: 00007ffe3d1b5ca8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_remove_extent+0x1ecf/0x2020 fs/ocfs2/alloc.c:5581 Code: fa ff ff 48 8b 4c 24 08 80 e1 07 fe c1 38 c1 0f 8c 95 fa ff ff 48 8b 7c 24 08 e8 fc 16 8d fe e9 86 fa ff ff e8 32 27 28 fe 90 <0f> 0b f3 0f 1e fa 44 89 6c 24 10 65 8b 1d c3 a8 09 0f bf 07 00 00 RSP: 0018:ffffc9000d2ee980 EFLAGS: 00010287 RAX: ffffffff8397975e RBX: ffffc9000d2ef178 RCX: 0000000000100000 RDX: ffffc9000e14a000 RSI: 0000000000002a87 RDI: 0000000000002a88 RBP: ffffc9000d2eecd0 R08: ffff888000358000 R09: 0000000000000006 R10: 00000000fffffffc R11: 0000000000000002 R12: 1ffff1100a83409a R13: 0000000000000007 R14: ffff8880541a04d0 R15: dffffc0000000000 FS: 00007f5a549026c0(0000) GS:ffff88808d20c000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000007000 CR3: 0000000043d10000 CR4: 0000000000352ef0