================================================================== BUG: KCSAN: data-race in __filemap_add_folio / filemap_write_and_wait_range read-write to 0xffff8881005f0bb8 of 8 bytes by task 4440 on cpu 0: __filemap_add_folio+0x5b9/0x7d0 mm/filemap.c:931 filemap_add_folio+0x1d9/0x360 mm/filemap.c:978 __filemap_get_folio+0x31e/0x650 mm/filemap.c:2022 grow_dev_folio fs/buffer.c:1050 [inline] grow_buffers fs/buffer.c:1116 [inline] __getblk_slow fs/buffer.c:1134 [inline] bdev_getblk+0x14d/0x3b0 fs/buffer.c:1461 __bread_gfp+0x51/0x250 fs/buffer.c:1515 sb_bread include/linux/buffer_head.h:346 [inline] fat_fill_super+0x372/0x1ce0 fs/fat/inode.c:1600 vfat_fill_super+0x24/0x30 fs/fat/namei_vfat.c:1197 get_tree_bdev_flags+0x291/0x300 fs/super.c:1691 get_tree_bdev+0x1f/0x30 fs/super.c:1714 vfat_get_tree+0x1c/0x30 fs/fat/namei_vfat.c:1202 vfs_get_tree+0x57/0x1d0 fs/super.c:1751 fc_mount fs/namespace.c:1208 [inline] do_new_mount_fc fs/namespace.c:3651 [inline] do_new_mount+0x24d/0x660 fs/namespace.c:3727 path_mount+0x4a5/0xb70 fs/namespace.c:4037 do_mount fs/namespace.c:4050 [inline] __do_sys_mount fs/namespace.c:4238 [inline] __se_sys_mount+0x28c/0x2e0 fs/namespace.c:4215 __x64_sys_mount+0x67/0x80 fs/namespace.c:4215 x64_sys_call+0x2b51/0x3000 arch/x86/include/generated/asm/syscalls_64.h:166 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 0xffff8881005f0bb8 of 8 bytes by task 3003 on cpu 1: mapping_needs_writeback mm/filemap.c:644 [inline] filemap_write_and_wait_range+0x59/0x340 mm/filemap.c:693 filemap_write_and_wait include/linux/pagemap.h:68 [inline] sync_blockdev block/bdev.c:260 [inline] bdev_release+0xeb/0x3d0 block/bdev.c:1126 blkdev_release+0x15/0x20 block/fops.c:709 __fput+0x29b/0x650 fs/file_table.c:468 fput_close_sync+0x6e/0x120 fs/file_table.c:573 __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+0x273c/0x3000 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: 0x0000000000000000 -> 0x0000000000000001 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 3003 Comm: udevd Not tainted syzkaller #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 ==================================================================