================================================================== BUG: KCSAN: data-race in jbd2_journal_dirty_metadata / jbd2_journal_dirty_metadata write to 0xffff8881007c4e9c of 4 bytes by task 3651 on cpu 1: jbd2_journal_dirty_metadata+0x33c/0x6c0 fs/jbd2/transaction.c:1556 __ext4_handle_dirty_metadata+0xe9/0x470 fs/ext4/ext4_jbd2.c:358 ext4_mb_mark_context+0x7fc/0x920 fs/ext4/mballoc.c:4064 ext4_mb_clear_bb fs/ext4/mballoc.c:6465 [inline] ext4_free_blocks+0x7f4/0x1400 fs/ext4/mballoc.c:6651 ext4_remove_blocks fs/ext4/extents.c:2547 [inline] ext4_ext_rm_leaf fs/ext4/extents.c:2712 [inline] ext4_ext_remove_space+0x1775/0x2900 fs/ext4/extents.c:2961 ext4_ext_truncate+0xc7/0x170 fs/ext4/extents.c:4466 ext4_truncate+0x6f8/0xac0 fs/ext4/inode.c:4232 ext4_evict_inode+0x89c/0xd80 fs/ext4/inode.c:266 evict+0x2e3/0x550 fs/inode.c:810 iput_final fs/inode.c:1898 [inline] iput+0x447/0x5b0 fs/inode.c:1924 d_delete_notify include/linux/fsnotify.h:402 [inline] vfs_rmdir+0x2a6/0x330 fs/namei.c:4467 do_rmdir+0x19c/0x4b0 fs/namei.c:4509 __do_sys_unlinkat fs/namei.c:4683 [inline] __se_sys_unlinkat fs/namei.c:4677 [inline] __x64_sys_unlinkat+0x86/0xb0 fs/namei.c:4677 x64_sys_call+0x2438/0x2fb0 arch/x86/include/generated/asm/syscalls_64.h:264 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd0/0x1a0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff8881007c4e9c of 4 bytes by task 3655 on cpu 0: jbd2_journal_dirty_metadata+0x105/0x6c0 fs/jbd2/transaction.c:1512 __ext4_handle_dirty_metadata+0xe9/0x470 fs/ext4/ext4_jbd2.c:358 ext4_mb_mark_context+0x7fc/0x920 fs/ext4/mballoc.c:4064 ext4_mb_clear_bb fs/ext4/mballoc.c:6465 [inline] ext4_free_blocks+0x7f4/0x1400 fs/ext4/mballoc.c:6651 ext4_remove_blocks fs/ext4/extents.c:2547 [inline] ext4_ext_rm_leaf fs/ext4/extents.c:2712 [inline] ext4_ext_remove_space+0x1775/0x2900 fs/ext4/extents.c:2961 ext4_ext_truncate+0xc7/0x170 fs/ext4/extents.c:4466 ext4_truncate+0x6f8/0xac0 fs/ext4/inode.c:4232 ext4_evict_inode+0x89c/0xd80 fs/ext4/inode.c:266 evict+0x2e3/0x550 fs/inode.c:810 iput_final fs/inode.c:1898 [inline] iput+0x447/0x5b0 fs/inode.c:1924 d_delete_notify include/linux/fsnotify.h:402 [inline] vfs_rmdir+0x2a6/0x330 fs/namei.c:4467 do_rmdir+0x19c/0x4b0 fs/namei.c:4509 __do_sys_unlinkat fs/namei.c:4683 [inline] __se_sys_unlinkat fs/namei.c:4677 [inline] __x64_sys_unlinkat+0x86/0xb0 fs/namei.c:4677 x64_sys_call+0x2438/0x2fb0 arch/x86/include/generated/asm/syscalls_64.h:264 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd0/0x1a0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x00000000 -> 0x00000001 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 3655 Comm: syz-executor.4 Not tainted 6.15.0-rc7-syzkaller-00014-gd608703fcdd9 #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 ==================================================================