================================================================== BUG: KCSAN: data-race in __ext4_handle_dirty_metadata / jbd2_journal_commit_transaction write to 0xffff88810383f000 of 8 bytes by task 4841 on cpu 1: jbd2_journal_commit_transaction+0x238/0x32b0 fs/jbd2/commit.c:443 kjournald2+0x263/0x480 fs/jbd2/journal.c:213 kthread+0x20b/0x230 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 read to 0xffff88810383f000 of 8 bytes by task 10125 on cpu 0: is_journal_aborted include/linux/jbd2.h:1647 [inline] is_handle_aborted include/linux/jbd2.h:1654 [inline] __ext4_handle_dirty_metadata+0x118/0x5a0 fs/ext4/ext4_jbd2.c:333 ext4_mb_mark_diskspace_used+0x8e9/0xc50 fs/ext4/mballoc.c:3269 ext4_mb_new_blocks+0xa56/0x1170 fs/ext4/mballoc.c:4993 ext4_ext_map_blocks+0x146f/0x1fd0 fs/ext4/extents.c:4238 ext4_map_blocks+0x726/0xff0 fs/ext4/inode.c:637 mpage_map_one_extent+0x10d/0x3a0 fs/ext4/inode.c:2396 mpage_map_and_submit_extent fs/ext4/inode.c:2449 [inline] ext4_writepages+0xa51/0x1e70 fs/ext4/inode.c:2801 do_writepages+0x7b/0x150 mm/page-writeback.c:2352 __filemap_fdatawrite_range+0x19d/0x1d0 mm/filemap.c:422 file_write_and_wait_range+0x9f/0x120 mm/filemap.c:761 ext4_sync_file+0x105/0x6e0 fs/ext4/fsync.c:151 vfs_fsync_range+0x107/0x120 fs/sync.c:200 generic_write_sync include/linux/fs.h:2737 [inline] ext4_buffered_write_iter+0x38f/0x3e0 fs/ext4/file.c:278 ext4_file_write_iter+0x47a/0x1060 fs/ext4/file.c:503 call_write_iter include/linux/fs.h:1901 [inline] do_iter_readv_writev+0x2cb/0x360 fs/read_write.c:740 do_iter_write+0x112/0x4c0 fs/read_write.c:866 vfs_iter_write+0x4c/0x70 fs/read_write.c:907 iter_file_splice_write+0x41a/0x770 fs/splice.c:686 do_splice_from fs/splice.c:764 [inline] direct_splice_actor+0x80/0xa0 fs/splice.c:933 splice_direct_to_actor+0x345/0x650 fs/splice.c:888 do_splice_direct+0xf5/0x170 fs/splice.c:976 do_sendfile+0x5e0/0xcf0 fs/read_write.c:1257 __do_sys_sendfile64 fs/read_write.c:1318 [inline] __se_sys_sendfile64 fs/read_write.c:1304 [inline] __x64_sys_sendfile64+0xf2/0x130 fs/read_write.c:1304 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 10125 Comm: syz-executor.1 Not tainted 5.11.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================