KCSAN: data-race in _copy_to_iter / kmmpd (5)

Status: moderation: reported on 2026/10/05 10:54
Subsystems: block
Labels: race:benign
[Documentation on labels]
Reported-by: syzbot+6c70915a900f874b6885@syzkaller.appspotmail.com
First crash: 1h47m, last: 1h47m
▶ ▼ ✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision
1e3f14e5 assessment-kcsan Benign: ✅ ❓ KCSAN: data-race in _copy_to_iter / kmmpd (5) 2026/10/05 11:02 2026/10/05 11:02 2026/10/05 12:05 57bbd979
▶ ▼ Similar bugs (4)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in _copy_to_iter / kmmpd ext4 6 1 773d 773d 0/29 auto-obsoleted due to no activity on 2024/09/27 00:36
upstream KCSAN: data-race in _copy_to_iter / kmmpd (2) ext4 6 1 452d 452d 0/29 auto-obsoleted due to no activity on 2025/09/03 21:37
upstream KCSAN: data-race in _copy_to_iter / kmmpd (3) ext4 block 6 3 294d 327d 0/29 auto-obsoleted due to no activity on 2026/02/08 18:21
upstream KCSAN: data-race in _copy_to_iter / kmmpd (4) prio:low ext4 6 2 139d 153d 0/29 auto-obsoleted due to no activity on 2026/07/14 01:23

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

read to 0xffff88811c772000 of 512 bytes by task 3287 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+0x3fd/0xad0 mm/filemap.c:2875
 blkdev_read_iter+0x21e/0x2d0 block/fops.c:837
 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+0x2135/0x2550 arch/x86/include/generated/asm/syscalls_64.h:1
 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
 do_syscall_64+0x112/0x360 arch/x86/entry/syscall_64.c:84
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

write to 0xffff88811c772010 of 64 bytes by task 5075 on cpu 1:
 kmmpd+0x109/0x670 fs/ext4/mmp.c:157
 kthread+0x223/0x270 kernel/kthread.c:436
 ret_from_fork+0x146/0x330 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 UID: 0 PID: 5075 Comm: kmmpd-loop2 Not tainted syzkaller #0 PREEMPT(lazy) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/10/05 10:53 upstream a90ee4305c4a 57bbd979 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in _copy_to_iter / kmmpd
* Struck through repros no longer work on HEAD.