syzbot


KCSAN: data-race in flush_signal_handlers / proc_pid_status

Status: auto-closed as invalid on 2020/03/04 19:34
Subsystems: fs
[Documentation on labels]
First crash: 1606d, last: 1582d

Sample crash report:
==================================================================
BUG: KCSAN: data-race in flush_signal_handlers / proc_pid_status

read to 0xffff88812aa9acc0 of 8 bytes by task 11496 on cpu 1:
 collect_sigign_sigcatch fs/proc/array.c:259 [inline]
 task_sig fs/proc/array.c:284 [inline]
 proc_pid_status+0xa0b/0x1000 fs/proc/array.c:421
 proc_single_show+0x92/0x120 fs/proc/base.c:756
 seq_read+0x350/0x9d0 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/0x3a0 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

write to 0xffff88812aa9acc0 of 8 bytes by task 11433 on cpu 0:
 flush_signal_handlers+0x6e/0xe0 kernel/signal.c:539
 setup_new_exec+0x325/0x3d0 fs/exec.c:1386
 load_elf_binary+0x738/0x2ef0 fs/binfmt_elf.c:859
 search_binary_handler fs/exec.c:1658 [inline]
 search_binary_handler+0x127/0x420 fs/exec.c:1635
 exec_binprm fs/exec.c:1701 [inline]
 __do_execve_file.isra.0+0xb6a/0x1140 fs/exec.c:1821
 do_execveat_common fs/exec.c:1867 [inline]
 do_execve fs/exec.c:1884 [inline]
 __do_sys_execve fs/exec.c:1960 [inline]
 __se_sys_execve fs/exec.c:1955 [inline]
 __x64_sys_execve+0x62/0x80 fs/exec.c:1955
 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 11433 Comm: ifdown Not tainted 5.5.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/12/25 19:27 https://github.com/google/ktsan.git kcsan 245a43005292 be5c2c81 .config console log report ci2-upstream-kcsan-gce
2019/12/22 04:38 https://github.com/google/ktsan.git kcsan 245a43005292 bc586918 .config console log report ci2-upstream-kcsan-gce
2019/12/01 15:41 https://github.com/google/ktsan.git kcsan ef798c30ba4e a76bf83f .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.