================================================================== BUG: KCSAN: data-race in jbd2_journal_dirty_metadata / jbd2_journal_dirty_metadata write to 0xffff888102e3e5c4 of 4 bytes by task 1819 on cpu 1: jbd2_journal_dirty_metadata+0x2f7/0x680 fs/jbd2/transaction.c:1547 __ext4_handle_dirty_metadata+0xe2/0x470 fs/ext4/ext4_jbd2.c:350 ext4_mb_clear_bb+0xe7a/0x11f0 fs/ext4/mballoc.c:6055 ext4_free_blocks+0x736/0x840 fs/ext4/mballoc.c:6164 ext4_remove_blocks+0x724/0x950 fs/ext4/extents.c:2538 ext4_ext_rm_leaf+0x6d1/0xf30 fs/ext4/extents.c:2704 ext4_ext_remove_space+0x86a/0x1470 fs/ext4/extents.c:2952 ext4_ext_truncate+0x11c/0x1a0 fs/ext4/extents.c:4412 ext4_truncate+0x74d/0xab0 fs/ext4/inode.c:4238 ext4_evict_inode+0xa1d/0xe40 fs/ext4/inode.c:286 evict+0x1aa/0x410 fs/inode.c:664 iput_final fs/inode.c:1744 [inline] iput+0x3f9/0x580 fs/inode.c:1770 d_delete_notify include/linux/fsnotify.h:261 [inline] vfs_rmdir+0x270/0x2f0 fs/namei.c:4030 do_rmdir+0x178/0x300 fs/namei.c:4078 __do_sys_unlinkat fs/namei.c:4258 [inline] __se_sys_unlinkat fs/namei.c:4252 [inline] __x64_sys_unlinkat+0xa0/0xb0 fs/namei.c:4252 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff888102e3e5c4 of 4 bytes by task 6727 on cpu 0: jbd2_journal_dirty_metadata+0x170/0x680 fs/jbd2/transaction.c:1515 __ext4_handle_dirty_metadata+0xe2/0x470 fs/ext4/ext4_jbd2.c:350 __ext4_new_inode+0x1b6f/0x2700 fs/ext4/ialloc.c:1233 ext4_symlink+0x2ba/0x6f0 fs/ext4/namei.c:3293 vfs_symlink+0x18a/0x280 fs/namei.c:4297 do_symlinkat+0xe2/0x330 fs/namei.c:4326 __do_sys_symlinkat fs/namei.c:4343 [inline] __se_sys_symlinkat fs/namei.c:4340 [inline] __x64_sys_symlinkat+0x5e/0x70 fs/namei.c:4340 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x00000000 -> 0x00000001 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 6727 Comm: syz-executor.4 Tainted: G W 5.18.0-rc6-syzkaller-00009-gfeb9c5e19e91 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================