syzbot


KCSAN: data-race in bprm_execve / copy_fs

Status: auto-obsoleted due to no activity on 2023/01/03 10:25
Subsystems: fs mm
[Documentation on labels]
First crash: 640d, last: 579d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in bprm_execve / copy_fs (2) fs mm 1 62d 62d 0/27 auto-obsoleted due to no activity on 2024/05/21 23:09

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

write to 0xffff888103398b90 of 4 bytes by task 12465 on cpu 1:
 bprm_execve+0x48d/0x4e0 fs/exec.c:1860
 do_execveat_common+0x843/0x950 fs/exec.c:1942
 do_execveat fs/exec.c:2027 [inline]
 __do_sys_execveat fs/exec.c:2101 [inline]
 __se_sys_execveat fs/exec.c:2095 [inline]
 __x64_sys_execveat+0x71/0x80 fs/exec.c:2095
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read to 0xffff888103398b90 of 4 bytes by task 12457 on cpu 0:
 copy_fs+0x95/0xf0 kernel/fork.c:1591
 copy_process+0xd4f/0x2100 kernel/fork.c:2244
 kernel_clone+0x166/0x550 kernel/fork.c:2671
 __do_sys_clone kernel/fork.c:2812 [inline]
 __se_sys_clone kernel/fork.c:2796 [inline]
 __x64_sys_clone+0xc3/0xf0 kernel/fork.c:2796
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x00000001 -> 0x00000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 12457 Comm: syz-executor.5 Not tainted 6.1.0-rc5-syzkaller-00015-g81e7cfa3a9eb-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
==================================================================

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/11/16 16:56 upstream 81e7cfa3a9eb 3a127a31 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in bprm_execve / copy_fs
2022/10/17 11:42 upstream 2df76606db9d 67cb024c .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in bprm_execve / copy_fs
2022/09/16 13:40 upstream 3245cb65fd91 dd9a85ff .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in bprm_execve / copy_fs
* Struck through repros no longer work on HEAD.