syzbot


KCSAN: data-race in do_timerfd_settime / do_timerfd_settime (3)

Status: auto-obsoleted due to no activity on 2022/12/05 06:13
Subsystems: fs
[Documentation on labels]
First crash: 541d, last: 541d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in do_timerfd_settime / do_timerfd_settime fs 1 737d 737d 0/26 auto-closed as invalid on 2022/05/23 15:22
upstream KCSAN: data-race in do_timerfd_settime / do_timerfd_settime (2) fs 1 649d 649d 0/26 auto-closed as invalid on 2022/08/19 07:40

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

write to 0xffff88811e8265d4 of 1 bytes by task 4413 on cpu 1:
 timerfd_setup_cancel fs/timerfd.c:166 [inline]
 do_timerfd_settime+0x989/0xa70 fs/timerfd.c:476
 __do_sys_timerfd_settime fs/timerfd.c:567 [inline]
 __se_sys_timerfd_settime fs/timerfd.c:558 [inline]
 __x64_sys_timerfd_settime+0xb5/0x140 fs/timerfd.c:558
 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 0xffff88811e8265d4 of 1 bytes by task 4414 on cpu 0:
 timerfd_canceled fs/timerfd.c:153 [inline]
 timerfd_setup fs/timerfd.c:227 [inline]
 do_timerfd_settime+0x8a8/0xa70 fs/timerfd.c:519
 __do_sys_timerfd_settime fs/timerfd.c:567 [inline]
 __se_sys_timerfd_settime fs/timerfd.c:558 [inline]
 __x64_sys_timerfd_settime+0xb5/0x140 fs/timerfd.c:558
 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: 0x00 -> 0x01

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 4414 Comm: syz-executor.5 Tainted: G        W          6.1.0-rc2-syzkaller-00487-gb72018ab8236-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/10/31 06:03 upstream b72018ab8236 2a71366b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_timerfd_settime / do_timerfd_settime
* Struck through repros no longer work on HEAD.