------------[ cut here ]------------ WARNING: CPU: 1 PID: 7448 at fs/buffer.c:1081 mark_buffer_dirty+0x394/0x7d0 Modules linked in: CPU: 1 PID: 7448 Comm: segctord Not tainted 6.1.115-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:mark_buffer_dirty+0x394/0x7d0 fs/buffer.c:1081 Code: d3 e0 ff 48 8b 7d 00 be 04 00 00 00 5b 41 5c 41 5d 41 5e 41 5f 5d e9 0b 6a fc ff e8 46 50 89 ff e9 42 ff ff ff e8 3c 50 89 ff <0f> 0b e9 b3 fc ff ff e8 30 50 89 ff 0f 0b e9 f6 fc ff ff e8 24 50 RSP: 0018:ffffc900039df6c8 EFLAGS: 00010293 RAX: ffffffff82014314 RBX: ffff88807bdaf001 RCX: ffff888026715940 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff82013fc1 R09: ffffed100b1d601e R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1100bb0c5c2 R13: 1ffff1100bb0c5c4 R14: ffff88805d862e20 R15: ffff888058eb00e8 FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff621e6ef8 CR3: 0000000065289000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nilfs_segctor_collect_dirty_files fs/nilfs2/segment.c:2006 [inline] nilfs_segctor_do_construct+0x33c/0x7100 fs/nilfs2/segment.c:2068 nilfs_segctor_construct+0x181/0x6a0 fs/nilfs2/segment.c:2451 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2559 [inline] nilfs_segctor_thread+0x552/0x11a0 fs/nilfs2/segment.c:2643 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295