================================================================== BUG: KCSAN: data-race in find_get_block_common / has_bh_in_lru read-write to 0xffff888237d26f10 of 8 bytes by task 3492 on cpu 1: bh_lru_install fs/buffer.c:1351 [inline] find_get_block_common+0x4f0/0x960 fs/buffer.c:1416 __find_get_block_nonatomic fs/buffer.c:1435 [inline] bdev_getblk+0x83/0x3d0 fs/buffer.c:1459 __bread_gfp+0x51/0x250 fs/buffer.c:1521 sb_bread include/linux/buffer_head.h:348 [inline] fat__get_entry fs/fat/dir.c:100 [inline] fat_get_entry+0x46e/0x5d0 fs/fat/dir.c:128 fat_get_short_entry fs/fat/dir.c:885 [inline] fat_scan+0x103/0x200 fs/fat/dir.c:970 vfat_find_form fs/fat/namei_vfat.c:236 [inline] vfat_create_shortname fs/fat/namei_vfat.c:466 [inline] vfat_build_slots fs/fat/namei_vfat.c:608 [inline] vfat_add_entry+0x133f/0x1b90 fs/fat/namei_vfat.c:669 vfat_create+0xa8/0x190 fs/fat/namei_vfat.c:768 lookup_open fs/namei.c:3717 [inline] open_last_lookups fs/namei.c:3816 [inline] path_openat+0x1105/0x2170 fs/namei.c:4052 do_filp_open+0x109/0x230 fs/namei.c:4082 do_sys_openat2+0xa6/0x110 fs/open.c:1437 do_sys_open fs/open.c:1452 [inline] __do_sys_openat fs/open.c:1468 [inline] __se_sys_openat fs/open.c:1463 [inline] __x64_sys_openat+0xf2/0x120 fs/open.c:1463 x64_sys_call+0x1af/0x2fb0 arch/x86/include/generated/asm/syscalls_64.h:258 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff888237d26f10 of 8 bytes by task 3305 on cpu 0: has_bh_in_lru+0x35/0x1f0 fs/buffer.c:1557 smp_call_function_many_cond+0x389/0xbf0 kernel/smp.c:838 on_each_cpu_cond_mask+0x3c/0x80 kernel/smp.c:1052 on_each_cpu_cond include/linux/smp.h:105 [inline] invalidate_bh_lrus+0x2a/0x30 fs/buffer.c:1566 kill_bdev block/bdev.c:90 [inline] blkdev_flush_mapping+0x9a/0x1a0 block/bdev.c:712 blkdev_put_part block/bdev.c:812 [inline] bdev_release+0x260/0x3d0 block/bdev.c:1142 blkdev_release+0x15/0x20 block/fops.c:684 __fput+0x298/0x650 fs/file_table.c:465 fput_close_sync+0x6e/0x120 fs/file_table.c:570 __do_sys_close fs/open.c:1589 [inline] __se_sys_close fs/open.c:1574 [inline] __x64_sys_close+0x56/0xf0 fs/open.c:1574 x64_sys_call+0x2747/0x2fb0 arch/x86/include/generated/asm/syscalls_64.h:4 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0xffff8881055341a0 -> 0xffff888105534138 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 3305 Comm: udevd Not tainted 6.16.0-rc2-syzkaller-00045-g4663747812d1 #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 ================================================================== udevd[3305]: inotify_add_watch(7, /dev/loop4p1, 10) failed: No such file or directory udevd[3305]: inotify_add_watch(7, /dev/loop4p1, 10) failed: No such file or directory