loop0: detected capacity change from 0 to 32768 bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,wide_macs,journal_flush_disabled,fsck,norecovery,nojournal_transaction_names,reconstruct_alloc allowing incompatible features above 0.0: (unknown version) bcachefs (loop0): invalid journal entry, version=1.7: mi_btree_bitmap type=btree_keys in superblock: bad format 0, shutting down error not marked as autofix and not in fsck run fsck, and forward to devs so error can be marked for self-healing inconsistency detected - emergency read only at journal seq 0 bcachefs (loop0): bch2_fs_recovery(): error fsck_errors_not_fixed bcachefs (loop0): bch2_fs_start(): error starting filesystem fsck_errors_not_fixed bcachefs (loop0): shutting down bcachefs (loop0): shutdown complete bcachefs: bch2_fs_get_tree() error: fsck_errors_not_fixed loop0: detected capacity change from 0 to 64 Buffer I/O error on dev loop0, logical block 62, lost sync page write getblk(): invalid block size 512 requested logical block size: 32768 CPU: 0 UID: 0 PID: 5317 Comm: syz.0.0 Not tainted 6.15.0-rc4-syzkaller-00256-g95d3481af6dc #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 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 __getblk_slow fs/buffer.c:1133 [inline] bdev_getblk+0x59e/0x670 fs/buffer.c:1466 __bread_gfp+0x89/0x3c0 fs/buffer.c:1520 sb_bread include/linux/buffer_head.h:348 [inline] hfs_mdb_commit+0xc0a/0x1160 fs/hfs/mdb.c:318 hfs_sync_fs+0x15/0x20 fs/hfs/super.c:37 sync_filesystem+0xeb/0x230 fs/sync.c:56 hfs_reconfigure+0x66/0x270 fs/hfs/super.c:119 reconfigure_super+0x224/0x890 fs/super.c:1083 vfs_cmd_reconfigure fs/fsopen.c:262 [inline] vfs_fsconfig_locked+0x171/0x320 fs/fsopen.c:291 __do_sys_fsconfig fs/fsopen.c:467 [inline] __se_sys_fsconfig+0x78e/0x8d0 fs/fsopen.c:344 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3b0038e969 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:00007f3afc7f5038 EFLAGS: 00000246 ORIG_RAX: 00000000000001af RAX: ffffffffffffffda RBX: 00007f3b005b6080 RCX: 00007f3b0038e969 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000008 RBP: 00007f3b00410ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f3b005b6080 R15: 00007fff7f1a2318 hfs: unable to read volume bitmap Buffer I/O error on dev loop0, logical block 2, lost async page write ------------[ cut here ]------------ WARNING: CPU: 0 PID: 5317 at fs/buffer.c:1186 mark_buffer_dirty+0x2a9/0x410 fs/buffer.c:1186 Modules linked in: CPU: 0 UID: 0 PID: 5317 Comm: syz.0.0 Not tainted 6.15.0-rc4-syzkaller-00256-g95d3481af6dc #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:mark_buffer_dirty+0x2a9/0x410 fs/buffer.c:1186 Code: 4c 89 f7 e8 79 0d de ff 49 8b 3e be 20 00 00 00 5b 41 5c 41 5e 41 5f 5d e9 c4 34 fc ff e8 8f 18 7c ff eb 8c e8 88 18 7c ff 90 <0f> 0b 90 e9 95 fd ff ff e8 7a 18 7c ff 90 0f 0b 90 e9 bf fd ff ff RSP: 0018:ffffc9000d357be8 EFLAGS: 00010287 RAX: ffffffff8243a7c8 RBX: ffff88804348ee80 RCX: 0000000000100000 RDX: ffffc9000ea73000 RSI: 0000000000010c21 RDI: 0000000000010c22 RBP: 1ffff11008289801 R08: ffff88804348ee87 R09: 1ffff11008691dd0 R10: dffffc0000000000 R11: ffffed1008691dd1 R12: dffffc0000000000 R13: ffff88804144c638 R14: ffff8880535aa45b R15: ffff8880535aa400 FS: 00007f3afc7f56c0(0000) GS:ffff88808d6cb000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3b01113fc8 CR3: 000000003f2de000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfs_mdb_commit+0x489/0x1160 fs/hfs/mdb.c:283 hfs_sync_fs+0x15/0x20 fs/hfs/super.c:37 sync_filesystem+0x1cc/0x230 fs/sync.c:66 hfs_reconfigure+0x66/0x270 fs/hfs/super.c:119 reconfigure_super+0x224/0x890 fs/super.c:1083 vfs_cmd_reconfigure fs/fsopen.c:262 [inline] vfs_fsconfig_locked+0x171/0x320 fs/fsopen.c:291 __do_sys_fsconfig fs/fsopen.c:467 [inline] __se_sys_fsconfig+0x78e/0x8d0 fs/fsopen.c:344 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3b0038e969 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:00007f3afc7f5038 EFLAGS: 00000246 ORIG_RAX: 00000000000001af RAX: ffffffffffffffda RBX: 00007f3b005b6080 RCX: 00007f3b0038e969 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000008 RBP: 00007f3b00410ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f3b005b6080 R15: 00007fff7f1a2318