syzbot


KCSAN: data-race in complete_signal / ptrace_attach

Status: auto-closed as invalid on 2020/08/16 11:51
Subsystems: kernel
[Documentation on labels]
First crash: 1383d, last: 1383d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in complete_signal / ptrace_attach (5) kernel 1 953d 953d 0/26 auto-closed as invalid on 2021/10/20 20:50
upstream KCSAN: data-race in complete_signal / ptrace_attach (2) kernel 1 1257d 1235d 0/26 auto-closed as invalid on 2020/12/21 12:01
upstream KCSAN: data-race in complete_signal / ptrace_attach (4) kernel 2 999d 1018d 0/26 auto-closed as invalid on 2021/09/05 09:58
upstream KCSAN: data-race in complete_signal / ptrace_attach (3) kernel 1 1217d 1217d 0/26 auto-closed as invalid on 2021/01/30 06:54

Sample crash report:
==================================================================
BUG: KCSAN: data-race in complete_signal / ptrace_attach

write to 0xffff88801d1450a8 of 4 bytes by task 20919 on cpu 0:
 ptrace_attach+0x217/0x4b0 kernel/ptrace.c:413
 __do_sys_ptrace kernel/ptrace.c:1262 [inline]
 __se_sys_ptrace+0xc1/0x2d0 kernel/ptrace.c:1242
 __x64_sys_ptrace+0x51/0x60 kernel/ptrace.c:1242
 do_syscall_64+0x51/0xb0 arch/x86/entry/common.c:384
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff88801d1450a8 of 4 bytes by task 20920 on cpu 1:
 complete_signal+0x453/0x600 kernel/signal.c:1033
 __send_signal+0x680/0x7d0 kernel/signal.c:1180
 send_signal+0x398/0x3e0 kernel/signal.c:1241
 do_send_sig_info+0x9b/0xe0 kernel/signal.c:1290
 do_send_specific kernel/signal.c:3784 [inline]
 do_tkill kernel/signal.c:3810 [inline]
 __do_sys_tkill kernel/signal.c:3845 [inline]
 __se_sys_tkill+0x12e/0x180 kernel/signal.c:3839
 __x64_sys_tkill+0x2d/0x40 kernel/signal.c:3839
 do_syscall_64+0x51/0xb0 arch/x86/entry/common.c:384
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 20920 Comm: syz-executor.2 Not tainted 5.8.0-rc4-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
2020/07/12 11:51 upstream 0aea6d5c5be3 115e1930 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.