syzbot


KCSAN: data-race in _copy_to_iter / fat16_ent_put (9)

Status: moderation: reported on 2026/06/23 19:43
Subsystems: exfat
Labels: race:benign prio:high
[Documentation on labels]
Reported-by: syzbot+5318655d41c7aedcaea8@syzkaller.appspotmail.com
First crash: 1d13h, last: 1d13h
✨ AI Jobs (2)
ID Workflow Result Correct Bug Created Started Finished Revision Error
cc669442-60fa-4ce4-9292-7a5232cf58bf assessment-security DenialOfService: ❌ Exploitable: ❌ FilesystemTrigger: ✅ NetworkTrigger: ❌ PeripheralTrigger: ✅ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ✅ VMHostTrigger: ❌ KCSAN: data-race in _copy_to_iter / fat16_ent_put (9) 2026/06/25 00:00 2026/06/25 00:00 2026/06/25 00:01 2e5297c5126f27e51eeef9157f2111c5beb11e4f

			
		
cf72cdef-cb90-46dd-af18-1ca21e0dfbe9 assessment-kcsan Benign: ✅ KCSAN: data-race in _copy_to_iter / fat16_ent_put (9) 2026/06/23 19:42 2026/06/23 19:42 2026/06/23 19:45 e30e5c89d137d970da183ffdc275130a55fdd832

			
		
Similar bugs (8)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in _copy_to_iter / fat16_ent_put (8) exfat 6 1 98d 98d 0/29 auto-obsoleted due to no activity on 2026/05/13 10:56
upstream KCSAN: data-race in _copy_to_iter / fat16_ent_put (5) exfat 6 7 448d 566d 0/29 auto-obsoleted due to no activity on 2025/05/28 13:16
upstream KCSAN: data-race in _copy_to_iter / fat16_ent_put exfat 6 15 1323d 1419d 0/29 auto-obsoleted due to no activity on 2022/12/14 15:46
upstream KCSAN: data-race in _copy_to_iter / fat16_ent_put (4) exfat 6 5 651d 691d 0/29 auto-obsoleted due to no activity on 2024/10/17 05:49
upstream KCSAN: data-race in _copy_to_iter / fat16_ent_put (3) exfat 6 1 729d 729d 0/29 auto-obsoleted due to no activity on 2024/07/30 23:51
upstream KCSAN: data-race in _copy_to_iter / fat16_ent_put (6) exfat 6 2 305d 326d 0/29 auto-obsoleted due to no activity on 2025/10/19 05:39
upstream KCSAN: data-race in _copy_to_iter / fat16_ent_put (7) exfat 6 5 170d 213d 0/29 auto-obsoleted due to no activity on 2026/03/02 22:29
upstream KCSAN: data-race in _copy_to_iter / fat16_ent_put (2) exfat 6 90 902d 930d 0/29 auto-obsoleted due to no activity on 2024/02/08 18:40

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

write to 0xffff88812292528c of 2 bytes by task 10323 on cpu 0:
 fat16_ent_put+0x28/0x60 fs/fat/fatent.c:185
 fat_ent_write+0x6c/0xe0 fs/fat/fatent.c:422
 fat_chain_add+0x174/0x4a0 fs/fat/misc.c:136
 fat_add_cluster fs/fat/inode.c:113 [inline]
 __fat_get_block fs/fat/inode.c:155 [inline]
 fat_get_block+0x468/0x5e0 fs/fat/inode.c:190
 __block_write_begin_int+0x400/0xf90 fs/buffer.c:2123
 block_write_begin fs/buffer.c:2234 [inline]
 cont_write_begin+0x5bf/0x920 fs/buffer.c:2596
 fat_write_begin+0x52/0xe0 fs/fat/inode.c:230
 generic_perform_write+0x186/0x490 mm/filemap.c:4363
 __generic_file_write_iter+0x9e/0x120 mm/filemap.c:4480
 generic_file_write_iter+0x77/0x1f0 mm/filemap.c:4506
 new_sync_write fs/read_write.c:595 [inline]
 vfs_write+0x57d/0x990 fs/read_write.c:687
 ksys_write+0xdc/0x1a0 fs/read_write.c:739
 __do_sys_write fs/read_write.c:750 [inline]
 __se_sys_write fs/read_write.c:747 [inline]
 __x64_sys_write+0x40/0x50 fs/read_write.c:747
 x64_sys_call+0x27e1/0x3020 arch/x86/include/generated/asm/syscalls_64.h:2
 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 0xffff888122925200 of 512 bytes by task 3288 on cpu 1:
 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:2866
 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: 1 UID: 0 PID: 3288 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/23 19:42 upstream 502d801f0ab0 4b1d8f01 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in _copy_to_iter / fat16_ent_put
* Struck through repros no longer work on HEAD.