syzbot


KCSAN: data-race in bprm_execve / copy_process (4)

Status: auto-closed as invalid on 2021/11/06 00:03
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 427d, last: 427d
similar bugs (3):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in bprm_execve / copy_process 1 799d 799d 0/24 auto-closed as invalid on 2020/10/29 15:12
upstream KCSAN: data-race in bprm_execve / copy_process (2) 2 691d 720d 0/24 auto-closed as invalid on 2021/02/14 15:47
upstream KCSAN: data-race in bprm_execve / copy_process (3) 1 473d 473d 0/24 auto-closed as invalid on 2021/09/20 14:52

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

write to 0xffff8881395ddf90 of 4 bytes by task 4166 on cpu 0:
 bprm_execve+0x4c6/0x530 fs/exec.c:1858
 do_execveat_common+0x63b/0x700 fs/exec.c:1924
 do_execve fs/exec.c:1992 [inline]
 __do_sys_execve fs/exec.c:2068 [inline]
 __se_sys_execve fs/exec.c:2063 [inline]
 __x64_sys_execve+0x56/0x70 fs/exec.c:2063
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff8881395ddf90 of 4 bytes by task 4162 on cpu 1:
 copy_fs kernel/fork.c:1521 [inline]
 copy_process+0xead/0x2fa0 kernel/fork.c:2185
 kernel_clone+0x15c/0x680 kernel/fork.c:2584
 __do_sys_clone kernel/fork.c:2701 [inline]
 __se_sys_clone kernel/fork.c:2685 [inline]
 __x64_sys_clone+0xc6/0xf0 kernel/fork.c:2685
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x00000001 -> 0x00000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 4162 Comm: syz-executor.5 Not tainted 5.15.0-rc3-syzkaller #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 2021/10/02 00:00 upstream 24f67d82c43c cc80db95 .config log report info KCSAN: data-race in bprm_execve / copy_process
* Struck through repros no longer work on HEAD.