syzbot


KCSAN: data-race in __do_execve_file.isra.0 / task_dump_owner

Status: auto-closed as invalid on 2020/02/11 18:06
Subsystems: fs
[Documentation on labels]
First crash: 1883d, last: 1883d

Sample crash report:
==================================================================
BUG: KCSAN: data-race in __do_execve_file.isra.0 / task_dump_owner

read to 0xffff8880a8c430e4 of 4 bytes by task 15067 on cpu 0:
 task_dump_owner+0x43/0x260 fs/proc/base.c:1698
 proc_pid_make_inode+0x115/0x150 fs/proc/base.c:1772
 proc_pid_instantiate+0x45/0x110 fs/proc/base.c:3227
 proc_fill_cache+0x1db/0x290 fs/proc/base.c:1900
 proc_pid_readdir+0x1c4/0x3ce fs/proc/base.c:3349
 proc_root_readdir+0x8f/0xb0 fs/proc/root.c:263
 iterate_dir+0x312/0x380 fs/readdir.c:65
 __do_sys_getdents fs/readdir.c:285 [inline]
 __se_sys_getdents fs/readdir.c:266 [inline]
 __x64_sys_getdents+0x14b/0x280 fs/readdir.c:266
 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

write to 0xffff8880a8c430e4 of 4 bytes by task 15072 on cpu 1:
 __do_execve_file.isra.0+0x167/0x11d0 fs/exec.c:1743
 do_execveat_common fs/exec.c:1868 [inline]
 do_execve fs/exec.c:1885 [inline]
 __do_sys_execve fs/exec.c:1961 [inline]
 __se_sys_execve fs/exec.c:1956 [inline]
 __x64_sys_execve+0x62/0x80 fs/exec.c:1956
 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 15072 Comm: udevd Not tainted 5.4.0-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
2019/12/03 18:04 https://github.com/google/ktsan.git kcsan ef798c30ba4e ab342da3 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.