syzbot


KCSAN: data-race in complete_signal / do_notify_parent_cldstop (2)

Status: auto-obsoleted due to no activity on 2023/10/27 02:33
Subsystems: kernel
[Documentation on labels]
First crash: 726d, last: 709d
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in complete_signal / do_notify_parent_cldstop kernel 6 1 847d 847d 0/29 auto-obsoleted due to no activity on 2023/06/11 11:30

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

write to 0xffff88818526d260 of 4 bytes by task 15351 on cpu 1:
 complete_signal+0x552/0x6d0 kernel/signal.c:1059
 __send_signal_locked+0x5cc/0x700 kernel/signal.c:1195
 send_signal_locked+0x28d/0x3a0 kernel/signal.c:1258
 do_send_sig_info+0x9f/0xf0 kernel/signal.c:1311
 group_send_sig_info kernel/signal.c:1461 [inline]
 __kill_pgrp_info kernel/signal.c:1479 [inline]
 kill_something_info kernel/signal.c:1617 [inline]
 __do_sys_kill kernel/signal.c:3813 [inline]
 __se_sys_kill+0x33f/0x430 kernel/signal.c:3807
 __x64_sys_kill+0x31/0x40 kernel/signal.c:3807
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read to 0xffff88818526d260 of 4 bytes by task 1968 on cpu 0:
 do_notify_parent_cldstop+0x192/0x290 kernel/signal.c:2206
 do_signal_stop+0x4d7/0x570 kernel/signal.c:2504
 get_signal+0x770/0x1090 kernel/signal.c:2739
 arch_do_signal_or_restart+0x95/0x4b0 arch/x86/kernel/signal.c:309
 exit_to_user_mode_loop+0x6f/0xe0 kernel/entry/common.c:168
 exit_to_user_mode_prepare+0x6c/0xb0 kernel/entry/common.c:204
 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline]
 syscall_exit_to_user_mode+0x26/0x140 kernel/entry/common.c:296
 do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x00000014 -> 0x00000009

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 1968 Comm: syz-executor.2 Tainted: G        W          6.6.0-rc2-syzkaller-00143-gb5cbe7c00aa0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023
==================================================================

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/09/22 02:30 upstream b5cbe7c00aa0 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in complete_signal / do_notify_parent_cldstop
2023/09/05 05:02 upstream 3f86ed6ec0b3 0b6286dc .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in complete_signal / do_notify_parent_cldstop
* Struck through repros no longer work on HEAD.