syzbot


KCSAN: data-race in do_notify_parent_cldstop / do_signal_stop

Status: auto-closed as invalid on 2020/11/20 09:44
Subsystems: kernel
[Documentation on labels]
First crash: 1299d, last: 1287d
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 1241d 1235d 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 789d 816d 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 927d 1058d 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 1170d 1197d 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 298d 553d 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 704d 751d 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 63d 63d 0/26 auto-obsoleted due to no activity on 2024/03/28 14:42

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

write to 0xffff88809d5e92a0 of 4 bytes by task 24335 on cpu 1:
 do_signal_stop+0xfb/0x6d0 kernel/signal.c:2339
 get_signal+0x6e4/0x15f0 kernel/signal.c:2717
 arch_do_signal+0x25/0x270 arch/x86/kernel/signal.c:811
 exit_to_user_mode_loop kernel/entry/common.c:161 [inline]
 exit_to_user_mode_prepare+0x124/0x210 kernel/entry/common.c:192
 irqentry_exit_to_user_mode+0x5/0x20 kernel/entry/common.c:280
 irqentry_exit+0xe/0x40 kernel/entry/common.c:368
 sysvec_apic_timer_interrupt+0xc6/0xd0 arch/x86/kernel/apic/apic.c:1091
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:631

read to 0xffff88809d5e92a0 of 4 bytes by task 24360 on cpu 0:
 do_notify_parent_cldstop+0x1b2/0x280 kernel/signal.c:2057
 get_signal+0x11f6/0x15f0 kernel/signal.c:2591
 arch_do_signal+0x25/0x270 arch/x86/kernel/signal.c:811
 exit_to_user_mode_loop kernel/entry/common.c:161 [inline]
 exit_to_user_mode_prepare+0x124/0x210 kernel/entry/common.c:192
 syscall_exit_to_user_mode+0x16/0x30 kernel/entry/common.c:267
 do_syscall_64+0x45/0x80 arch/x86/entry/common.c:56
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 24360 Comm: syz-executor.1 Not tainted 5.9.0-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
2020/10/16 09:36 upstream 9ff9b0d392ea 6e262c73 .config console log report info ci2-upstream-kcsan-gce
2020/10/15 00:13 upstream 3e4fb4346c78 fc7735a2 .config console log report info ci2-upstream-kcsan-gce
2020/10/04 07:01 upstream 22fbc037cd32 1a3f9408 .config console log report info ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.