------------[ cut here ]------------ WARNING: CPU: 0 PID: 3619 at fs/buffer.c:1081 mark_buffer_dirty+0x60a/0x9b0 fs/buffer.c:1081 Modules linked in: CPU: 0 PID: 3619 Comm: segctord Not tainted 6.0.0-syzkaller-09589-g55be6084c8e0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 RIP: 0010:mark_buffer_dirty+0x60a/0x9b0 fs/buffer.c:1081 Code: 89 f5 41 83 e5 01 4c 89 ee e8 12 a2 93 ff 4d 85 ed 0f 84 d3 fd ff ff e8 24 a5 93 ff 49 8d 5e ff e9 c5 fd ff ff e8 16 a5 93 ff <0f> 0b e9 25 fa ff ff e8 0a a5 93 ff 0f 0b e9 44 fa ff ff e8 fe a4 RSP: 0018:ffffc90003edfb10 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff8880733ec9f8 RCX: 0000000000000000 RDX: ffff88802717d880 RSI: ffffffff81e7a52a RDI: 0000000000000001 RBP: ffff888073310700 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: dffffc0000000000 R13: ffff8880127ab1f0 R14: ffff8880733ec9f8 R15: ffff8880733107b0 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe8e6f39f70 CR3: 0000000070bee000 CR4: 0000000000350ef0 Call Trace: nilfs_segctor_collect_dirty_files fs/nilfs2/segment.c:1960 [inline] nilfs_segctor_do_construct+0x480/0x6970 fs/nilfs2/segment.c:2019 nilfs_segctor_construct+0x8e3/0xb30 fs/nilfs2/segment.c:2375 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2483 [inline] nilfs_segctor_thread+0xa61/0xf30 fs/nilfs2/segment.c:2566 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306