syzbot


KCSAN: data-race in bprm_execve / exit_fs

Status: auto-closed as invalid on 2021/06/25 20:26
Subsystems: fs
[Documentation on labels]
First crash: 1348d, last: 1348d

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

write to 0xffff888142fdd778 of 8 bytes by task 10241 on cpu 1:
 exit_fs+0x53/0x120 fs/fs_struct.c:103
 do_exit+0x467/0x1560 kernel/exit.c:822
 do_group_exit+0x19b/0x1a0 kernel/exit.c:923
 __do_sys_exit_group+0xb/0x10 kernel/exit.c:934
 __se_sys_exit_group+0x5/0x10 kernel/exit.c:932
 __x64_sys_exit_group+0x16/0x20 kernel/exit.c:932
 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff888142fdd778 of 8 bytes by task 10245 on cpu 0:
 check_unsafe_exec fs/exec.c:1568 [inline]
 bprm_execve+0x19f/0x530 fs/exec.c:1802
 do_execveat_common+0x621/0x6e0 fs/exec.c:1919
 do_execveat fs/exec.c:1998 [inline]
 __do_sys_execveat fs/exec.c:2074 [inline]
 __se_sys_execveat fs/exec.c:2066 [inline]
 __x64_sys_execveat+0x7e/0x90 fs/exec.c:2066
 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 10245 Comm: syz-executor.2 Not tainted 5.13.0-rc2-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/05/21 20:25 upstream 79a106fc6585 3c7fef33 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in bprm_execve / exit_fs
* Struck through repros no longer work on HEAD.