syzbot


KCSAN: data-race in exit_signals / proc_task_name

Status: closed as invalid on 2019/11/19 13:54
Subsystems: kernel
[Documentation on labels]
First crash: 2127d, last: 2127d

Sample crash report:
==================================================================
BUG: KCSAN: data-race in exit_signals / proc_task_name

write to 0xffff8881036a60a4 of 4 bytes by task 8318 on cpu 1:
 exit_signals+0x13b/0x490 kernel/signal.c:2822
 do_exit+0x18b/0x18f0 kernel/exit.c:763
 do_group_exit+0xb4/0x1c0 kernel/exit.c:921
 __do_sys_exit_group kernel/exit.c:932 [inline]
 __se_sys_exit_group kernel/exit.c:930 [inline]
 __x64_sys_exit_group+0x2e/0x30 kernel/exit.c:930
 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff8881036a60a4 of 4 bytes by task 8339 on cpu 0:
 proc_task_name+0x41/0x2a0 fs/proc/array.c:106
 proc_pid_status+0x70/0x1000 fs/proc/array.c:410
 proc_single_show+0x89/0xe0 fs/proc/base.c:756
 seq_read+0x350/0x960 fs/seq_file.c:229
 __vfs_read+0x67/0xc0 fs/read_write.c:425
 vfs_read fs/read_write.c:461 [inline]
 vfs_read+0x143/0x2c0 fs/read_write.c:446
 ksys_read+0xd5/0x1b0 fs/read_write.c:587
 __do_sys_read fs/read_write.c:597 [inline]
 __se_sys_read fs/read_write.c:595 [inline]
 __x64_sys_read+0x4c/0x60 fs/read_write.c:595
 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: 0 PID: 8339 Comm: ps Not tainted 5.4.0-rc6+ #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/11/05 14:42 https://github.com/google/ktsan.git kcsan 94c006602e13 af5c522d .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.