KCSAN: data-race in tipc_poll / tipc_sk_conn_proto_rcv (4)

11 views
Skip to first unread message

syzbot

unread,
Nov 15, 2022, 11:40:34 PM11/15/22
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: bb1a1146467a Merge tag 'cgroup-for-6.1-rc1-fixes' of git:/..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=17a1bc64880000
kernel config: https://syzkaller.appspot.com/x/.config?x=f98e28d6a2fca03e
dashboard link: https://syzkaller.appspot.com/bug?extid=003f9574322bfba43b54
compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2
CC: [da...@davemloft.net edum...@google.com jma...@redhat.com ku...@kernel.org linux-...@vger.kernel.org net...@vger.kernel.org pab...@redhat.com tipc-di...@lists.sourceforge.net ying...@windriver.com]

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/a58d296a4003/disk-bb1a1146.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/6281e9f41509/vmlinux-bb1a1146.xz

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

==================================================================
BUG: KCSAN: data-race in tipc_poll / tipc_sk_conn_proto_rcv

read-write to 0xffff88813928f786 of 2 bytes by task 34 on cpu 1:
tipc_sk_conn_proto_rcv+0x389/0x710 net/tipc/socket.c:1371
tipc_sk_proto_rcv+0x146/0x450 net/tipc/socket.c:2158
tipc_sk_filter_rcv+0x1619/0x1730 net/tipc/socket.c:2352
tipc_sk_enqueue net/tipc/socket.c:2445 [inline]
tipc_sk_rcv+0x4bf/0xd80 net/tipc/socket.c:2497
tipc_node_xmit+0x1dc/0x990 net/tipc/node.c:1698
tipc_node_xmit_skb+0x93/0xc0 net/tipc/node.c:1758
tipc_sk_send_ack+0x24e/0x260 net/tipc/socket.c:1828
tipc_recvmsg+0x7ae/0x970 net/tipc/socket.c:1996
sock_recvmsg_nosec net/socket.c:995 [inline]
sock_recvmsg+0x87/0xa0 net/socket.c:1013
tipc_conn_rcv_from_sock net/tipc/topsrv.c:398 [inline]
tipc_conn_recv_work+0x131/0x280 net/tipc/topsrv.c:421
process_one_work+0x3d3/0x720 kernel/workqueue.c:2289
worker_thread+0x618/0xa70 kernel/workqueue.c:2436
kthread+0x1a9/0x1e0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306

read to 0xffff88813928f786 of 2 bytes by task 31328 on cpu 0:
tsk_conn_cong net/tipc/socket.c:224 [inline]
tipc_poll+0x1d9/0x320 net/tipc/socket.c:808
sock_poll+0x23e/0x260 net/socket.c:1353
vfs_poll include/linux/poll.h:88 [inline]
__io_arm_poll_handler+0x216/0x6f0 io_uring/poll.c:532
io_arm_poll_handler+0x43f/0x570 io_uring/poll.c:655
io_queue_async+0x7e/0x350 io_uring/io_uring.c:1893
io_queue_sqe io_uring/io_uring.c:1924 [inline]
io_submit_sqe+0x700/0xa40 io_uring/io_uring.c:2173
io_submit_sqes+0x274/0x530 io_uring/io_uring.c:2284
__do_sys_io_uring_enter io_uring/io_uring.c:3225 [inline]
__se_sys_io_uring_enter+0x1e7/0xb80 io_uring/io_uring.c:3157
__x64_sys_io_uring_enter+0x74/0x80 io_uring/io_uring.c:3157
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: 0x0208 -> 0x0104

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 31328 Comm: syz-executor.2 Not tainted 6.1.0-rc1-syzkaller-00010-gbb1a1146467a-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
==================================================================
cgroup: fork rejected by pids controller in /syz2


---
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,
Nov 29, 2022, 11:41:33 PM11/29/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