syzbot


KCSAN: data-race in __lock_timer / do_timer_create (2)

Status: auto-closed as invalid on 2022/06/28 20:27
Subsystems: kernel
[Documentation on labels]
First crash: 716d, last: 716d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __lock_timer / do_timer_create kernel 1 784d 784d 0/26 auto-closed as invalid on 2022/04/22 16:54
upstream KCSAN: data-race in __lock_timer / do_timer_create (3) kernel 1 378d 378d 0/26 auto-obsoleted due to no activity on 2023/06/02 06:33

Sample crash report:
==================================================================
BUG: KCSAN: data-race in __lock_timer / do_timer_create

write to 0xffff888105664960 of 8 bytes by task 23780 on cpu 1:
 do_timer_create+0x95c/0xa90 kernel/time/posix-timers.c:561
 __se_sys_timer_create kernel/time/posix-timers.c:577 [inline]
 __x64_sys_timer_create+0xb7/0xe0 kernel/time/posix-timers.c:577
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x46/0xb0

read to 0xffff888105664960 of 8 bytes by task 23781 on cpu 0:
 __posix_timers_find kernel/time/posix-timers.c:126 [inline]
 posix_timer_by_id kernel/time/posix-timers.c:137 [inline]
 __lock_timer+0x9c/0x180 kernel/time/posix-timers.c:626
 do_timer_settime+0x103/0x240 kernel/time/posix-timers.c:914
 __do_sys_timer_settime kernel/time/posix-timers.c:952 [inline]
 __se_sys_timer_settime kernel/time/posix-timers.c:938 [inline]
 __x64_sys_timer_settime+0xe4/0x150 kernel/time/posix-timers.c:938
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x46/0xb0

value changed: 0x0000000000000000 -> 0xffff8881084cd240

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 23781 Comm: syz-executor.4 Not tainted 5.18.0-syzkaller-01157-g143a6252e1b8-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/05/24 20:23 upstream 143a6252e1b8 fcfad4ff .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __lock_timer / do_timer_create
* Struck through repros no longer work on HEAD.