syzbot


KCSAN: data-race in do_timer_create / do_timer_create (6)

Status: auto-obsoleted due to no activity on 2022/10/31 13:32
Subsystems: kernel
[Documentation on labels]
First crash: 1025d, last: 1025d
Similar bugs (7)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in do_timer_create / do_timer_create kernel 6 1 1528d 1528d 0/29 auto-closed as invalid on 2021/06/14 21:07
upstream KCSAN: data-race in do_timer_create / do_timer_create (3) kernel 6 2 1355d 1360d 0/29 auto-closed as invalid on 2021/12/05 03:50
upstream KCSAN: data-race in do_timer_create / do_timer_create (8) kernel 6 9 787d 818d 23/29 fixed on 2023/09/28 17:51
upstream KCSAN: data-race in do_timer_create / do_timer_create (2) kernel 6 1 1485d 1485d 0/29 auto-closed as invalid on 2021/07/28 07:48
upstream KCSAN: data-race in do_timer_create / do_timer_create (7) kernel 6 1 982d 982d 0/29 auto-obsoleted due to no activity on 2022/12/12 21:42
upstream KCSAN: data-race in do_timer_create / do_timer_create (5) kernel 6 10 1079d 1184d 0/29 auto-closed as invalid on 2022/09/07 15:06
upstream KCSAN: data-race in do_timer_create / do_timer_create (4) kernel 6 18 1223d 1310d 0/29 auto-closed as invalid on 2022/04/16 01:14

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

write to 0xffff88812f52e504 of 4 bytes by task 21921 on cpu 0:
 do_timer_create+0x359/0xa90 kernel/time/posix-timers.c:516
 __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+0x63/0xcd

read to 0xffff88812f52e504 of 4 bytes by task 21922 on cpu 1:
 posix_timer_add kernel/time/posix-timers.c:143 [inline]
 do_timer_create+0x1c0/0xa90 kernel/time/posix-timers.c:516
 __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+0x63/0xcd

value changed: 0x0000001b -> 0x0000001d

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 21922 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/09/26 13:30 upstream f76349cf4145 d59ba983 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in do_timer_create / do_timer_create
* Struck through repros no longer work on HEAD.