syzbot


KCSAN: data-race in rxrpc_send_data / rxrpc_send_data_packet

Status: auto-obsoleted due to no activity on 2025/06/16 08:50
Subsystems: net afs
[Documentation on labels]
First crash: 170d, last: 123d

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

write to 0xffff888109f2c800 of 8 bytes by task 8966 on cpu 1:
 rxrpc_alloc_txqueue net/rxrpc/sendmsg.c:295 [inline]
 rxrpc_send_data+0x836/0x15e0 net/rxrpc/sendmsg.c:398
 rxrpc_do_sendmsg+0xc4c/0xd10 net/rxrpc/sendmsg.c:769
 rxrpc_sendmsg+0x417/0x520 net/rxrpc/af_rxrpc.c:627
 sock_sendmsg_nosec net/socket.c:712 [inline]
 __sock_sendmsg+0x140/0x180 net/socket.c:727
 ____sys_sendmsg+0x350/0x4e0 net/socket.c:2566
 ___sys_sendmsg net/socket.c:2620 [inline]
 __sys_sendmsg+0x1a0/0x240 net/socket.c:2652
 __do_sys_sendmsg net/socket.c:2657 [inline]
 __se_sys_sendmsg net/socket.c:2655 [inline]
 __x64_sys_sendmsg+0x46/0x50 net/socket.c:2655
 x64_sys_call+0x26f3/0x2e10 arch/x86/include/generated/asm/syscalls_64.h:47
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xc9/0x1a0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff888109f2c800 of 8 bytes by task 8970 on cpu 0:
 rxrpc_prepare_data_packet net/rxrpc/output.c:566 [inline]
 rxrpc_send_data_packet+0x476/0x2050 net/rxrpc/output.c:664
 rxrpc_transmit_fresh_data net/rxrpc/call_event.c:255 [inline]
 rxrpc_transmit_some_data+0x65d/0x920 net/rxrpc/call_event.c:277
 rxrpc_input_call_event+0x90b/0x1360 net/rxrpc/call_event.c:401
 rxrpc_io_thread+0x1d62/0x2360 net/rxrpc/io_thread.c:534
 kthread+0x4b7/0x540 kernel/kthread.c:464
 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:153
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245

value changed: 0x0000000000000000 -> 0xffff888102f37000

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 UID: 0 PID: 8970 Comm: krxrpcio/0 Not tainted 6.15.0-rc3-syzkaller-00001-g9d7a0577c9db #0 PREEMPT(voluntary) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
==================================================================

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/04/21 08:49 upstream 9d7a0577c9db 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in rxrpc_send_data / rxrpc_send_data_packet
2025/03/05 04:44 upstream 48a5eed9ad58 c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in rxrpc_send_data / rxrpc_send_data_packet
* Struck through repros no longer work on HEAD.