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

Status: moderation: reported on 2026/09/23 10:41
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+a52c0864be04ec8e2fbe@syzkaller.appspotmail.com
First crash: 1h47m, last: 1h47m
✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision
f034ec8b assessment-kcsan 🏃 KCSAN: data-race in __mmput / copy_mm (4) 2026/09/23 10:41 2026/09/23 10:41 abce1216
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __mmput / copy_mm (2) kernel 6 1 239d 239d 0/29 auto-obsoleted due to no activity on 2026/03/24 11:25
upstream KCSAN: data-race in __mmput / copy_mm mm 6 1 462d 462d 0/29 auto-obsoleted due to no activity on 2025/08/12 22:58
upstream KCSAN: data-race in __mmput / copy_mm (3) prio:low mm 6 1 137d 137d 0/29 auto-obsoleted due to no activity on 2026/07/03 14:19

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

write to 0xffff8881046681f8 of 8 bytes by task 21217 on cpu 1:
 __list_del include/linux/list.h:241 [inline]
 __list_del_entry include/linux/list.h:264 [inline]
 list_del include/linux/list.h:275 [inline]
 __mmput+0xe2/0x1c0 kernel/fork.c:1198
 mmput+0x40/0x50 kernel/fork.c:1216
 exit_mm+0x113/0x1a0 kernel/exit.c:618
 do_exit+0x438/0x1510 kernel/exit.c:1000
 do_group_exit+0xfe/0x140 kernel/exit.c:1155
 get_signal+0xe07/0xf10 kernel/signal.c:3112
 arch_do_signal_or_restart+0x96/0x480 arch/x86/kernel/signal.c:337
 __exit_to_user_mode_loop kernel/entry/common.c:66 [inline]
 exit_to_user_mode_loop+0x15d/0x8c0 kernel/entry/common.c:101
 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline]
 syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline]
 syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline]
 do_syscall_64+0x212/0x360 arch/x86/entry/syscall_64.c:89
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff888104668000 of 1728 bytes by task 3876 on cpu 0:
 dup_mm kernel/fork.c:1537 [inline]
 copy_mm+0xd6/0x340 kernel/fork.c:1595
 copy_process+0x108a/0x2350 kernel/fork.c:2310
 kernel_clone+0x1c0/0x5f0 kernel/fork.c:2769
 __do_sys_clone kernel/fork.c:2911 [inline]
 __se_sys_clone kernel/fork.c:2895 [inline]
 __x64_sys_clone+0x143/0x180 kernel/fork.c:2895
 x64_sys_call+0x2479/0x2550 arch/x86/include/generated/asm/syscalls_64.h:57
 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

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 UID: 0 PID: 3876 Comm: syz-executor 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/09/23 10:41 upstream fe2ec83746e5 abce1216 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __mmput / copy_mm
* Struck through repros no longer work on HEAD.