syzbot


KCSAN: data-race in do_timerfd_settime / do_timerfd_settime

Status: auto-closed as invalid on 2022/05/23 15:22
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 228d, last: 228d
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 (2) 1 141d 141d 0/24 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 0xffff888107b8abd4 of 1 bytes by task 11615 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+0x44/0xae

read to 0xffff888107b8abd4 of 1 bytes by task 11609 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+0x44/0xae

value changed: 0x00 -> 0x01

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 11609 Comm: syz-executor.5 Not tainted 5.18.0-rc3-syzkaller-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

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