================================================================== BUG: KCSAN: data-race in _copy_to_iter / fat_set_state write to 0xffff888123353041 of 1 bytes by task 23253 on cpu 0: fat_set_state+0x16e/0x1d0 fat_fill_super+0x2479/0x28e0 fs/fat/inode.c:1885 vfat_fill_super+0x30/0x40 fs/fat/namei_vfat.c:1200 mount_bdev+0x14f/0x1e0 fs/super.c:1663 vfat_mount+0x31/0x40 fs/fat/namei_vfat.c:1207 legacy_get_tree+0x74/0xd0 fs/fs_context.c:662 vfs_get_tree+0x51/0x1b0 fs/super.c:1784 do_new_mount+0x227/0x690 fs/namespace.c:3352 path_mount+0x496/0xb30 fs/namespace.c:3679 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x27f/0x2d0 fs/namespace.c:3875 __x64_sys_mount+0x67/0x80 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x59/0x120 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b read to 0xffff888123353000 of 1024 bytes by task 3114 on cpu 1: instrument_copy_to_user include/linux/instrumented.h:113 [inline] copy_to_user_iter lib/iov_iter.c:24 [inline] iterate_ubuf include/linux/iov_iter.h:29 [inline] iterate_and_advance2 include/linux/iov_iter.h:245 [inline] iterate_and_advance include/linux/iov_iter.h:271 [inline] _copy_to_iter+0x126/0xb20 lib/iov_iter.c:186 copy_page_to_iter+0x171/0x2b0 lib/iov_iter.c:381 copy_folio_to_iter include/linux/uio.h:181 [inline] filemap_read+0x42c/0x680 mm/filemap.c:2654 blkdev_read_iter+0x217/0x2c0 block/fops.c:757 call_read_iter include/linux/fs.h:2079 [inline] new_sync_read fs/read_write.c:395 [inline] vfs_read+0x34c/0x480 fs/read_write.c:476 ksys_read+0xeb/0x1a0 fs/read_write.c:619 __do_sys_read fs/read_write.c:629 [inline] __se_sys_read fs/read_write.c:627 [inline] __x64_sys_read+0x42/0x50 fs/read_write.c:627 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x59/0x120 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 3114 Comm: udevd Not tainted 6.7.0-syzkaller-09928-g052d534373b7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 ================================================================== I/O error, dev loop3, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2 I/O error, dev loop3, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2