================================================================== BUG: KCSAN: data-race in __find_get_block / has_bh_in_lru read-write to 0xffff888237d2b990 of 8 bytes by task 6005 on cpu 1: 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_noinmem fs/ext4/inode.c:4482 [inline] __ext4_iget+0x311/0x1e80 fs/ext4/inode.c:4704 ext4_lookup+0x15b/0x390 fs/ext4/namei.c:1854 __lookup_slow+0x184/0x250 fs/namei.c:1692 lookup_slow+0x3c/0x60 fs/namei.c:1709 walk_component+0x1f5/0x230 fs/namei.c:2004 lookup_last fs/namei.c:2461 [inline] path_lookupat+0x10a/0x2b0 fs/namei.c:2485 filename_lookup+0x127/0x300 fs/namei.c:2514 vfs_statx+0xa2/0x320 fs/stat.c:244 vfs_fstatat+0xcd/0x100 fs/stat.c:304 __do_sys_newfstatat fs/stat.c:468 [inline] __se_sys_newfstatat+0x58/0x260 fs/stat.c:462 __x64_sys_newfstatat+0x55/0x70 fs/stat.c:462 x64_sys_call+0x25ff/0x2d30 arch/x86/include/generated/asm/syscalls_64.h:263 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff888237d2b990 of 8 bytes by task 3939 on cpu 0: has_bh_in_lru+0x35/0x1f0 fs/buffer.c:1510 smp_call_function_many_cond+0x2f6/0xc50 kernel/smp.c:808 on_each_cpu_cond_mask+0x3c/0x90 kernel/smp.c:1023 on_each_cpu_cond include/linux/smp.h:105 [inline] invalidate_bh_lrus+0x2a/0x30 fs/buffer.c:1519 kill_bdev block/bdev.c:84 [inline] blkdev_flush_mapping+0xb8/0x1c0 block/bdev.c:644 blkdev_put_whole block/bdev.c:651 [inline] bdev_release+0x2f4/0x410 block/bdev.c:1075 blkdev_release+0x15/0x20 block/fops.c:628 __fput+0x2c1/0x660 fs/file_table.c:422 ____fput+0x15/0x20 fs/file_table.c:450 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+0xda/0x1d0 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x0000000000000000 -> 0xffff8881057e36e8 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 3939 Comm: syz-executor.3 Not tainted 6.9.0-rc5-syzkaller-00296-g5eb4573ea63d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 ================================================================== EXT4-fs (loop3): unmounting filesystem 00000000-0000-0000-0000-000000000000. EXT4-fs (loop3): unmounting filesystem 00000000-0000-0000-0000-000000000000.