KCSAN: data-race in copy_mm / vma_complete (4)

Status: moderation: reported on 2026/08/02 04:08
Subsystems: mm
Labels: race:benign
[Documentation on labels]
Reported-by: syzbot+a2ca6b1b404353a6c33a@syzkaller.appspotmail.com
First crash: 1d07h, last: 1d07h
✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision Error
f0e2ad62 assessment-kcsan Benign: ✅ KCSAN: data-race in copy_mm / vma_complete (4) 2026/08/02 04:08 2026/08/02 04:08 2026/08/02 04:37 e611ffe1

			
		
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in copy_mm / vma_complete mm 6 1 389d 389d 0/29 auto-obsoleted due to no activity on 2025/09/04 07:42
upstream KCSAN: data-race in copy_mm / vma_complete (3) mm 6 4 159d 220d 0/29 auto-obsoleted due to no activity on 2026/04/22 05:31
upstream KCSAN: data-race in copy_mm / vma_complete (2) mm 6 2 277d 292d 0/29 auto-obsoleted due to no activity on 2025/12/25 08:42

Sample crash report:
==================================================================
BUG: KCSAN: data-race in copy_mm / vma_complete

read-write to 0xffff888117f7a4c8 of 4 bytes by task 22296 on cpu 1:
 vma_complete+0x3e1/0x850 mm/vma.c:360
 __split_vma+0x592/0x640 mm/vma.c:569
 split_vma mm/vma.c:599 [inline]
 vma_modify+0xb29/0xc80 mm/vma.c:1691
 vma_modify_flags+0x182/0x210 mm/vma.c:1719
 mprotect_fixup+0x3a2/0x680 mm/mprotect.c:789
 do_mprotect_pkey+0x69e/0x950 mm/mprotect.c:967
 __do_sys_mprotect mm/mprotect.c:988 [inline]
 __se_sys_mprotect mm/mprotect.c:985 [inline]
 __x64_sys_mprotect+0x48/0x60 mm/mprotect.c:985
 x64_sys_call+0x2768/0x3020 arch/x86/include/generated/asm/syscalls_64.h:11
 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 0xffff888117f7a300 of 1728 bytes by task 22305 on cpu 0:
 dup_mm kernel/fork.c:1537 [inline]
 copy_mm+0xd6/0x340 kernel/fork.c:1595
 copy_process+0x108c/0x2310 kernel/fork.c:2289
 kernel_clone+0x1c0/0x5f0 kernel/fork.c:2748
 __do_sys_clone kernel/fork.c:2889 [inline]
 __se_sys_clone kernel/fork.c:2873 [inline]
 __x64_sys_clone+0x143/0x180 kernel/fork.c:2873
 x64_sys_call+0x1222/0x3020 arch/x86/include/generated/asm/syscalls_64.h:57
 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: 22305 Comm: syz.0.2981 Tainted: G        W           syzkaller #0 PREEMPT(lazy) 
Tainted: [W]=WARN
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/08/02 04:08 upstream 02dc699f83d0 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in copy_mm / vma_complete
* Struck through repros no longer work on HEAD.