================================================================== BUG: KCSAN: data-race in jbd2_journal_commit_transaction / jbd2_log_wait_commit write to 0xffff888102ba6468 of 4 bytes by task 343 on cpu 1: jbd2_journal_commit_transaction+0x2ad5/0x3430 fs/jbd2/commit.c:1154 kjournald2+0x268/0x490 fs/jbd2/journal.c:213 kthread+0x262/0x280 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 read to 0xffff888102ba6468 of 4 bytes by task 30513 on cpu 0: jbd2_log_wait_commit+0xb3/0x210 fs/jbd2/journal.c:712 jbd2_complete_transaction+0x101/0x110 fs/jbd2/journal.c:846 ext4_fc_commit+0x24e/0x14c0 fs/ext4/fast_commit.c:1215 ext4_fsync_journal fs/ext4/fsync.c:115 [inline] ext4_sync_file+0x336/0x670 fs/ext4/fsync.c:174 vfs_fsync_range+0x107/0x120 fs/sync.c:200 generic_write_sync include/linux/fs.h:2955 [inline] iomap_dio_complete+0x2d5/0x3c0 fs/iomap/direct-io.c:125 iomap_dio_rw+0x4e/0x70 fs/iomap/direct-io.c:652 ext4_dio_write_iter fs/ext4/file.c:568 [inline] ext4_file_write_iter+0xaa9/0x11f0 fs/ext4/file.c:678 call_write_iter include/linux/fs.h:2163 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0x7bc/0x900 fs/read_write.c:594 ksys_write+0xd9/0x190 fs/read_write.c:647 __do_sys_write fs/read_write.c:659 [inline] __se_sys_write fs/read_write.c:656 [inline] __x64_sys_write+0x3e/0x50 fs/read_write.c:656 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x00000911 -> 0x00000912 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 30513 Comm: syz-executor.3 Not tainted 5.15.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================