syzbot


KCSAN: data-race in syscall_trace_enter / zap_other_threads (2)

Status: auto-closed as invalid on 2021/07/07 16:47
Subsystems: kernel
[Documentation on labels]
First crash: 1134d, last: 1056d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in syscall_trace_enter / zap_other_threads kernel 5 1321d 1380d 0/26 auto-closed as invalid on 2020/10/15 06:01

Sample crash report:
==================================================================
BUG: KCSAN: data-race in syscall_trace_enter / zap_other_threads

write to 0xffff888137da47d8 of 8 bytes by task 32210 on cpu 0:
 sigaddset include/linux/signal.h:68 [inline]
 zap_other_threads+0x116/0x1e0 kernel/signal.c:1404
 do_group_exit+0x145/0x1a0 kernel/exit.c:918
 __do_sys_exit_group+0xb/0x10 kernel/exit.c:934
 __se_sys_exit_group+0x5/0x10 kernel/exit.c:932
 __x64_sys_exit_group+0x16/0x20 kernel/exit.c:932
 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff888137da47d8 of 8 bytes by task 32217 on cpu 1:
 sigismember include/linux/signal.h:86 [inline]
 __fatal_signal_pending include/linux/sched/signal.h:377 [inline]
 fatal_signal_pending include/linux/sched/signal.h:382 [inline]
 ptrace_report_syscall include/linux/tracehook.h:79 [inline]
 tracehook_report_syscall_entry include/linux/tracehook.h:105 [inline]
 arch_syscall_enter_tracehook include/linux/entry-common.h:98 [inline]
 syscall_trace_enter+0xf2/0x290 kernel/entry/common.c:60
 __syscall_enter_from_user_work kernel/entry/common.c:89 [inline]
 syscall_enter_from_user_mode+0x1c/0x20 kernel/entry/common.c:107
 do_syscall_64+0x27/0x90 arch/x86/entry/common.c:42
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x0000000000000080 -> 0x0000000000000180

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 32217 Comm: syz-executor.5 Not tainted 5.13.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/06/02 16:43 upstream 231bc5390667 0740de69 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in syscall_trace_enter / zap_other_threads
2021/05/04 23:40 upstream 5e321ded302d 06c27ff5 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in syscall_trace_enter / zap_other_threads
2021/04/21 00:10 upstream 1fe5501ba1ab c0ced557 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in syscall_trace_enter / zap_other_threads
2021/04/16 08:31 upstream 7e25f40eab52 c59079a6 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in syscall_trace_enter / zap_other_threads
2021/03/16 11:17 upstream 1a4431a5db2b fdb2bb2c .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in syscall_trace_enter / zap_other_threads
* Struck through repros no longer work on HEAD.