================================================================== BUG: KCSAN: data-race in __mark_inode_dirty / move_expired_inodes read-write to 0xffff8881069461b0 of 8 bytes by task 26728 on cpu 0: move_expired_inodes+0x17b/0x410 fs/fs-writeback.c:1405 queue_io+0xe1/0x2e0 fs/fs-writeback.c:1457 wb_writeback+0x22a/0x6e0 fs/fs-writeback.c:2090 wb_check_start_all fs/fs-writeback.c:2220 [inline] wb_do_writeback fs/fs-writeback.c:2246 [inline] wb_workfn+0x4ea/0x8d0 fs/fs-writeback.c:2279 process_one_work kernel/workqueue.c:2633 [inline] process_scheduled_works+0x5b8/0xa40 kernel/workqueue.c:2706 worker_thread+0x525/0x730 kernel/workqueue.c:2787 kthread+0x1d7/0x210 kernel/kthread.c:388 ret_from_fork+0x48/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 read to 0xffff8881069461b0 of 8 bytes by task 32632 on cpu 1: __mark_inode_dirty+0x199/0x7d0 fs/fs-writeback.c:2474 mark_buffer_dirty+0x165/0x250 fs/buffer.c:1204 __block_commit_write fs/buffer.c:2175 [inline] block_write_end+0x158/0x2e0 fs/buffer.c:2251 ext4_da_do_write_end fs/ext4/inode.c:2955 [inline] ext4_da_write_end+0x1ad/0x860 fs/ext4/inode.c:3028 generic_perform_write+0x267/0x410 mm/filemap.c:3941 ext4_buffered_write_iter+0x1f6/0x370 fs/ext4/file.c:299 ext4_file_write_iter+0x297/0xe10 call_write_iter include/linux/fs.h:2085 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0x760/0x8d0 fs/read_write.c:590 ksys_write+0xeb/0x1a0 fs/read_write.c:643 __do_sys_write fs/read_write.c:655 [inline] __se_sys_write fs/read_write.c:652 [inline] __x64_sys_write+0x42/0x50 fs/read_write.c:652 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b value changed: 0x0000000000000004 -> 0x0000000000020084 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 32632 Comm: syz-executor.3 Not tainted 6.8.0-rc4-syzkaller-00410-gc02197fc9076 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 ==================================================================