------------[ cut here ]------------ WARNING: CPU: 1 PID: 6304 at fs/buffer.c:1173 mark_buffer_dirty+0x3a2/0x420 fs/buffer.c:1173 Modules linked in: CPU: 1 UID: 0 PID: 6304 Comm: segctord Not tainted 6.13.0-rc3-syzkaller-00073-geabcdba3ad40 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 RIP: 0010:mark_buffer_dirty+0x3a2/0x420 fs/buffer.c:1173 Code: 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 85 00 00 00 48 8b 3b be 20 00 00 00 e8 a9 47 fc ff e9 c8 fd ff ff e8 9f c2 79 ff 90 <0f> 0b 90 e9 8c fc ff ff e8 91 c2 79 ff 90 0f 0b 90 e9 b2 fc ff ff RSP: 0018:ffffc900034e7ab0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88807bdb3828 RCX: ffffffff82204ead RDX: ffff88801d3b8000 RSI: ffffffff82205221 RDI: 0000000000000001 RBP: ffffc900034e7c00 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88805910c108 R13: dffffc0000000000 R14: ffff88805910bfc0 R15: ffff88805910c0f8 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005606e7adc018 CR3: 00000000621aa000 CR4: 0000000000350ef0 Call Trace: nilfs_segctor_collect_dirty_files fs/nilfs2/segment.c:2033 [inline] nilfs_segctor_do_construct+0x571/0x81f0 fs/nilfs2/segment.c:2095 nilfs_segctor_construct+0x748/0x900 fs/nilfs2/segment.c:2479 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2587 [inline] nilfs_segctor_thread+0x645/0xa50 fs/nilfs2/segment.c:2701 kthread+0x2c4/0x3a0 kernel/kthread.c:389 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244