================================================================== BUG: KCSAN: data-race in __filemap_add_folio / jbd2_journal_submit_inode_data_buffers read-write to 0xffff888130093d40 of 8 bytes by task 6981 on cpu 0: __filemap_add_folio+0x2d9/0x7f0 mm/filemap.c:904 filemap_add_folio+0x6b/0x150 mm/filemap.c:959 __filemap_get_folio+0x4bd/0x680 mm/filemap.c:2003 pagecache_get_page+0x26/0x190 mm/folio-compat.c:126 grab_cache_page_write_begin+0x3f/0x50 mm/folio-compat.c:140 ext4_da_write_begin+0x323/0x640 fs/ext4/inode.c:2967 generic_perform_write+0x1d6/0x3f0 mm/filemap.c:3787 ext4_buffered_write_iter+0x222/0x330 fs/ext4/file.c:270 ext4_file_write_iter+0x2e3/0x1210 call_write_iter include/linux/fs.h:2050 [inline] new_sync_write fs/read_write.c:504 [inline] vfs_write+0x71c/0x890 fs/read_write.c:591 ksys_write+0xe8/0x1a0 fs/read_write.c:644 __do_sys_write fs/read_write.c:656 [inline] __se_sys_write fs/read_write.c:653 [inline] __x64_sys_write+0x3e/0x50 fs/read_write.c:653 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff888130093d40 of 8 bytes by task 1403 on cpu 1: jbd2_journal_submit_inode_data_buffers+0x56/0xf0 fs/jbd2/commit.c:195 ext4_journal_submit_inode_data_buffers+0x53/0x140 fs/ext4/super.c:549 journal_submit_data_buffers+0xf0/0x260 fs/jbd2/commit.c:256 jbd2_journal_commit_transaction+0x764/0x3180 fs/jbd2/commit.c:580 kjournald2+0x253/0x460 fs/jbd2/journal.c:213 kthread+0x1a9/0x1e0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 value changed: 0x0000000000001d98 -> 0x0000000000001d9b Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 1403 Comm: jbd2/sda1-8 Not tainted 5.18.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================