syzbot


KCSAN: data-race in complete_signal / exit_signals (4)

Status: auto-closed as invalid on 2021/07/01 12:39
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 437d, last: 437d
similar bugs (3):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in complete_signal / exit_signals (3) 2 554d 567d 0/23 auto-closed as invalid on 2021/03/05 20:46
upstream KCSAN: data-race in complete_signal / exit_signals 1 786d 786d 0/23 closed as invalid on 2020/06/18 14:13
upstream KCSAN: data-race in complete_signal / exit_signals (2) 1 750d 750d 0/23 auto-closed as invalid on 2020/08/22 00:27

Sample crash report:
==================================================================
BUG: KCSAN: data-race in complete_signal / exit_signals

write to 0xffff888108f940ac of 4 bytes by task 19046 on cpu 1:
 exit_signals+0xe1/0x4a0 kernel/signal.c:2927
 do_exit+0x194/0x1560 kernel/exit.c:782
 do_group_exit+0x19b/0x1a0 kernel/exit.c:923
 __do_sys_exit_group+0xb/0x10 kernel/exit.c:934
 __se_sys_exit_group+0x5/0x10 kernel/exit.c:932
 __x64_sys_exit_group+0x16/0x20 kernel/exit.c:932
 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff888108f940ac of 4 bytes by interrupt on cpu 0:
 wants_signal kernel/signal.c:1017 [inline]
 complete_signal+0x7c/0x600 kernel/signal.c:1040
 send_sigqueue+0x252/0x3e0 kernel/signal.c:1933
 posix_timer_event kernel/time/posix-timers.c:354 [inline]
 posix_timer_fn+0xe8/0x210 kernel/time/posix-timers.c:380
 __run_hrtimer+0x160/0x480 kernel/time/hrtimer.c:1537
 __hrtimer_run_queues kernel/time/hrtimer.c:1601 [inline]
 hrtimer_interrupt+0x380/0xaf0 kernel/time/hrtimer.c:1663
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline]
 __sysvec_apic_timer_interrupt+0x6f/0x1c0 arch/x86/kernel/apic/apic.c:1106
 sysvec_apic_timer_interrupt+0x64/0x80 arch/x86/kernel/apic/apic.c:1100
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:647
 native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline]
 arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline]
 acpi_safe_halt drivers/acpi/processor_idle.c:108 [inline]
 acpi_idle_do_entry drivers/acpi/processor_idle.c:513 [inline]
 acpi_idle_enter+0x25b/0x2e0 drivers/acpi/processor_idle.c:648
 cpuidle_enter_state+0x2b6/0x750 drivers/cpuidle/cpuidle.c:237
 cpuidle_enter+0x3c/0x60 drivers/cpuidle/cpuidle.c:351
 call_cpuidle kernel/sched/idle.c:158 [inline]
 cpuidle_idle_call kernel/sched/idle.c:239 [inline]
 do_idle+0x1a3/0x240 kernel/sched/idle.c:306
 cpu_startup_entry+0x15/0x20 kernel/sched/idle.c:403
 rest_init+0xc9/0xd0 init/main.c:721
 arch_call_rest_init+0xa/0xb
 start_kernel+0x59e/0x623 init/main.c:1087
 secondary_startup_64_no_verify+0xb0/0xbb

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.13.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2021/05/27 12:34 upstream d7c5303fbc8a 858ea628 .config log report info KCSAN: data-race in complete_signal / exit_signals