------------[ cut here ]------------ WARNING: CPU: 0 PID: 5140 at fs/buffer.c:1084 mark_buffer_dirty+0x2e8/0x574 fs/buffer.c:1084 Modules linked in: CPU: 0 PID: 5140 Comm: segctord Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : mark_buffer_dirty+0x2e8/0x574 fs/buffer.c:1084 lr : mark_buffer_dirty+0x2e8/0x574 fs/buffer.c:1084 sp : ffff800021187560 x29: ffff800021187560 x28: ffff0000ce741328 x27: dfff800000000000 x26: ffff0000dbff8e18 x25: ffff0000dbff8e08 x24: ffff0000e0164020 x23: ffff800021187aa0 x22: ffff0000dbff8008 x21: ffff0000e0164000 x20: 0000000000000008 x19: ffff0000dbe353a0 x18: ffff8000211877e0 x17: 1fffe00036831b8e x16: ffff80000830532c x15: 0000000000032257 x14: 1ffff0000295806a x13: dfff800000000000 x12: 0000000000000001 x11: 0000000000000001 x10: 0000000000000000 x9 : ffff0000c2299b40 x8 : ffff800008a76f00 x7 : ffff800009cfb518 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800008a76c44 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: mark_buffer_dirty+0x2e8/0x574 fs/buffer.c:1084 nilfs_segctor_collect_dirty_files fs/nilfs2/segment.c:2006 [inline] nilfs_segctor_do_construct+0x2c8/0x68f0 fs/nilfs2/segment.c:2068 nilfs_segctor_construct+0x13c/0x558 fs/nilfs2/segment.c:2453 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2561 [inline] nilfs_segctor_thread+0x3e8/0xe60 fs/nilfs2/segment.c:2645 kthread+0x37c/0x45c kernel/kthread.c:334 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870 irq event stamp: 52 hardirqs last enabled at (51): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (51): [] _raw_spin_unlock_irqrestore+0xac/0x158 kernel/locking/spinlock.c:194 hardirqs last disabled at (52): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (0): [] copy_process+0x12c4/0x3750 kernel/fork.c:2151 softirqs last disabled at (0): [<0000000000000000>] 0x0 ---[ end trace 01309e918e74d9fd ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 5140 at fs/nilfs2/dat.c:200 nilfs_dat_commit_end+0x5b4/0x718 Modules linked in: CPU: 0 PID: 5140 Comm: segctord Tainted: G W 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : nilfs_dat_commit_end+0x5b4/0x718 lr : nilfs_dat_commit_end+0x5b0/0x718 fs/nilfs2/dat.c:200 sp : ffff8000211870e0 x29: ffff800021187100 x28: 1fffe00018453611 x27: 1fffe0001b6431f6 x26: dfff800000000000 x25: 0000000000000003 x24: ffff0000e0cd69e0 x23: 0000000000000003 x22: ffff0000c229b088 x21: ffff0000c2299b40 x20: ffff0000db218fb0 x19: ffff0000db218f98 x18: ffff800021186cc0 x17: 0000000000000000 x16: ffff8000082eae98 x15: 000000000003239e x14: 1ffff0000295806a x13: dfff800000000000 x12: 0000000000000001 x11: 0000000000000001 x10: 0000000000000000 x9 : ffff0000c2299b40 x8 : ffff800009ce84b4 x7 : 0000000000000000 x6 : 000000000000003f x5 : 0000000000000040 x4 : 0000000000000000 x3 : ffff0000e0cd6000 x2 : ffff0000e5b87bc8 x1 : 0000000000000003 x0 : 00000000003f0002 Call trace: nilfs_dat_commit_end+0x5b4/0x718 nilfs_dat_commit_update+0x38/0x58 fs/nilfs2/dat.c:250 nilfs_btree_commit_update_v+0x88/0x394 fs/nilfs2/btree.c:1956 nilfs_btree_commit_propagate_v fs/nilfs2/btree.c:2029 [inline] nilfs_btree_propagate_v fs/nilfs2/btree.c:2062 [inline] nilfs_btree_propagate+0xb48/0xeb0 fs/nilfs2/btree.c:2104 nilfs_bmap_propagate+0x7c/0x130 fs/nilfs2/bmap.c:345 nilfs_collect_file_node+0x48/0x58 fs/nilfs2/segment.c:602 nilfs_segctor_apply_buffers+0x170/0x31c fs/nilfs2/segment.c:1047 nilfs_segctor_scan_file+0x748/0xd9c fs/nilfs2/segment.c:1107 nilfs_segctor_collect_blocks fs/nilfs2/segment.c:1205 [inline] nilfs_segctor_collect fs/nilfs2/segment.c:1532 [inline] nilfs_segctor_do_construct+0x1828/0x68f0 fs/nilfs2/segment.c:2088 nilfs_segctor_construct+0x13c/0x558 fs/nilfs2/segment.c:2453 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2561 [inline] nilfs_segctor_thread+0x3e8/0xe60 fs/nilfs2/segment.c:2645 kthread+0x37c/0x45c kernel/kthread.c:334 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870 irq event stamp: 384 hardirqs last enabled at (383): [] ___slab_alloc+0xc48/0xdbc mm/slub.c:2963 hardirqs last disabled at (384): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (254): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (254): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (217): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (217): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (217): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (217): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace 01309e918e74d9fe ]---