==================================================================
BUG: KCSAN: data-race in __mmput / copy_mm
write to 0xffff888123dae2a8 of 8 bytes by task 22608 on cpu 1:
__list_del include/linux/list.h:195 [inline]
__list_del_entry include/linux/list.h:218 [inline]
list_del include/linux/list.h:229 [inline]
__mmput+0xe2/0x1c0 kernel/fork.c:1126
mmput+0x40/0x50 kernel/fork.c:1144
exit_mm+0xe4/0x190 kernel/exit.c:581
do_exit+0x40b/0x1590 kernel/exit.c:943
do_group_exit+0x139/0x140 kernel/exit.c:1104
__do_sys_exit_group kernel/exit.c:1115 [inline]
__se_sys_exit_group kernel/exit.c:1113 [inline]
__x64_sys_exit_group+0x1f/0x20 kernel/exit.c:1113
x64_sys_call+0x2fa4/0x2fb0 arch/x86/include/generated/asm/syscalls_64.h:232
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 0xffff888123dae1c0 of 1408 bytes by task 13151 on cpu 0:
dup_mm kernel/fork.c:1471 [inline]
copy_mm+0xe2/0x370 kernel/fork.c:1529
copy_process+0xcf1/0x1fe0 kernel/fork.c:2169
kernel_clone+0x16c/0x5b0 kernel/fork.c:2599
__do_sys_clone kernel/fork.c:2742 [inline]
__se_sys_clone kernel/fork.c:2726 [inline]
__x64_sys_clone+0xe6/0x120 kernel/fork.c:2726
x64_sys_call+0x2c59/0x2fb0 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: 0 UID: 0 PID: 13151 Comm: syz-executor Not tainted 6.16.0-rc2-syzkaller-00045-g4663747812d1 #0 PREEMPT(voluntary)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/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.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Aleksandr Nogikh, syzbot, syzkaller-upst...@googlegroups.com
On Thu, 19 Jun 2025 at 10:29, Aleksandr Nogikh <nog...@google.com> wrote:
>
> Hi Marco,
>
> This doesn't look like a false positive KCSAN report, right?
> I am thinking about releasing this one to the mailing lists.
It's technically a data race, and if it didn't wipe the MM right after
the memcpy, there'd be a bug. But here even if it copies garbage, that
garbage will be wiped. Therefore, this is likely benign.
Very likely that's the answer, and marking it with data_race() is
appropriate. Could be upstreamed with the above commentary, but I'd
keep it for now. I'll try to send it next week.
syzbot
unread,
Aug 12, 2025, 6:58:16 PM8/12/25
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to el...@google.com, nog...@google.com, syzkaller-upst...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.