syzbot


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

Status: auto-closed as invalid on 2022/04/02 02:58
Subsystems: kernel
[Documentation on labels]
First crash: 958d, last: 931d
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 1382d 1377d 0/28 auto-closed as invalid on 2021/01/06 00:58
upstream KCSAN: data-race in do_notify_parent_cldstop / do_signal_stop (4) kernel 36 1069d 1200d 0/28 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 1312d 1339d 0/28 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 440d 694d 0/28 auto-obsoleted due to no activity on 2023/08/06 14:55
upstream KCSAN: data-race in do_notify_parent_cldstop / do_signal_stop (6) kernel 3 845d 893d 0/28 auto-closed as invalid on 2022/06/27 00:34
upstream KCSAN: data-race in do_notify_parent_cldstop / do_signal_stop (8) kernel 1 205d 205d 0/28 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 1429d 1441d 0/28 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 0xffff888102568060 of 4 bytes by task 11662 on cpu 1:
 do_signal_stop+0xfb/0x800 kernel/signal.c:2414
 get_signal+0xbd0/0x15b0 kernel/signal.c:2815
 arch_do_signal_or_restart+0x8c/0x2e0 arch/x86/kernel/signal.c:868
 handle_signal_work kernel/entry/common.c:148 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:172 [inline]
 exit_to_user_mode_prepare+0x113/0x190 kernel/entry/common.c:207
 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline]
 syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:300
 do_syscall_64+0x50/0xd0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff888102568060 of 4 bytes by task 11639 on cpu 0:
 do_notify_parent_cldstop+0x1c1/0x290
 get_signal+0x241/0x15b0 kernel/signal.c:2684
 arch_do_signal_or_restart+0x8c/0x2e0 arch/x86/kernel/signal.c:868
 handle_signal_work kernel/entry/common.c:148 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:172 [inline]
 exit_to_user_mode_prepare+0x113/0x190 kernel/entry/common.c:207
 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline]
 syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:300
 do_syscall_64+0x50/0xd0 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: 11639 Comm: syz-executor.1 Not tainted 5.17.0-rc5-syzkaller-00235-gc47658311d60-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/02/26 02:53 upstream c47658311d60 45a13a73 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in do_notify_parent_cldstop / do_signal_stop
2022/01/30 14:18 upstream 8dd71685dcb7 495e00c5 .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.