================================================================== BUG: KCSAN: data-race in __ext4_handle_dirty_metadata / jbd2_journal_commit_transaction write to 0xffff8881444fa800 of 8 bytes by task 4840 on cpu 1: jbd2_journal_commit_transaction+0x2982/0x32b0 fs/jbd2/commit.c:1181 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 0xffff8881444fa800 of 8 bytes by task 23635 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_do_update_inode fs/ext4/inode.c:5144 [inline] ext4_mark_iloc_dirty+0x12f2/0x16f0 fs/ext4/inode.c:5725 __ext4_mark_inode_dirty+0x4d6/0x5e0 fs/ext4/inode.c:5919 ext4_dirty_inode+0xa6/0xc0 fs/ext4/inode.c:5955 __mark_inode_dirty+0x72/0x6b0 fs/fs-writeback.c:2262 mark_inode_dirty include/linux/fs.h:2181 [inline] dquot_alloc_space include/linux/quotaops.h:317 [inline] dquot_alloc_block include/linux/quotaops.h:334 [inline] ext4_mb_new_blocks+0xcb3/0x1170 fs/ext4/mballoc.c:4937 ext4_alloc_branch fs/ext4/indirect.c:333 [inline] ext4_ind_map_blocks+0xaac/0x1690 fs/ext4/indirect.c:626 ext4_map_blocks+0x6d9/0xff0 fs/ext4/inode.c:639 ext4_iomap_alloc fs/ext4/inode.c:3427 [inline] ext4_iomap_begin+0x513/0x6a0 fs/ext4/inode.c:3477 iomap_apply+0x8d/0x4a0 fs/iomap/apply.c:46 __iomap_dio_rw+0x448/0x9b0 fs/iomap/direct-io.c:517 iomap_dio_rw+0x30/0x70 fs/iomap/direct-io.c:605 ext4_dio_write_iter fs/ext4/file.c:552 [inline] ext4_file_write_iter+0xe6a/0x1060 fs/ext4/file.c:662 call_write_iter include/linux/fs.h:1901 [inline] new_sync_write fs/read_write.c:518 [inline] vfs_write+0x6f0/0x7e0 fs/read_write.c:605 ksys_write+0xce/0x180 fs/read_write.c:658 __do_sys_write fs/read_write.c:670 [inline] __se_sys_write fs/read_write.c:667 [inline] __x64_sys_write+0x3e/0x50 fs/read_write.c:667 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: 23635 Comm: syz-executor.0 Not tainted 5.11.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================