syzbot


KCSAN: data-race in rxrpc_send_data_packet / rxrpc_send_keepalive

Status: auto-closed as invalid on 2022/01/05 18:16
Subsystems: afs net
[Documentation on labels]
Reported-by: syzbot+9761eb127006f6b0928e@syzkaller.appspotmail.com
First crash: 875d, last: 875d

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

write to 0xffff88813c390b58 of 8 bytes by task 1918 on cpu 0:
 rxrpc_send_keepalive+0x1c1/0x320 net/rxrpc/output.c:673
 rxrpc_peer_keepalive_dispatch net/rxrpc/peer_event.c:332 [inline]
 rxrpc_peer_keepalive_worker+0x49d/0x720 net/rxrpc/peer_event.c:396
 process_one_work+0x3fc/0x980 kernel/workqueue.c:2298
 worker_thread+0x616/0xa70 kernel/workqueue.c:2445
 kthread+0x2c7/0x2e0 kernel/kthread.c:327
 ret_from_fork+0x1f/0x30

write to 0xffff88813c390b58 of 8 bytes by task 7435 on cpu 1:
 rxrpc_send_data_packet+0x7f6/0x1330 net/rxrpc/output.c:448
 rxrpc_queue_packet+0x367/0x7d0 net/rxrpc/sendmsg.c:258
 rxrpc_send_data+0xcb1/0xf00 net/rxrpc/sendmsg.c:437
 rxrpc_do_sendmsg+0xc1b/0xcf0 net/rxrpc/sendmsg.c:744
 rxrpc_sendmsg+0x3d7/0x4c0 net/rxrpc/af_rxrpc.c:561
 sock_sendmsg_nosec net/socket.c:704 [inline]
 sock_sendmsg net/socket.c:724 [inline]
 ____sys_sendmsg+0x39a/0x510 net/socket.c:2409
 ___sys_sendmsg net/socket.c:2463 [inline]
 __sys_sendmmsg+0x267/0x4c0 net/socket.c:2549
 __do_sys_sendmmsg net/socket.c:2578 [inline]
 __se_sys_sendmmsg net/socket.c:2575 [inline]
 __x64_sys_sendmmsg+0x53/0x60 net/socket.c:2575
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x0000000000000000 -> 0x000000000000009d

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

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/12/01 18:15 upstream 58e1100fdc59 5fa3eacc .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in rxrpc_send_data_packet / rxrpc_send_keepalive
* Struck through repros no longer work on HEAD.