KCSAN: data-race in rxrpc_send_data_packet / rxrpc_send_keepalive

6 views
Skip to first unread message

syzbot

unread,
Dec 5, 2021, 7:03:28 PM12/5/21
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 58e1100fdc59 MAINTAINERS: co-maintain random.c
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=10948c55b00000
kernel config: https://syzkaller.appspot.com/x/.config?x=5308954916f6d362
dashboard link: https://syzkaller.appspot.com/bug?extid=9761eb127006f6b0928e
compiler: Debian clang version 11.0.1-2, GNU ld (GNU Binutils for Debian) 2.35.2
CC: [da...@davemloft.net dhow...@redhat.com ku...@kernel.org linu...@lists.infradead.org linux-...@vger.kernel.org marc....@auristor.com net...@vger.kernel.org]

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+9761eb...@syzkaller.appspotmail.com

==================================================================
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
==================================================================


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Jan 5, 2022, 1:16:18 PM1/5/22
to syzkaller-upst...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages