syzbot


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

Status: auto-closed as invalid on 2022/08/19 07:40
Subsystems: fs
[Documentation on labels]
First crash: 641d, last: 641d
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 728d 728d 0/26 auto-closed as invalid on 2022/05/23 15:22
upstream KCSAN: data-race in do_timerfd_settime / do_timerfd_settime (3) fs 1 533d 533d 0/26 auto-obsoleted due to no activity on 2022/12/05 06:13

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):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/07/15 07:30 upstream 9bd572ec7a66 5d921b08 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in do_timerfd_settime / do_timerfd_settime
* Struck through repros no longer work on HEAD.