syzbot


KCSAN: data-race in do_exit / proc_task_name

Status: auto-closed as invalid on 2020/02/13 12:56
Subsystems: kernel
[Documentation on labels]
First crash: 1601d, last: 1601d

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

write to 0xffff8880b6ee20e4 of 4 bytes by task 7757 on cpu 0:
 do_exit+0xe33/0x18f0 kernel/exit.c:854
 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 0xffff8880b6ee20e4 of 4 bytes by task 7797 on cpu 1:
 proc_task_name+0x41/0x2a0 fs/proc/array.c:106
 do_task_stat+0x742/0x1370 fs/proc/array.c:540
 proc_tgid_stat+0x3d/0x60 fs/proc/array.c:632
 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: 1 PID: 7797 Comm: ps 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/05 12:54 https://github.com/google/ktsan.git kcsan ef798c30ba4e 9fd5a512 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.