================================================================== BUG: KCSAN: data-race in __jbd2_journal_file_buffer / jbd2_journal_dirty_metadata write to 0xffff888107575418 of 8 bytes by task 4814 on cpu 1: __jbd2_journal_file_buffer+0x18d/0x380 fs/jbd2/transaction.c:2518 __jbd2_journal_refile_buffer+0x155/0x230 fs/jbd2/transaction.c:2612 jbd2_journal_commit_transaction+0x24b6/0x3290 fs/jbd2/commit.c:1084 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:294 read to 0xffff888107575418 of 8 bytes by task 10059 on cpu 0: jbd2_journal_dirty_metadata+0xe3/0x670 fs/jbd2/transaction.c:1477 __ext4_handle_dirty_metadata+0xc6/0x590 fs/ext4/ext4_jbd2.c:331 ext4_do_update_inode fs/ext4/inode.c:5141 [inline] ext4_mark_iloc_dirty+0x12f2/0x16f0 fs/ext4/inode.c:5724 __ext4_mark_inode_dirty+0x4db/0x5e0 fs/ext4/inode.c:5918 __ext4_ext_dirty fs/ext4/extents.c:169 [inline] ext4_ext_rm_leaf+0x802/0xe40 fs/ext4/extents.c:2700 ext4_ext_remove_space+0x936/0x1410 fs/ext4/extents.c:2912 ext4_ext_truncate+0xfe/0x170 fs/ext4/extents.c:4370 ext4_truncate+0x844/0xbd0 fs/ext4/inode.c:4264 ext4_setattr+0xbc5/0xf80 fs/ext4/inode.c:5504 notify_change+0x88f/0xa80 fs/attr.c:398 do_truncate+0xe8/0x130 fs/open.c:64 handle_truncate fs/namei.c:3018 [inline] do_open fs/namei.c:3369 [inline] path_openat+0x1b78/0x21b0 fs/namei.c:3498 do_filp_open+0xbd/0x1d0 fs/namei.c:3525 do_sys_openat2+0xa3/0x250 fs/open.c:1187 do_sys_open fs/open.c:1203 [inline] __do_sys_openat fs/open.c:1219 [inline] __se_sys_openat fs/open.c:1214 [inline] __x64_sys_openat+0xef/0x110 fs/open.c:1214 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 10059 Comm: syz-executor.2 Not tainted 5.12.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================