================================================================== BUG: KCSAN: data-race in jbd2_journal_dirty_metadata / jbd2_journal_dirty_metadata write to 0xffff888105aec164 of 4 bytes by task 1817 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_do_update_inode fs/ext4/inode.c:5106 [inline] ext4_mark_iloc_dirty+0x513/0x890 fs/ext4/inode.c:5694 ext4_xattr_set_handle+0xf77/0x1120 fs/ext4/xattr.c:2402 ext4_initxattrs+0x66/0xb0 fs/ext4/xattr_security.c:44 security_inode_init_security+0x1a9/0x260 security/security.c:1100 ext4_init_security+0x30/0x40 fs/ext4/xattr_security.c:58 __ext4_new_inode+0x29a3/0x2fc0 fs/ext4/ialloc.c:1325 ext4_mkdir+0x28a/0x760 fs/ext4/namei.c:2929 vfs_mkdir+0x2c8/0x3d0 fs/namei.c:3883 do_mkdirat+0x12e/0x2c0 fs/namei.c:3909 __do_sys_mkdir fs/namei.c:3929 [inline] __se_sys_mkdir fs/namei.c:3927 [inline] __x64_sys_mkdir+0x40/0x50 fs/namei.c:3927 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 0xffff888105aec164 of 4 bytes by task 9460 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_do_update_inode fs/ext4/inode.c:5106 [inline] ext4_mark_iloc_dirty+0x513/0x890 fs/ext4/inode.c:5694 ext4_xattr_set_handle+0xf77/0x1120 fs/ext4/xattr.c:2402 ext4_initxattrs+0x66/0xb0 fs/ext4/xattr_security.c:44 security_inode_init_security+0x1a9/0x260 security/security.c:1100 ext4_init_security+0x30/0x40 fs/ext4/xattr_security.c:58 __ext4_new_inode+0x29a3/0x2fc0 fs/ext4/ialloc.c:1325 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: 9460 Comm: syz-executor.3 Not tainted 5.16.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================