================================================================== BUG: KCSAN: data-race in _copy_to_iter / fat_set_state write to 0xffff88811eb19025 of 1 bytes by task 17388 on cpu 1: fat_set_state+0x16e/0x1d0 fat_put_super+0x2e/0x80 fs/fat/inode.c:732 generic_shutdown_super+0xd9/0x260 fs/super.c:491 kill_block_super+0x4e/0xa0 fs/super.c:1398 deactivate_locked_super+0x6b/0xd0 fs/super.c:331 deactivate_super+0x9b/0xb0 fs/super.c:362 cleanup_mnt+0x272/0x2e0 fs/namespace.c:1177 __cleanup_mnt+0x19/0x20 fs/namespace.c:1184 task_work_run+0x123/0x160 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xcf/0xe0 kernel/entry/common.c:171 exit_to_user_mode_prepare+0x6a/0xa0 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x26/0x140 kernel/entry/common.c:296 do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff88811eb19000 of 1377 bytes by task 30729 on cpu 0: instrument_copy_to_user include/linux/instrumented.h:120 [inline] copyout lib/iov_iter.c:169 [inline] _copy_to_iter+0x136/0x8f0 lib/iov_iter.c:523 copy_page_to_iter+0x1a8/0x310 lib/iov_iter.c:721 copy_folio_to_iter include/linux/uio.h:174 [inline] filemap_read+0x438/0x680 mm/filemap.c:2745 blkdev_read_iter+0x2ca/0x370 block/fops.c:606 call_read_iter include/linux/fs.h:1845 [inline] new_sync_read fs/read_write.c:389 [inline] vfs_read+0x39a/0x560 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: 30729 Comm: udevd Tainted: G W 6.3.0-rc2-syzkaller-00077-g38e04b3e4240 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 ==================================================================