syzbot


KCSAN: data-race in complete_signal / ptrace_attach (3)

Status: auto-closed as invalid on 2021/01/30 06:54
Subsystems: kernel
[Documentation on labels]
First crash: 1216d, last: 1216d
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 kernel 1 1383d 1383d 0/26 auto-closed as invalid on 2020/08/16 11:51
upstream KCSAN: data-race in complete_signal / ptrace_attach (4) kernel 2 998d 1018d 0/26 auto-closed as invalid on 2021/09/05 09:58

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

write to 0xffff888051e16030 of 4 bytes by task 17187 on cpu 1:
 ptrace_attach+0x217/0x4b0 kernel/ptrace.c:407
 __do_sys_ptrace kernel/ptrace.c:1256 [inline]
 __se_sys_ptrace+0xc1/0x2e0 kernel/ptrace.c:1236
 __x64_sys_ptrace+0x51/0x60 kernel/ptrace.c:1236
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff888051e16030 of 4 bytes by task 17189 on cpu 0:
 complete_signal+0x455/0x5f0 kernel/signal.c:1034
 __send_signal+0x666/0x780 kernel/signal.c:1181
 send_signal+0x39f/0x3d0 kernel/signal.c:1242
 do_send_sig_info+0x9b/0xe0 kernel/signal.c:1291
 do_send_specific kernel/signal.c:3815 [inline]
 do_tkill kernel/signal.c:3841 [inline]
 __do_sys_tkill kernel/signal.c:3876 [inline]
 __se_sys_tkill+0x12b/0x180 kernel/signal.c:3870
 __x64_sys_tkill+0x2d/0x40 kernel/signal.c:3870
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 17189 Comm: syz-executor.3 Not tainted 5.10.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
2020/12/26 06:51 upstream 5814bc2d4cc2 821e0b09 .config console log report info ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.