Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1979384rwl; Sun, 26 Mar 2023 13:07:06 -0700 (PDT) X-Google-Smtp-Source: AKy350YEVJSyuvcmY8lFDoHG6NPOVcMJUE/MHj2zZ+/5p9H67SUQGT3+l22Q3WFIIWgRGorQnVCM X-Received: by 2002:a62:6485:0:b0:626:41c:ad11 with SMTP id y127-20020a626485000000b00626041cad11mr8386305pfb.12.1679861226632; Sun, 26 Mar 2023 13:07:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679861226; cv=none; d=google.com; s=arc-20160816; b=k+Ow/GJn4YNAPsetH22Xk7cUnIDjgSshBkrMIQBUGUb2w/R1UzY+QiWekn2GrhMr9V oSELnBYxrpLFpngpwPyyAgOdLosZSJtLEj9JCedgTshMKBmwKIq8kbnw1Nu5Zrzm1ptC cBDZI2z2uwQizfayVvyz22NFvJ9GmnRfP7OUqKSSu85oBudQLAQmCS2IZVctlCzMW0Oa gmP7vMSBopBeXf2YaaCuhqtpg+/hXYrbQQqqetmxYXqfOZ3e9p57jKiHMsAaz1gGtWqT rkPDUqGA+QALc/OUW1xtkMwilXWmrrOIjQlRV7M4X+kMmDHV9t/WOp9ZHS0D0Hl7zWNU CcmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=oG/w6m6QtpmYcph7ogXNw2Cb+L528y4HO8hE3WHqySk=; b=KklqEPBPI6w8G2QtmwFvwIXCmf0XwxzY9gmMIZimcJeWUAcRndVgp3tslt9ASMczmC OVk4gzYG/9HZMEBCDrI9VbdVHwN5IselL6FB1j8Rte4HzJ2NFFfRRjLFofltTRM6yMEd PSpaGyqmQRtPEjYNH5rCOkDllCqiHYG25H5Gmh4tyST8YKlV0jUMqScafk1aFpODdCoK nXOfuT4D8B5lampcZDfJLhz/w7E1ktYh6r1WEbVRamvWu7zsSLa+jBY8pu6+UA5XYxNz w7k4bb6q1o7yNOfB5evh2GGL/Ru5GXN/yyAGPE2Tcsa/+qgVXMBL99JMQ6VUPhyEm1Xn tEpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="RuYjs/St"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c2-20020a631c02000000b0050bfc20c788si24735685pgc.282.2023.03.26.13.06.54; Sun, 26 Mar 2023 13:07:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="RuYjs/St"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231840AbjCZTUh (ORCPT + 99 others); Sun, 26 Mar 2023 15:20:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229596AbjCZTUg (ORCPT ); Sun, 26 Mar 2023 15:20:36 -0400 Received: from mail-yb1-xb32.google.com (mail-yb1-xb32.google.com [IPv6:2607:f8b0:4864:20::b32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99FDC5263; Sun, 26 Mar 2023 12:20:35 -0700 (PDT) Received: by mail-yb1-xb32.google.com with SMTP id p203so7914285ybb.13; Sun, 26 Mar 2023 12:20:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679858435; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=oG/w6m6QtpmYcph7ogXNw2Cb+L528y4HO8hE3WHqySk=; b=RuYjs/StRoPkkDWrvmwXiGOQ4iyHBLQ/oUc4LBwsJU954HQ34/la6MiLmEMMLNjbqa ZiUeOh17f/1xc5lpEgOWba9hMrolYNI2qlhsq4ilNa1fsdj763IHQLcbbtmWlRouvS+U dSrhFSfzFxbzx8uTZEIfCUeszCpSx4HsO84dNQebYcswk4G/8jz7sbQ3dA0ol3PQ+waP iB4UqDUppIJIX1r2twnkAJr8idV7fWN8MV3e85gpPvi18qlrTsFtoHk6k71NHG36rprB swGIloWRV55T8523Do1MGQ3E2dVOcCW0XtgX2jKeLiU0qmhKETcks2Xzm46REysaFt5s Evhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679858435; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=oG/w6m6QtpmYcph7ogXNw2Cb+L528y4HO8hE3WHqySk=; b=SitwAuNnrUXK5/XvvQboxos8yY8/RtcRC4khWBhH9F7onDyKDNp/P5s+X39jnTjiGn ozuJW5szbo0kvgA47lHTkLk1UjETFm0xKCGziXoCwkNb8mb6u6qVcLUGvZZdBFOte2Qm PtQSRMAhn2H/qxQME5aNEh4xuQp00eaVX5VSsfWpvkL+ipcT/mOwemxDHDHmso9iYpt+ dVqvSmLpjFkiBq/R09snLDAtYdWC1ikA8K6g29uCI3+z6sZns2h/55NciPzCtip0QpIS XOzemTXUuJdpc+96y0YW7hR3v7CrPhVu7xO0xSl2D4x9uam2eXd9yox7UrsrYcFytX1i lR5g== X-Gm-Message-State: AAQBX9fa9DgrjOKwsW8ChczYsu1WDKcIBw3TZsyXqpHQAChNUmMPMPEl uqoDU7BpV4e9csMqTraWoJw= X-Received: by 2002:a25:2650:0:b0:b65:f335:2875 with SMTP id m77-20020a252650000000b00b65f3352875mr9567454ybm.37.1679858434757; Sun, 26 Mar 2023 12:20:34 -0700 (PDT) Received: from localhost ([2600:1700:65a0:ab60:2049:9ff4:d425:1853]) by smtp.gmail.com with ESMTPSA id 64-20020a250643000000b00b7767ca749esm1874211ybg.59.2023.03.26.12.20.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Mar 2023 12:20:34 -0700 (PDT) Date: Sun, 26 Mar 2023 12:20:33 -0700 From: Cong Wang To: Bobby Eshleman Cc: Stefano Garzarella , Bobby Eshleman , Bobby Eshleman , syzbot , axboe@kernel.dk, davem@davemloft.net, edumazet@google.com, io-uring@vger.kernel.org, kuba@kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, pabeni@redhat.com, stefanha@redhat.com, syzkaller-bugs@googlegroups.com, virtualization@lists.linux-foundation.org, Krasnov Arseniy , Krasnov Arseniy Vladimirovich Subject: Re: [syzbot] [net?] [virt?] [io-uring?] [kvm?] BUG: soft lockup in vsock_connect Message-ID: References: <00000000000075bebb05f79acfde@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Mar 18, 2023 at 12:32:39AM +0000, Bobby Eshleman wrote: > On Fri, Mar 24, 2023 at 09:38:38AM +0100, Stefano Garzarella wrote: > > Hi Bobby, > > FYI we have also this one, but it seems related to > > syzbot+befff0a9536049e7902e@syzkaller.appspotmail.com > > > > Thanks, > > Stefano > > > > Got it, I'll look into it. > It seems you forgot to set skb->sk?? diff --git a/net/vmw_vsock/virtio_transport_common.c b/net/vmw_vsock/virtio_transport_common.c index 957cdc01c8e8..d47ad27b409d 100644 --- a/net/vmw_vsock/virtio_transport_common.c +++ b/net/vmw_vsock/virtio_transport_common.c @@ -236,6 +236,7 @@ static int virtio_transport_send_pkt_info(struct vsock_sock *vsk, } virtio_transport_inc_tx_pkt(vvs, skb); + skb_set_owner_w(skb, sk_vsock(vsk)); return t_ops->send_pkt(skb); }