================================================================== BUG: KCSAN: data-race in __jbd2_journal_temp_unlink_buffer / jbd2_journal_dirty_metadata write to 0xffff8881075da4e0 of 4 bytes by task 18473 on cpu 1: __jbd2_journal_temp_unlink_buffer+0x1d6/0x290 fs/jbd2/transaction.c:2017 __jbd2_journal_file_buffer+0x175/0x380 fs/jbd2/transaction.c:2515 jbd2_journal_dirty_metadata+0x423/0x670 fs/jbd2/transaction.c:1587 __ext4_handle_dirty_metadata+0xc1/0x5a0 fs/ext4/ext4_jbd2.c:331 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_da_write_end+0x4c7/0x760 fs/ext4/inode.c:3101 generic_perform_write+0x23e/0x3a0 mm/filemap.c:3423 ext4_buffered_write_iter+0x2e5/0x3e0 fs/ext4/file.c:270 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:1312 [inline] __se_sys_sendfile64 fs/read_write.c:1304 [inline] __x64_sys_sendfile64+0xa9/0x130 fs/read_write.c:1304 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff8881075da4e0 of 4 bytes by task 18510 on cpu 0: jbd2_journal_dirty_metadata+0x1dd/0x670 fs/jbd2/transaction.c:1487 __ext4_handle_dirty_metadata+0xc1/0x5a0 fs/ext4/ext4_jbd2.c:331 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_da_write_end+0x4c7/0x760 fs/ext4/inode.c:3101 generic_perform_write+0x23e/0x3a0 mm/filemap.c:3423 ext4_buffered_write_iter+0x2e5/0x3e0 fs/ext4/file.c:270 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:1312 [inline] __se_sys_sendfile64 fs/read_write.c:1304 [inline] __x64_sys_sendfile64+0xa9/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: 18510 Comm: syz-executor.5 Not tainted 5.11.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================