syzbot


KCSAN: data-race in __mod_timer / enqueue_timer

Status: auto-obsoleted due to no activity on 2024/01/21 00:43
Subsystems: afs net
[Documentation on labels]
First crash: 614d, last: 614d

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

read-write to 0xffff888104076310 of 4 bytes by task 15590 on cpu 1:
 timer_set_idx kernel/time/timer.c:508 [inline]
 enqueue_timer+0xb5/0x2a0 kernel/time/timer.c:607
 __mod_timer+0x67e/0x860
 timer_reduce+0x22/0x30 kernel/time/timer.c:1216
 rxrpc_create+0x2af/0x2e0 net/rxrpc/af_rxrpc.c:810
 __sock_create+0x2d7/0x4e0 net/socket.c:1569
 sock_create net/socket.c:1620 [inline]
 __sys_socket_create net/socket.c:1657 [inline]
 __sys_socket+0xad/0x230 net/socket.c:1704
 __do_sys_socket net/socket.c:1718 [inline]
 __se_sys_socket net/socket.c:1716 [inline]
 __x64_sys_socket+0x3f/0x50 net/socket.c:1716
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

read to 0xffff888104076310 of 4 bytes by task 15585 on cpu 0:
 lock_timer_base kernel/time/timer.c:1000 [inline]
 __mod_timer+0x3fa/0x860 kernel/time/timer.c:1046
 timer_reduce+0x22/0x30 kernel/time/timer.c:1216
 rxrpc_create+0x2af/0x2e0 net/rxrpc/af_rxrpc.c:810
 __sock_create+0x2d7/0x4e0 net/socket.c:1569
 sock_create net/socket.c:1620 [inline]
 __sys_socket_create net/socket.c:1657 [inline]
 __sys_socket+0xad/0x230 net/socket.c:1704
 __do_sys_socket net/socket.c:1718 [inline]
 __se_sys_socket net/socket.c:1716 [inline]
 __x64_sys_socket+0x3f/0x50 net/socket.c:1716
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

value changed: 0x23c00001 -> 0x0e000001

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 15585 Comm: syz-executor.1 Tainted: G        W          6.7.0-rc5-syzkaller-00214-gc8e97fc6b4c0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/12/17 00:43 upstream c8e97fc6b4c0 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __mod_timer / enqueue_timer
* Struck through repros no longer work on HEAD.