syzbot


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

Status: auto-closed as invalid on 2021/03/17 11:58
Subsystems: kernel
[Documentation on labels]
First crash: 1195d, last: 1168d
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 1239d 1233d 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 787d 814d 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 925d 1056d 0/26 auto-closed as invalid on 2021/11/15 08:17
upstream KCSAN: data-race in do_notify_parent_cldstop / do_signal_stop (7) kernel 24 296d 551d 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 (6) kernel 3 702d 749d 0/26 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 61d 61d 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 1285d 1297d 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 0xffff8880622f6aa0 of 4 bytes by task 1010 on cpu 0:
 do_signal_stop+0x100/0x6e0 kernel/signal.c:2340
 get_signal+0x65d/0x14e0 kernel/signal.c:2733
 arch_do_signal_or_restart+0x2a/0x270 arch/x86/kernel/signal.c:811
 handle_signal_work kernel/entry/common.c:147 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:171 [inline]
 exit_to_user_mode_prepare+0x11a/0x1b0 kernel/entry/common.c:201
 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline]
 syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:294
 do_syscall_64+0x45/0x80 arch/x86/entry/common.c:56
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff8880622f6aa0 of 4 bytes by task 979 on cpu 1:
 do_notify_parent_cldstop+0x1a1/0x290 kernel/signal.c:2055
 get_signal+0x10ee/0x14e0 kernel/signal.c:2607
 arch_do_signal_or_restart+0x2a/0x270 arch/x86/kernel/signal.c:811
 handle_signal_work kernel/entry/common.c:147 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:171 [inline]
 exit_to_user_mode_prepare+0x11a/0x1b0 kernel/entry/common.c:201
 irqentry_exit_to_user_mode+0x5/0x20 kernel/entry/common.c:307
 irqentry_exit+0xe/0x40 kernel/entry/common.c:395
 asm_sysvec_reschedule_ipi+0x12/0x20 arch/x86/include/asm/idtentry.h:634

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 979 Comm: syz-executor.0 Not tainted 5.11.0-rc7-syzkaller #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
2021/02/10 11:49 upstream e0756cfc7d7c 9c8b8541 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in do_notify_parent_cldstop / do_signal_stop
2021/01/18 22:15 upstream 1e2a199f6ccd 63631df1 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in do_notify_parent_cldstop / do_signal_stop
2021/01/14 15:54 upstream 65f0d2414b70 468dbb55 .config console log report info ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.