syzbot


KCSAN: data-race in copy_mm / vm_mmap_pgoff (2)

Status: moderation: reported on 2026/02/07 21:43
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+f33a5a3a443afb0a16a6@syzkaller.appspotmail.com
First crash: 13d, last: 13d
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in copy_mm / vm_mmap_pgoff mm 6 1 90d 90d 0/29 auto-obsoleted due to no activity on 2026/01/17 14:15

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

read-write to 0xffff8881043fd990 of 4 bytes by task 7712 on cpu 0:
 do_raw_write_seqcount_begin include/linux/seqlock.h:431 [inline]
 mm_lock_seqcount_begin include/linux/mmap_lock.h:88 [inline]
 mmap_write_lock_killable include/linux/mmap_lock.h:355 [inline]
 vm_mmap_pgoff+0x12f/0x2d0 mm/util.c:579
 ksys_mmap_pgoff+0xc1/0x310 mm/mmap.c:604
 x64_sys_call+0x16bb/0x3000 arch/x86/include/generated/asm/syscalls_64.h:10
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xc0/0x2a0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff8881043fd7c0 of 1664 bytes by task 7721 on cpu 1:
 dup_mm kernel/fork.c:1523 [inline]
 copy_mm+0xe1/0x370 kernel/fork.c:1581
 copy_process+0xcbd/0x1f10 kernel/fork.c:2221
 kernel_clone+0x16b/0x5b0 kernel/fork.c:2651
 __do_sys_clone kernel/fork.c:2792 [inline]
 __se_sys_clone kernel/fork.c:2776 [inline]
 __x64_sys_clone+0x143/0x180 kernel/fork.c:2776
 x64_sys_call+0x12d0/0x3000 arch/x86/include/generated/asm/syscalls_64.h:57
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xc0/0x2a0 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: 7721 Comm: syz.9.10168 Tainted: G        W           syzkaller #0 PREEMPT(voluntary) 
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/24/2026
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/02/07 21:42 upstream e7aa57247700 4c131dc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in copy_mm / vm_mmap_pgoff
* Struck through repros no longer work on HEAD.