================================================================== BUG: KCSAN: data-race in __jbd2_journal_file_buffer / jbd2_journal_dirty_metadata write to 0xffff8881076ac098 of 8 bytes by task 4812 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 0xffff8881076ac098 of 8 bytes by task 10706 on cpu 0: jbd2_journal_dirty_metadata+0x17f/0x670 fs/jbd2/transaction.c:1486 __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_xattr_set_handle+0xebb/0x1070 fs/ext4/xattr.c:2415 ext4_xattr_set+0x149/0x210 fs/ext4/xattr.c:2493 ext4_xattr_trusted_set+0x38/0x50 fs/ext4/xattr_trusted.c:38 __vfs_setxattr+0x29c/0x2d0 fs/xattr.c:180 __vfs_setxattr_noperm+0xf1/0x360 fs/xattr.c:214 __vfs_setxattr_locked+0x1a8/0x1c0 fs/xattr.c:274 vfs_setxattr+0x145/0x2a0 fs/xattr.c:300 ovl_do_setxattr fs/overlayfs/overlayfs.h:197 [inline] ovl_verify_set_fh+0x100/0x250 fs/overlayfs/namei.c:467 ovl_verify_upper fs/overlayfs/overlayfs.h:427 [inline] ovl_get_indexdir fs/overlayfs/super.c:1551 [inline] ovl_fill_super+0x2c47/0x3cc0 fs/overlayfs/super.c:2060 mount_nodev+0x4f/0xd0 fs/super.c:1413 ovl_mount+0x25/0x30 fs/overlayfs/super.c:2126 legacy_get_tree+0x70/0xc0 fs/fs_context.c:592 vfs_get_tree+0x4a/0x1a0 fs/super.c:1497 do_new_mount fs/namespace.c:2903 [inline] path_mount+0x11b9/0x1c00 fs/namespace.c:3233 do_mount fs/namespace.c:3246 [inline] __do_sys_mount fs/namespace.c:3454 [inline] __se_sys_mount+0x23d/0x2e0 fs/namespace.c:3431 __x64_sys_mount+0x63/0x70 fs/namespace.c:3431 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: 10706 Comm: syz-executor.3 Not tainted 5.12.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================