syzbot


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

Status: auto-closed as invalid on 2021/09/20 14:52
Subsystems: fs mm
[Documentation on labels]
First crash: 920d, last: 920d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in bprm_execve / copy_process mm fs 1 1246d 1246d 0/26 auto-closed as invalid on 2020/10/29 15:12
upstream KCSAN: data-race in bprm_execve / copy_process (4) fs mm 1 873d 873d 0/26 auto-closed as invalid on 2021/11/06 00:03
upstream KCSAN: data-race in bprm_execve / copy_process (2) fs mm 2 1138d 1166d 0/26 auto-closed as invalid on 2021/02/14 15:47

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

write to 0xffff888143ebfc10 of 4 bytes by task 12006 on cpu 1:
 bprm_execve+0x4c6/0x530 fs/exec.c:1854
 do_execveat_common+0x63b/0x700 fs/exec.c:1920
 do_execveat fs/exec.c:1999 [inline]
 __do_sys_execveat fs/exec.c:2075 [inline]
 __se_sys_execveat fs/exec.c:2067 [inline]
 __x64_sys_execveat+0x7e/0x90 fs/exec.c:2067
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0x90 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff888143ebfc10 of 4 bytes by task 12005 on cpu 0:
 copy_fs kernel/fork.c:1447 [inline]
 copy_process+0xe99/0x2f70 kernel/fork.c:2110
 kernel_clone+0x14b/0x680 kernel/fork.c:2509
 __do_sys_clone kernel/fork.c:2626 [inline]
 __se_sys_clone kernel/fork.c:2610 [inline]
 __x64_sys_clone+0xb4/0xe0 kernel/fork.c:2610
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0x90 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x00000001 -> 0x00000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 12005 Comm: syz-executor.1 Not tainted 5.14.0-rc6-syzkaller #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
2021/08/16 14:52 upstream 7c60610d4767 6652437d .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in bprm_execve / copy_process
* Struck through repros no longer work on HEAD.