EXT4-fs (loop4): unmounting filesystem 00000000-0000-0000-0000-000000000000. ================================================================== BUG: KCSAN: data-race in __find_get_block / has_bh_in_lru read-write to 0xffff888237c2b650 of 8 bytes by task 22473 on cpu 0: bh_lru_install fs/buffer.c:1340 [inline] __find_get_block+0x438/0x8c0 fs/buffer.c:1403 bdev_getblk+0x34/0x420 fs/buffer.c:1423 __getblk include/linux/buffer_head.h:355 [inline] sb_getblk include/linux/buffer_head.h:361 [inline] __ext4_get_inode_loc+0x30f/0x8f0 fs/ext4/inode.c:4369 ext4_get_inode_loc fs/ext4/inode.c:4497 [inline] ext4_reserve_inode_write+0xb0/0x200 fs/ext4/inode.c:5728 __ext4_mark_inode_dirty+0x8e/0x440 fs/ext4/inode.c:5905 ext4_truncate+0x8ed/0xb10 fs/ext4/inode.c:4169 ext4_evict_inode+0x8b4/0xdd0 fs/ext4/inode.c:258 evict+0x1ae/0x420 fs/inode.c:667 iput_final fs/inode.c:1741 [inline] iput+0x432/0x5c0 fs/inode.c:1767 d_delete_notify include/linux/fsnotify.h:307 [inline] vfs_rmdir+0x27e/0x300 fs/namei.c:4222 do_rmdir+0x194/0x320 fs/namei.c:4268 __do_sys_unlinkat fs/namei.c:4444 [inline] __se_sys_unlinkat fs/namei.c:4438 [inline] __x64_sys_unlinkat+0xa4/0xb0 fs/namei.c:4438 do_syscall_64+0xd3/0x1d0 entry_SYSCALL_64_after_hwframe+0x6d/0x75 read to 0xffff888237c2b650 of 8 bytes by task 20171 on cpu 1: has_bh_in_lru+0x35/0x1f0 fs/buffer.c:1510 cpu_needs_drain mm/swap.c:817 [inline] __lru_add_drain_all+0x254/0x420 mm/swap.c:904 lru_add_drain_all+0x10/0x20 mm/swap.c:920 invalidate_bdev+0x54/0x80 block/bdev.c:95 ext4_put_super+0x51b/0x7e0 fs/ext4/super.c:1361 generic_shutdown_super+0xde/0x210 fs/super.c:641 kill_block_super+0x2a/0x70 fs/super.c:1693 ext4_kill_sb+0x44/0x80 fs/ext4/super.c:7327 deactivate_locked_super+0x7d/0x1c0 fs/super.c:472 deactivate_super+0x9f/0xb0 fs/super.c:505 cleanup_mnt+0x272/0x2e0 fs/namespace.c:1267 __cleanup_mnt+0x19/0x20 fs/namespace.c:1274 task_work_run+0x13a/0x1a0 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xbe/0x130 kernel/entry/common.c:218 do_syscall_64+0xe2/0x1d0 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x6d/0x75 value changed: 0x0000000000000000 -> 0xffff888108ceb3a8 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 20171 Comm: syz-executor.4 Not tainted 6.9.0-rc1-syzkaller-00011-g498e47cd1d1f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 ==================================================================