================================================================== BUG: KCSAN: data-race in jbd2_journal_dirty_metadata / jbd2_journal_dirty_metadata write to 0xffff888103de75c4 of 4 bytes by task 1818 on cpu 1: jbd2_journal_dirty_metadata+0x2f6/0x690 fs/jbd2/transaction.c:1538 __ext4_handle_dirty_metadata+0xfb/0x5a0 fs/ext4/ext4_jbd2.c:348 ext4_free_blocks+0x1705/0x1b00 fs/ext4/mballoc.c:6097 ext4_remove_blocks+0x7fb/0xa10 fs/ext4/extents.c:2541 ext4_ext_rm_leaf+0x6a7/0xef0 fs/ext4/extents.c:2707 ext4_ext_remove_space+0x956/0x14c0 fs/ext4/extents.c:2955 ext4_ext_truncate+0xfe/0x170 fs/ext4/extents.c:4417 ext4_truncate+0x76e/0xae0 fs/ext4/inode.c:4201 ext4_evict_inode+0xad5/0xf10 fs/ext4/inode.c:287 evict+0x1aa/0x410 fs/inode.c:590 iput_final fs/inode.c:1670 [inline] iput+0x3ef/0x580 fs/inode.c:1696 dentry_unlink_inode+0x23d/0x250 fs/dcache.c:376 d_delete+0x78/0xa0 fs/dcache.c:2505 vfs_rmdir+0x2bf/0x2e0 fs/namei.c:3982 do_rmdir+0x18d/0x330 fs/namei.c:4030 __do_sys_rmdir fs/namei.c:4049 [inline] __se_sys_rmdir fs/namei.c:4047 [inline] __x64_sys_rmdir+0x2c/0x30 fs/namei.c:4047 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff888103de75c4 of 4 bytes by task 3721 on cpu 0: jbd2_journal_dirty_metadata+0x16f/0x690 fs/jbd2/transaction.c:1506 __ext4_handle_dirty_metadata+0xfb/0x5a0 fs/ext4/ext4_jbd2.c:348 __ext4_new_inode+0x1f0b/0x2fc0 fs/ext4/ialloc.c:1233 ext4_symlink+0x2cc/0x700 fs/ext4/namei.c:3293 vfs_symlink+0x241/0x330 fs/namei.c:4248 do_symlinkat+0x104/0x380 fs/namei.c:4277 __do_sys_symlink fs/namei.c:4299 [inline] __se_sys_symlink fs/namei.c:4297 [inline] __x64_sys_symlink+0x52/0x60 fs/namei.c:4297 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 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: 3721 Comm: syz-executor.4 Not tainted 5.16.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================