syzbot


KCSAN: data-race in copy_process / do_sysinfo

Status: auto-closed as invalid on 2022/04/24 22:23
Subsystems: kernel
[Documentation on labels]
First crash: 768d, last: 768d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in copy_process / do_sysinfo (2) kernel 1 267d 267d 0/26 auto-obsoleted due to no activity on 2023/09/07 21:57

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):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/03/20 22:22 upstream 14702b3b2438 e2d91b1d .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in copy_process / do_sysinfo
* Struck through repros no longer work on HEAD.