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: 5348 Comm: syz.0.0 Not tainted 6.16.0-rc2-syzkaller-00024-g9afe652958c3 #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+0x5b0/0x690 fs/buffer.c:1467 __bread_gfp+0x89/0x3c0 fs/buffer.c:1521 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:1077 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+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f621bd8e929 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:00007f621cc42038 EFLAGS: 00000246 ORIG_RAX: 00000000000001af RAX: ffffffffffffffda RBX: 00007f621bfb5fa0 RCX: 00007f621bd8e929 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000008 RBP: 00007f621be10b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f621bfb5fa0 R15: 00007ffc32056528 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: 5348 at fs/buffer.c:1189 mark_buffer_dirty+0x2a9/0x410 fs/buffer.c:1189 Modules linked in: CPU: 0 UID: 0 PID: 5348 Comm: syz.0.0 Not tainted 6.16.0-rc2-syzkaller-00024-g9afe652958c3 #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:1189 Code: 4c 89 f7 e8 a9 bb dd ff 49 8b 3e be 20 00 00 00 5b 41 5c 41 5e 41 5f 5d e9 94 33 fc ff e8 6f 3d 7a ff eb 8c e8 68 3d 7a ff 90 <0f> 0b 90 e9 95 fd ff ff e8 5a 3d 7a ff 90 0f 0b 90 e9 bf fd ff ff RSP: 0018:ffffc9000342fbc8 EFLAGS: 00010283 RAX: ffffffff82461ed8 RBX: ffff8880444d5740 RCX: 0000000000100000 RDX: ffffc9000ee51000 RSI: 0000000000011572 RDI: 0000000000011573 RBP: 1ffff11003d96c01 R08: ffff8880444d5747 R09: 1ffff1100889aae8 R10: dffffc0000000000 R11: ffffed100889aae9 R12: dffffc0000000000 R13: ffff88801ecb6640 R14: ffff88804d25945b R15: ffff88804d259400 FS: 00007f621cc426c0(0000) GS:ffff88808d251000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000441e8000 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+0x1cf/0x230 fs/sync.c:66 hfs_reconfigure+0x66/0x270 fs/hfs/super.c:119 reconfigure_super+0x224/0x890 fs/super.c:1077 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+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f621bd8e929 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:00007f621cc42038 EFLAGS: 00000246 ORIG_RAX: 00000000000001af RAX: ffffffffffffffda RBX: 00007f621bfb5fa0 RCX: 00007f621bd8e929 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000008 RBP: 00007f621be10b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f621bfb5fa0 R15: 00007ffc32056528