================================================================== BUG: KCSAN: data-race in __mark_inode_dirty / redirty_tail_locked read-write to 0xffff88810a1caf60 of 8 bytes by task 6467 on cpu 0: redirty_tail_locked+0x56/0x270 fs/fs-writeback.c:1305 requeue_inode fs/fs-writeback.c:1561 [inline] writeback_sb_inodes+0x7b2/0xaa0 fs/fs-writeback.c:1923 wb_writeback+0x252/0x6e0 fs/fs-writeback.c:2070 wb_do_writeback fs/fs-writeback.c:2217 [inline] wb_workfn+0x1a8/0x8d0 fs/fs-writeback.c:2257 process_one_work+0x434/0x860 kernel/workqueue.c:2600 worker_thread+0x5f2/0xa10 kernel/workqueue.c:2751 kthread+0x1d7/0x210 kernel/kthread.c:389 ret_from_fork+0x2e/0x40 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 read to 0xffff88810a1caf60 of 8 bytes by task 3048 on cpu 1: __mark_inode_dirty+0x199/0x7d0 fs/fs-writeback.c:2452 mark_inode_dirty include/linux/fs.h:2154 [inline] generic_write_end+0x17e/0x240 fs/buffer.c:2320 ext4_da_write_end+0x49e/0x700 fs/ext4/inode.c:2988 generic_perform_write+0x26d/0x410 mm/filemap.c:3934 ext4_buffered_write_iter+0x1f6/0x370 fs/ext4/file.c:299 ext4_file_write_iter+0x283/0x1230 call_write_iter include/linux/fs.h:1877 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x4ab/0x7d0 fs/read_write.c:584 ksys_write+0xeb/0x1a0 fs/read_write.c:637 __do_sys_write fs/read_write.c:649 [inline] __se_sys_write fs/read_write.c:646 [inline] __x64_sys_write+0x42/0x50 fs/read_write.c:646 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x0000000000020084 -> 0x0000000000000004 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 3048 Comm: syz-executor.0 Not tainted 6.5.0-rc5-syzkaller-00056-gcacc6e22932f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 ==================================================================