EXT4-fs (loop6): unmounting filesystem 00000000-0000-0000-0000-000000000000. ================================================================== BUG: KCSAN: data-race in __find_get_block / has_bh_in_lru read-write to 0xffff888237c2bb10 of 8 bytes by task 5182 on cpu 0: bh_lru_install fs/buffer.c:1343 [inline] __find_get_block+0x434/0x8a0 fs/buffer.c:1406 bdev_getblk+0x30/0x3b0 fs/buffer.c:1431 __breadahead+0x2b/0x190 fs/buffer.c:1446 sb_breadahead include/linux/buffer_head.h:358 [inline] fat_ent_reada+0x1c1/0x2a0 fs/fat/fatent.c:705 fat_count_free_clusters+0x345/0x720 fs/fat/fatent.c:734 fat_statfs+0xc0/0x200 fs/fat/inode.c:834 statfs_by_dentry fs/statfs.c:66 [inline] vfs_statfs fs/statfs.c:90 [inline] fd_statfs+0xf6/0x220 fs/statfs.c:120 __do_sys_fstatfs fs/statfs.c:216 [inline] __se_sys_fstatfs fs/statfs.c:213 [inline] __x64_sys_fstatfs+0x62/0xf0 fs/statfs.c:213 x64_sys_call+0x13a/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:139 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff888237c2bb10 of 8 bytes by task 4407 on cpu 1: has_bh_in_lru+0x35/0x1f0 fs/buffer.c:1527 smp_call_function_many_cond+0x2d5/0xc20 kernel/smp.c:837 on_each_cpu_cond_mask+0x3c/0x90 kernel/smp.c:1051 on_each_cpu_cond include/linux/smp.h:105 [inline] invalidate_bh_lrus+0x2a/0x30 fs/buffer.c:1536 kill_bdev block/bdev.c:90 [inline] blkdev_flush_mapping+0x9b/0x1a0 block/bdev.c:671 blkdev_put_whole block/bdev.c:678 [inline] bdev_release+0x2f9/0x420 block/bdev.c:1103 blkdev_release+0x15/0x20 block/fops.c:639 __fput+0x17a/0x6d0 fs/file_table.c:431 ____fput+0x1c/0x30 fs/file_table.c:459 task_work_run+0x13a/0x1a0 kernel/task_work.c:239 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+0xd6/0x1c0 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0xffff888113612b60 -> 0xffff8881136123a8 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 4407 Comm: syz-executor Not tainted 6.12.0-rc7-syzkaller-00125-gcfaaa7d010d1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ==================================================================