================================================================== BUG: KCSAN: data-race in __find_get_block / has_bh_in_lru read-write to 0xffff888237d2b658 of 8 bytes by task 17192 on cpu 1: bh_lru_install fs/buffer.c:1340 [inline] __find_get_block+0x455/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_unlink+0x5e8/0x660 fs/ext4/namei.c:3278 ext4_unlink+0xd6/0x2a0 fs/ext4/namei.c:3321 vfs_unlink+0x265/0x3f0 fs/namei.c:4338 do_unlinkat+0x236/0x4c0 fs/namei.c:4402 __do_sys_unlink fs/namei.c:4450 [inline] __se_sys_unlink fs/namei.c:4448 [inline] __x64_sys_unlink+0x30/0x40 fs/namei.c:4448 do_syscall_64+0xd3/0x1d0 entry_SYSCALL_64_after_hwframe+0x6d/0x75 read to 0xffff888237d2b658 of 8 bytes by task 17508 on cpu 0: has_bh_in_lru+0x54/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:108 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:201 [inline] syscall_exit_to_user_mode+0xbe/0x130 kernel/entry/common.c:212 do_syscall_64+0xe2/0x1d0 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x6d/0x75 value changed: 0x0000000000000000 -> 0xffff8881004f43a8 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 17508 Comm: syz-executor.2 Not tainted 6.8.0-syzkaller-12955-g8e938e398669 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 ==================================================================