syzbot


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

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

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

write to 0xffff8881040c5760 of 8 bytes by task 30113 on cpu 0:
 do_timer_create+0x905/0xa30 kernel/time/posix-timers.c:561
 __se_sys_timer_create kernel/time/posix-timers.c:577 [inline]
 __x64_sys_timer_create+0xbb/0xe0 kernel/time/posix-timers.c:577
 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

read to 0xffff8881040c5760 of 8 bytes by task 30114 on cpu 1:
 __posix_timers_find kernel/time/posix-timers.c:126 [inline]
 posix_timer_by_id kernel/time/posix-timers.c:137 [inline]
 __lock_timer+0x92/0x160 kernel/time/posix-timers.c:626
 do_timer_settime+0x103/0x240 kernel/time/posix-timers.c:918
 __do_sys_timer_settime kernel/time/posix-timers.c:956 [inline]
 __se_sys_timer_settime kernel/time/posix-timers.c:942 [inline]
 __x64_sys_timer_settime+0xe8/0x150 kernel/time/posix-timers.c:942
 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: 0x0000000000000000 -> 0xffff88810494a900

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 30114 Comm: syz-executor.1 Not tainted 6.3.0-syzkaller-10125-g35fab9271b7e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/04/28 06:31 upstream 35fab9271b7e 70a605de .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __lock_timer / do_timer_create
* Struck through repros no longer work on HEAD.