syzbot


KCSAN: data-race in do_notify_parent_cldstop / do_signal_stop (6)

Status: auto-closed as invalid on 2022/06/27 00:34
Subsystems: kernel
[Documentation on labels]
First crash: 764d, last: 716d
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in do_notify_parent_cldstop / do_signal_stop (2) kernel 3 1253d 1248d 0/26 auto-closed as invalid on 2021/01/06 00:58
upstream KCSAN: data-race in do_notify_parent_cldstop / do_signal_stop (5) kernel 2 802d 829d 0/26 auto-closed as invalid on 2022/04/02 02:58
upstream KCSAN: data-race in do_notify_parent_cldstop / do_signal_stop (4) kernel 36 940d 1071d 0/26 auto-closed as invalid on 2021/11/15 08:17
upstream KCSAN: data-race in do_notify_parent_cldstop / do_signal_stop (3) kernel 3 1183d 1210d 0/26 auto-closed as invalid on 2021/03/17 11:58
upstream KCSAN: data-race in do_notify_parent_cldstop / do_signal_stop (7) kernel 24 311d 566d 0/26 auto-obsoleted due to no activity on 2023/08/06 14:55
upstream KCSAN: data-race in do_notify_parent_cldstop / do_signal_stop (8) kernel 1 76d 76d 0/26 auto-obsoleted due to no activity on 2024/03/28 14:42
upstream KCSAN: data-race in do_notify_parent_cldstop / do_signal_stop kernel 3 1300d 1312d 0/26 auto-closed as invalid on 2020/11/20 09:44

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

write to 0xffff888138a1fb60 of 4 bytes by task 8296 on cpu 1:
 do_signal_stop+0xfb/0x660 kernel/signal.c:2427
 get_signal+0x61d/0x1020 kernel/signal.c:2816
 arch_do_signal_or_restart+0x87/0x2d0 arch/x86/kernel/signal.c:867
 exit_to_user_mode_loop+0x78/0x130 kernel/entry/common.c:166
 exit_to_user_mode_prepare kernel/entry/common.c:201 [inline]
 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline]
 syscall_exit_to_user_mode+0x6a/0x90 kernel/entry/common.c:294
 ret_from_fork+0x15/0x30

read to 0xffff888138a1fb60 of 4 bytes by task 8280 on cpu 0:
 do_notify_parent_cldstop+0x19b/0x280
 get_signal+0xa65/0x1020 kernel/signal.c:2685
 arch_do_signal_or_restart+0x87/0x2d0 arch/x86/kernel/signal.c:867
 exit_to_user_mode_loop+0x78/0x130 kernel/entry/common.c:166
 exit_to_user_mode_prepare kernel/entry/common.c:201 [inline]
 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline]
 syscall_exit_to_user_mode+0x6a/0x90 kernel/entry/common.c:294
 do_syscall_64+0x37/0x70 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x00000000 -> 0x00000014

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 8280 Comm: syz-executor.3 Not tainted 5.18.0-rc7-syzkaller-00185-g978df3e15846-dirty #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
2022/05/23 00:26 upstream 978df3e15846 7268fa62 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in do_notify_parent_cldstop / do_signal_stop
2022/04/22 18:02 upstream d569e86915b7 131df97d .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in do_notify_parent_cldstop / do_signal_stop
2022/04/05 20:37 upstream ce4c854ee868 0127c10f .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in do_notify_parent_cldstop / do_signal_stop
* Struck through repros no longer work on HEAD.