================================================================== BUG: KCSAN: data-race in _copy_to_iter / fat_set_state write to 0xffff88814087c025 of 1 bytes by task 16594 on cpu 1: fat_set_state+0x16e/0x1d0 fat_fill_super+0x2479/0x28e0 fs/fat/inode.c:1877 vfat_fill_super+0x30/0x40 fs/fat/namei_vfat.c:1200 mount_bdev+0x1c4/0x260 fs/super.c:1391 vfat_mount+0x31/0x40 fs/fat/namei_vfat.c:1207 legacy_get_tree+0x74/0xd0 fs/fs_context.c:611 vfs_get_tree+0x51/0x190 fs/super.c:1519 do_new_mount+0x203/0x660 fs/namespace.c:3335 path_mount+0x496/0xb30 fs/namespace.c:3662 do_mount fs/namespace.c:3675 [inline] __do_sys_mount fs/namespace.c:3884 [inline] __se_sys_mount+0x27f/0x2d0 fs/namespace.c:3861 __x64_sys_mount+0x67/0x80 fs/namespace.c:3861 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff88814087c000 of 1024 bytes by task 3337 on cpu 0: instrument_copy_to_user include/linux/instrumented.h:113 [inline] copyout lib/iov_iter.c:167 [inline] _copy_to_iter+0x12b/0x910 lib/iov_iter.c:316 copy_page_to_iter+0x184/0x2c0 lib/iov_iter.c:481 copy_folio_to_iter include/linux/uio.h:185 [inline] filemap_read+0x421/0x670 mm/filemap.c:2709 blkdev_read_iter+0x217/0x2c0 block/fops.c:617 call_read_iter include/linux/fs.h:1871 [inline] new_sync_read fs/read_write.c:389 [inline] vfs_read+0x3da/0x5c0 fs/read_write.c:470 ksys_read+0xeb/0x1a0 fs/read_write.c:613 __do_sys_read fs/read_write.c:623 [inline] __se_sys_read fs/read_write.c:621 [inline] __x64_sys_read+0x42/0x50 fs/read_write.c:621 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 3337 Comm: udevd Not tainted 6.5.0-rc6-syzkaller-00027-g91aa6c412d7f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 ================================================================== I/O error, dev loop2, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2 I/O error, dev loop0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2 I/O error, dev loop2, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2 I/O error, dev loop2, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2 I/O error, dev loop0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2