syzbot


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

Status: auto-obsoleted due to no activity on 2024/03/28 14:42
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+b1435d499ce6d75d1d85@syzkaller.appspotmail.com
First crash: 64d, last: 64d
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 1242d 1236d 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 791d 817d 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 929d 1059d 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 1171d 1198d 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 299d 554d 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 705d 752d 0/26 auto-closed as invalid on 2022/06/27 00:34
upstream KCSAN: data-race in do_notify_parent_cldstop / do_signal_stop kernel 3 1289d 1301d 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 0xffff8881031f9260 of 4 bytes by task 17783 on cpu 0:
 do_signal_stop+0x10c/0x600 kernel/signal.c:2456
 get_signal+0x5f5/0x10a0 kernel/signal.c:2845
 arch_do_signal_or_restart+0x95/0x4b0 arch/x86/kernel/signal.c:310
 exit_to_user_mode_loop kernel/entry/common.c:105 [inline]
 exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
 __syscall_exit_to_user_mode_work kernel/entry/common.c:201 [inline]
 syscall_exit_to_user_mode+0x58/0x130 kernel/entry/common.c:212
 do_syscall_64+0xda/0x1d0 arch/x86/entry/common.c:89
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

read to 0xffff8881031f9260 of 4 bytes by task 17780 on cpu 1:
 do_notify_parent_cldstop+0x192/0x2a0 kernel/signal.c:2186
 get_signal+0xa60/0x10a0 kernel/signal.c:2713
 arch_do_signal_or_restart+0x95/0x4b0 arch/x86/kernel/signal.c:310
 exit_to_user_mode_loop kernel/entry/common.c:105 [inline]
 exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
 __syscall_exit_to_user_mode_work kernel/entry/common.c:201 [inline]
 syscall_exit_to_user_mode+0x58/0x130 kernel/entry/common.c:212
 do_syscall_64+0xda/0x1d0 arch/x86/entry/common.c:89
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

value changed: 0x00000000 -> 0x00000014

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 17780 Comm: syz-executor.4 Not tainted 6.8.0-rc5-syzkaller-00029-g39133352cbed #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/02/22 14:41 upstream 39133352cbed 345111b5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_notify_parent_cldstop / do_signal_stop
* Struck through repros no longer work on HEAD.