syzbot


KCSAN: data-race in copy_process / free_pid (6)

Status: auto-closed as invalid on 2022/07/06 07:38
Subsystems: kernel
[Documentation on labels]
First crash: 688d, last: 684d
Similar bugs (9)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in copy_process / free_pid (8) kernel 1 494d 494d 0/26 auto-obsoleted due to no activity on 2023/01/17 03:08
upstream KCSAN: data-race in copy_process / free_pid kernel 1 1586d 1586d 0/26 auto-closed as invalid on 2020/02/20 19:37
upstream KCSAN: data-race in copy_process / free_pid (10) kernel 22 3d14h 128d 0/26 moderation: reported on 2023/12/10 00:02
upstream KCSAN: data-race in copy_process / free_pid (9) kernel 12 243d 328d 0/26 auto-obsoleted due to no activity on 2023/09/21 05:02
upstream KCSAN: data-race in copy_process / free_pid (4) kernel 1 989d 989d 0/26 auto-closed as invalid on 2021/09/04 11:26
upstream KCSAN: data-race in copy_process / free_pid (5) kernel 32 825d 944d 0/26 auto-closed as invalid on 2022/02/15 18:33
upstream KCSAN: data-race in copy_process / free_pid (2) kasan 1 1501d 1501d 0/26 auto-closed as invalid on 2020/05/15 22:36
upstream KCSAN: data-race in copy_process / free_pid (7) kernel 4 584d 636d 0/26 auto-obsoleted due to no activity on 2022/10/14 18:22
upstream KCSAN: data-race in copy_process / free_pid (3) kernel 1 1180d 1180d 0/26 auto-closed as invalid on 2021/02/26 04:07

Sample crash report:
==================================================================
BUG: KCSAN: data-race in copy_process / free_pid

read-write to 0xffff88811229c688 of 4 bytes by task 7803 on cpu 1:
 free_pid+0x71/0x180 kernel/pid.c:136
 copy_process+0x1924/0x20e0 kernel/fork.c:2488
 kernel_clone+0x163/0x5c0 kernel/fork.c:2642
 __do_sys_clone kernel/fork.c:2759 [inline]
 __se_sys_clone kernel/fork.c:2743 [inline]
 __x64_sys_clone+0xbd/0xf0 kernel/fork.c:2743
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x46/0xb0

read to 0xffff88811229c688 of 4 bytes by task 7804 on cpu 0:
 copy_process+0x1528/0x20e0 kernel/fork.c:2402
 kernel_clone+0x163/0x5c0 kernel/fork.c:2642
 __do_sys_clone kernel/fork.c:2759 [inline]
 __se_sys_clone kernel/fork.c:2743 [inline]
 __x64_sys_clone+0xbd/0xf0 kernel/fork.c:2743
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x46/0xb0

value changed: 0x8000001e -> 0x8000001d

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 7804 Comm: syz-executor.4 Not tainted 5.18.0-syzkaller-11538-ge1cbc3b96a99-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/06/01 07:33 upstream e1cbc3b96a99 3666edfe .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in copy_process / free_pid
2022/05/28 14:49 upstream 9d004b2f4fea a46af346 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in copy_process / free_pid
* Struck through repros no longer work on HEAD.