syzbot


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

Status: auto-closed as invalid on 2022/07/06 07:38
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 191d, last: 188d
similar bugs (6):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in copy_process / free_pid 1 1089d 1089d 0/24 auto-closed as invalid on 2020/02/20 19:37
upstream KCSAN: data-race in copy_process / free_pid (4) 1 493d 493d 0/24 auto-closed as invalid on 2021/09/04 11:26
upstream KCSAN: data-race in copy_process / free_pid (5) 32 328d 447d 0/24 auto-closed as invalid on 2022/02/15 18:33
upstream KCSAN: data-race in copy_process / free_pid (2) 1 1004d 1004d 0/24 auto-closed as invalid on 2020/05/15 22:36
upstream KCSAN: data-race in copy_process / free_pid (7) 4 87d 140d 0/24 auto-obsoleted due to no activity on 2022/10/14 18:22
upstream KCSAN: data-race in copy_process / free_pid (3) 1 683d 683d 0/24 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):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/06/01 07:33 upstream e1cbc3b96a99 3666edfe .config log report info KCSAN: data-race in copy_process / free_pid
ci2-upstream-kcsan-gce 2022/05/28 14:49 upstream 9d004b2f4fea a46af346 .config log report info KCSAN: data-race in copy_process / free_pid
* Struck through repros no longer work on HEAD.