syzbot


KCSAN: data-race in _copy_to_iter / fat32_ent_put (7)

Status: moderation: reported on 2026/06/28 12:53
Subsystems: exfat
Labels: race:benign prio:high
[Documentation on labels]
Reported-by: syzbot+50264f69ab1e622312e7@syzkaller.appspotmail.com
First crash: 2d04h, last: 2d04h
✨ AI Jobs (2)
ID Workflow Result Correct Bug Created Started Finished Revision Error
fc3081ae-c65d-4834-a101-e2a9d9563a5f assessment-security DenialOfService: ❌ Exploitable: ❌ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ✅ VMHostTrigger: ❌ KCSAN: data-race in _copy_to_iter / fat32_ent_put (7) 2026/06/30 00:01 2026/06/30 00:01 2026/06/30 00:36 fff8d0a0e302881e84edbe2230016e3bec252ec6

			
		
2dc8c677-2120-4e0d-9c31-a2180ed2366e assessment-kcsan Benign: ✅ KCSAN: data-race in _copy_to_iter / fat32_ent_put (7) 2026/06/28 12:52 2026/06/28 12:52 2026/06/28 13:22 fb92f11c4789d9647a75c09c983dbee5c8488ccf

			
		
Similar bugs (6)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in _copy_to_iter / fat32_ent_put (5) exfat 6 2 160d 194d 0/29 auto-obsoleted due to no activity on 2026/03/18 08:45
upstream KCSAN: data-race in _copy_to_iter / fat32_ent_put (2) exfat 6 1 1245d 1245d 0/29 auto-obsoleted due to no activity on 2023/04/12 08:12
upstream KCSAN: data-race in _copy_to_iter / fat32_ent_put (4) exfat 6 1 726d 726d 0/29 auto-obsoleted due to no activity on 2024/08/07 19:41
upstream KCSAN: data-race in _copy_to_iter / fat32_ent_put exfat 6 1 1316d 1316d 0/29 auto-obsoleted due to no activity on 2023/01/02 12:34
upstream KCSAN: data-race in _copy_to_iter / fat32_ent_put (3) exfat 6 1 1165d 1165d 0/29 auto-obsoleted due to no activity on 2023/05/26 23:35
upstream KCSAN: data-race in _copy_to_iter / fat32_ent_put (6) exfat prio:low 6 1 70d 70d 0/29 auto-obsoleted due to no activity on 2026/06/16 09:06

Sample crash report:
==================================================================
BUG: KCSAN: data-race in _copy_to_iter / fat32_ent_put

read-write to 0xffff88811c3ee074 of 4 bytes by task 18099 on cpu 1:
 fat32_ent_put+0x4e/0x90 fs/fat/fatent.c:194
 fat_alloc_clusters+0x55e/0xc40 fs/fat/fatent.c:508
 fat_alloc_new_dir+0xbb/0x550 fs/fat/dir.c:1159
 vfat_mkdir+0xa4/0x210 fs/fat/namei_vfat.c:862
 vfs_mkdir+0x28a/0x3e0 fs/namei.c:5272
 filename_mkdirat+0x138/0x300 fs/namei.c:5305
 __do_sys_mkdir fs/namei.c:5332 [inline]
 __se_sys_mkdir+0x31/0xf0 fs/namei.c:5329
 __x64_sys_mkdir+0x31/0x40 fs/namei.c:5329
 x64_sys_call+0x2eab/0x3020 arch/x86/include/generated/asm/syscalls_64.h:84
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x136/0x3c0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff88811c3ee000 of 512 bytes by task 3620 on cpu 0:
 instrument_copy_to_user include/linux/instrumented.h:130 [inline]
 copy_to_user_iter lib/iov_iter.c:24 [inline]
 iterate_ubuf include/linux/iov_iter.h:30 [inline]
 iterate_and_advance2 include/linux/iov_iter.h:302 [inline]
 iterate_and_advance include/linux/iov_iter.h:330 [inline]
 _copy_to_iter+0x130/0xea0 lib/iov_iter.c:197
 copy_page_to_iter+0x174/0x210 lib/iov_iter.c:374
 copy_folio_to_iter include/linux/uio.h:204 [inline]
 filemap_read+0x3ed/0xa20 mm/filemap.c:2865
 blkdev_read_iter+0x21e/0x2d0 block/fops.c:830
 new_sync_read fs/read_write.c:493 [inline]
 vfs_read+0x699/0x7c0 fs/read_write.c:574
 ksys_read+0xdc/0x1a0 fs/read_write.c:716
 __do_sys_read fs/read_write.c:725 [inline]
 __se_sys_read fs/read_write.c:723 [inline]
 __x64_sys_read+0x40/0x50 fs/read_write.c:723
 x64_sys_call+0x2886/0x3020 arch/x86/include/generated/asm/syscalls_64.h:1
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x136/0x3c0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 UID: 0 PID: 3620 Comm: udevd Tainted: G        W           syzkaller #0 PREEMPT(lazy) 
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/06/28 12:52 upstream 8b69c0475871 fb92f11c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in _copy_to_iter / fat32_ent_put
* Struck through repros no longer work on HEAD.