syzbot


KCSAN: data-race in futex_wait / hrtimer_wakeup (5)

Status: auto-obsoleted due to no activity on 2023/04/29 18:45
Subsystems: kernel
[Documentation on labels]
First crash: 475d, last: 431d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in futex_wait / hrtimer_wakeup (6) kernel 4 313d 371d 0/26 auto-obsoleted due to no activity on 2023/08/26 06:58
upstream KCSAN: data-race in futex_wait / hrtimer_wakeup (2) kernel 1 1019d 1019d 0/26 auto-closed as invalid on 2021/09/19 05:49
upstream KCSAN: data-race in futex_wait / hrtimer_wakeup (4) kernel 1 741d 741d 0/26 auto-closed as invalid on 2022/06/24 14:54
upstream KCSAN: data-race in futex_wait / hrtimer_wakeup kernel 2 1172d 1202d 0/26 auto-closed as invalid on 2021/05/17 11:26
upstream KCSAN: data-race in futex_wait / hrtimer_wakeup (3) kernel 1 822d 822d 0/26 auto-closed as invalid on 2022/04/04 11:03

Sample crash report:
==================================================================
BUG: KCSAN: data-race in futex_wait / hrtimer_wakeup

read-write to 0xffffc9000123fe90 of 8 bytes by interrupt on cpu 0:
 hrtimer_wakeup+0x1c/0x50 kernel/time/hrtimer.c:1937
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x217/0x700 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x224/0x7c0 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline]
 __sysvec_apic_timer_interrupt+0xa7/0x250 arch/x86/kernel/apic/apic.c:1113
 sysvec_apic_timer_interrupt+0x3d/0xb0 arch/x86/kernel/apic/apic.c:1107
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645

read to 0xffffc9000123fe90 of 8 bytes by task 8538 on cpu 1:
 futex_wait+0x1d8/0x410 kernel/futex/waitwake.c:663
 futex_wait_restart+0xca/0xf0 kernel/futex/waitwake.c:705
 __do_sys_restart_syscall+0x30/0x40 kernel/signal.c:3004
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0xffff888126e261c0 -> 0x0000000000000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 8538 Comm: syz-executor.4 Not tainted 6.3.0-rc3-syzkaller-00322-g4bdec23f971b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
==================================================================

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/03/25 18:42 upstream 4bdec23f971b fbf0499a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in futex_wait / hrtimer_wakeup
2023/02/09 21:40 upstream 35674e787518 07980f9d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in futex_wait / hrtimer_wakeup
* Struck through repros no longer work on HEAD.