================================================================== BUG: KCSAN: data-race in __mark_inode_dirty / __writeback_single_inode read-write to 0xffff888100631700 of 8 bytes by task 19157 on cpu 0: __writeback_single_inode+0x201/0x870 fs/fs-writeback.c:1686 writeback_sb_inodes+0x4de/0xaa0 fs/fs-writeback.c:1941 __writeback_inodes_wb+0x9a/0x1a0 fs/fs-writeback.c:2012 wb_writeback+0x264/0x6f0 fs/fs-writeback.c:2119 wb_check_old_data_flush fs/fs-writeback.c:2223 [inline] wb_do_writeback fs/fs-writeback.c:2276 [inline] wb_workfn+0x615/0x940 fs/fs-writeback.c:2304 process_one_work kernel/workqueue.c:3267 [inline] process_scheduled_works+0x465/0x990 kernel/workqueue.c:3348 worker_thread+0x526/0x730 kernel/workqueue.c:3429 kthread+0x1d1/0x210 kernel/kthread.c:388 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 read to 0xffff888100631700 of 8 bytes by task 2748 on cpu 1: __mark_inode_dirty+0x19f/0x7e0 fs/fs-writeback.c:2499 mark_buffer_dirty+0x165/0x250 fs/buffer.c:1204 __jbd2_journal_temp_unlink_buffer+0x25a/0x2a0 fs/jbd2/transaction.c:2079 __jbd2_journal_unfile_buffer fs/jbd2/transaction.c:2093 [inline] __jbd2_journal_refile_buffer+0x1eb/0x230 fs/jbd2/transaction.c:2601 jbd2_journal_commit_transaction+0x2527/0x33d0 fs/jbd2/commit.c:1041 kjournald2+0x243/0x430 fs/jbd2/journal.c:201 kthread+0x1d1/0x210 kernel/kthread.c:388 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 value changed: 0x0000000000020084 -> 0x0000000000000004 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 2748 Comm: jbd2/sda1-8 Not tainted 6.9.0-rc6-syzkaller-00290-gb9158815de52 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 ==================================================================