loop0: detected capacity change from 0 to 4096 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 4363 at fs/nilfs2/btree.c:2349 nilfs_btree_mark+0x1c1/0x200 fs/nilfs2/btree.c:2349 Modules linked in: CPU: 1 PID: 4363 Comm: syz.0.17 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026 RIP: 0010:nilfs_btree_mark+0x1c1/0x200 fs/nilfs2/btree.c:2349 Code: f5 25 00 00 65 48 8b 04 25 28 00 00 00 48 3b 44 24 10 75 1f 89 e8 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 bf 22 6b fe <0f> 0b bd fe ff ff ff eb c9 e8 61 6a ae 06 44 89 f1 80 e1 07 80 c1 RSP: 0018:ffffc9000363f6b0 EFLAGS: 00010293 RAX: ffffffff830dfe51 RBX: ffff88807b087800 RCX: ffff8880225f8000 RDX: 0000000000000000 RSI: 00000000fffffffe RDI: 00000000fffffffe RBP: 00000000fffffffe R08: 00000000208a0b70 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffed100f610fd3 R12: ffff88805c7a0050 R13: dffffc0000000000 R14: ffff88805c7a0018 R15: 36744777f4de0100 FS: 0000555580042500(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6c3d7ea000 CR3: 0000000023abc000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nilfs_bmap_mark+0xb0/0x170 fs/nilfs2/bmap.c:420 nilfs_ioctl_mark_blocks_dirty fs/nilfs2/ioctl.c:779 [inline] nilfs_ioctl_prepare_clean_segments+0x494/0x7f0 fs/nilfs2/ioctl.c:814 nilfs_clean_segments+0x189/0xa30 fs/nilfs2/segment.c:2518 nilfs_ioctl_clean_segments fs/nilfs2/ioctl.c:940 [inline] nilfs_ioctl+0x2052/0x2190 fs/nilfs2/ioctl.c:1304 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7eff25b27819 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffe0262ce08 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007eff25da0fa0 RCX: 00007eff25b27819 RDX: 0000200000000000 RSI: 0000000040786e88 RDI: 0000000000000004 RBP: 00007eff25bbdc91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007eff25da0fac R14: 00007eff25da0fa0 R15: 00007eff25da0fa0