syzbot


KCSAN: data-race in copy_process / do_sysinfo

Status: auto-closed as invalid on 2022/04/24 22:23
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 260d, last: 260d

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

write to 0xffffffff86d95870 of 4 bytes by task 25610 on cpu 0:
 copy_process+0x29d9/0x2f40 kernel/fork.c:2377
 kernel_clone+0x15c/0x6a0 kernel/fork.c:2565
 __do_sys_clone kernel/fork.c:2682 [inline]
 __se_sys_clone kernel/fork.c:2666 [inline]
 __x64_sys_clone+0xc6/0xf0 kernel/fork.c:2666
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffffffff86d95870 of 4 bytes by task 25616 on cpu 1:
 do_sysinfo+0xf3/0x300 kernel/sys.c:2647
 __do_sys_sysinfo kernel/sys.c:2700 [inline]
 __se_sys_sysinfo kernel/sys.c:2696 [inline]
 __x64_sys_sysinfo+0x44/0x90 kernel/sys.c:2696
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x000000eb -> 0x000000ec

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 25616 Comm: syz-executor.2 Not tainted 5.17.0-rc8-syzkaller-00077-g14702b3b2438-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/03/20 22:22 upstream 14702b3b2438 e2d91b1d .config log report info KCSAN: data-race in copy_process / do_sysinfo
* Struck through repros no longer work on HEAD.