syzbot


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

Status: auto-closed as invalid on 2022/08/19 07:40
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 140d, last: 140d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in do_timerfd_settime / do_timerfd_settime 1 228d 228d 0/24 auto-closed as invalid on 2022/05/23 15:22

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

write to 0xffff88813a1961d4 of 1 bytes by task 1205 on cpu 1:
 __timerfd_remove_cancel fs/timerfd.c:137 [inline]
 timerfd_setup_cancel fs/timerfd.c:172 [inline]
 do_timerfd_settime+0x2fe/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 0xffff88813a1961d4 of 1 bytes by task 1171 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: 0x01 -> 0x00

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 1171 Comm: syz-executor.4 Not tainted 5.19.0-rc6-syzkaller-00269-g9bd572ec7a66-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
==================================================================

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/07/15 07:30 upstream 9bd572ec7a66 5d921b08 .config log report info KCSAN: data-race in do_timerfd_settime / do_timerfd_settime
* Struck through repros no longer work on HEAD.