syzbot


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

Status: auto-obsoleted due to no activity on 2023/02/08 10:48
Subsystems: kernel
[Documentation on labels]
First crash: 494d, last: 494d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __lock_timer / __se_sys_timer_delete (3) kernel 1 360d 360d 0/26 auto-obsoleted due to no activity on 2023/06/15 18:17
upstream KCSAN: data-race in __lock_timer / __se_sys_timer_delete kernel 1 899d 899d 0/26 auto-closed as invalid on 2021/12/23 00:32

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

write to 0xffff888106255c60 of 8 bytes by task 26312 on cpu 1:
 __do_sys_timer_delete kernel/time/posix-timers.c:1028 [inline]
 __se_sys_timer_delete+0x1c4/0x2d0 kernel/time/posix-timers.c:1004
 __x64_sys_timer_delete+0x1b/0x20 kernel/time/posix-timers.c:1004
 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 0xffff888106255c60 of 8 bytes by task 26313 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_gettime kernel/time/posix-timers.c:722 [inline]
 __do_sys_timer_gettime kernel/time/posix-timers.c:743 [inline]
 __se_sys_timer_gettime kernel/time/posix-timers.c:738 [inline]
 __x64_sys_timer_gettime+0x5d/0x140 kernel/time/posix-timers.c:738
 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: 0xffff888100c4f6c0 -> 0x0000000000000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 26313 Comm: syz-executor.2 Tainted: G        W          6.2.0-rc1-syzkaller-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/12/28 10:35 upstream 1b929c02afd3 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __lock_timer / __se_sys_timer_delete
* Struck through repros no longer work on HEAD.