[moderation] [mm?] KCSAN: data-race in copy_mm / copy_page_range (3)

0 views
Skip to first unread message

syzbot

unread,
Nov 7, 2025, 1:03:33 AM (yesterday) Nov 7
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: c2c2ccfd4ba7 Merge tag 'net-6.18-rc5' of git://git.kernel...
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=148a332f980000
kernel config: https://syzkaller.appspot.com/x/.config?x=d2e0bc0ae94545f7
dashboard link: https://syzkaller.appspot.com/bug?extid=5171c42274384b4a4dab
compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8
CC: [Liam.H...@oracle.com ak...@linux-foundation.org ja...@google.com linux-...@vger.kernel.org linu...@kvack.org lorenzo...@oracle.com pfal...@suse.de vba...@suse.cz]

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/62f10f34577e/disk-c2c2ccfd.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/4f849a6fc148/vmlinux-c2c2ccfd.xz
kernel image: https://storage.googleapis.com/syzbot-assets/3896c5eceb57/bzImage-c2c2ccfd.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+5171c4...@syzkaller.appspotmail.com

==================================================================
BUG: KCSAN: data-race in copy_mm / copy_page_range

read-write to 0xffff88810cb99e60 of 4 bytes by task 17026 on cpu 0:
do_raw_write_seqcount_begin include/linux/seqlock.h:431 [inline]
copy_page_range+0x25e/0x3be0 mm/memory.c:1528
dup_mmap+0x885/0xf20 mm/mmap.c:1834
dup_mm kernel/fork.c:1489 [inline]
copy_mm+0x11a/0x370 kernel/fork.c:1541
copy_process+0xd08/0x2000 kernel/fork.c:2181
kernel_clone+0x16c/0x5c0 kernel/fork.c:2609
__do_sys_clone kernel/fork.c:2750 [inline]
__se_sys_clone kernel/fork.c:2734 [inline]
__x64_sys_clone+0xe6/0x120 kernel/fork.c:2734
x64_sys_call+0x119c/0x3000 arch/x86/include/generated/asm/syscalls_64.h:57
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff88810cb99cc0 of 1408 bytes by task 17027 on cpu 1:
dup_mm kernel/fork.c:1483 [inline]
copy_mm+0xe2/0x370 kernel/fork.c:1541
copy_process+0xd08/0x2000 kernel/fork.c:2181
kernel_clone+0x16c/0x5c0 kernel/fork.c:2609
__do_sys_clone kernel/fork.c:2750 [inline]
__se_sys_clone kernel/fork.c:2734 [inline]
__x64_sys_clone+0xe6/0x120 kernel/fork.c:2734
x64_sys_call+0x119c/0x3000 arch/x86/include/generated/asm/syscalls_64.h:57
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xd2/0x200 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: 17027 Comm: syz.0.4534 Not tainted syzkaller #0 PREEMPT(voluntary)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
==================================================================


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup
Reply all
Reply to author
Forward
0 new messages