From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail3-165.sinamail.sina.com.cn (mail3-165.sinamail.sina.com.cn [202.108.3.165]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 59D86336EF8 for ; Thu, 23 Jul 2026 02:32:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.108.3.165 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784773960; cv=none; b=Ar2QeVlHlW+F6NSejDC27eIhhq8j3V5sJ1zqiKBEFqAjS30zwSDQ+7Gof69vFSM54XZYM2njpMBjbWH92hCHZObFSOcWfMYIfu6//OSVKSFsyT2qRHPsNOtsMUR4Sz/s4Fa9JzdmBelqcPX7dungM6MBbRyWw+ulKnijjg8vYF0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784773960; c=relaxed/simple; bh=NzdpIxk9yzr5oVirzRyi53Jo4tor0n/EZH9PY+pBF18=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=GWHXxq8ZAVlshqPc/NRU8dyMjoFVT0G/dABNCxmdXZqvXCFkUg8ax5XItK+U68x99rGYP+K9FURr6YvIRhQ0k+T2ifSeFsGynuA3Fsf41c1WDryG3tzghDbE1S3dM/EJCIDt5YJI1ZQ+prFJki4U/31V0TeRqFGpe5krznbUtvU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sina.com; spf=pass smtp.mailfrom=sina.com; dkim=pass (1024-bit key) header.d=sina.com header.i=@sina.com header.b=xZAxH4bv; arc=none smtp.client-ip=202.108.3.165 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sina.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sina.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=sina.com header.i=@sina.com header.b="xZAxH4bv" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sina.com; s=201208; t=1784773954; bh=7VuHPesa3nKeQyd3Ec2odwspb8AKslw6bj6zQZgUPTU=; h=From:Subject:Date:Message-ID; b=xZAxH4bveFaFf66a2POFKCweNuRXYlSKI/LztNSStcxsPoQd+264iutDuM/GHhb7Q GVwtUQgr99j8DcICJ9dxgX/mfcN1J9jv1QvCHj0t3E1qHqb72SsKMVOBMUBBzgo2lN 1REJOFyj3D7ZxW4zAfrKMifJAyVeKoJV8GNZJ6J8= X-SMAIL-HELO: localhost.localdomain Received: from unknown (HELO localhost.localdomain)([221.216.152.105]) by sina.com (10.54.253.33) with ESMTP id 6A617D1400006A8E; Thu, 23 Jul 2026 10:31:52 +0800 (CST) X-Sender: hdanton@sina.com X-Auth-ID: hdanton@sina.com Authentication-Results: sina.com; spf=none smtp.mailfrom=hdanton@sina.com; dkim=none header.i=none; dmarc=none action=none header.from=hdanton@sina.com X-SMAIL-MID: 895186685284 X-SMAIL-UIID: 4F45968B01734EA49DEB42B15349B720-20260723-103152-1 From: Hillf Danton To: syzbot Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Subject: Re: [syzbot] [bpf?] [sctp?] [tipc?] INFO: rcu detected stall in sock_close (5) Date: Thu, 23 Jul 2026 10:31:40 +0800 Message-ID: <20260723023141.688-1-hdanton@sina.com> In-Reply-To: <6a60e4e1.16bfb6d0.3c48cb.0003.GAE@google.com> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit > Date: Wed, 22 Jul 2026 08:42:25 -0700 > syzbot has found a reproducer for the following issue on: > > HEAD commit: 248951ddc14d Merge tag 'hwmon-for-v7.2-rc5' of git://git.k.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=15080ab9580000 > kernel config: https://syzkaller.appspot.com/x/.config?x=98da55a882774dfe > dashboard link: https://syzkaller.appspot.com/bug?extid=9a29e1dba699b6f46a03 > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=165d9746580000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=15ba2ab9580000 #syz test --- x/net/tipc/socket.c +++ y/net/tipc/socket.c @@ -2489,7 +2489,10 @@ void tipc_sk_rcv(struct net *net, struct struct tipc_sock *tsk; struct sock *sk; struct sk_buff *skb; + static int nogo = 0; + if (nogo) + return; __skb_queue_head_init(&xmitq); while (skb_queue_len(inputq)) { dport = tipc_skb_peek_port(inputq, dport); @@ -2498,7 +2501,9 @@ void tipc_sk_rcv(struct net *net, struct if (likely(tsk)) { sk = &tsk->sk; if (likely(spin_trylock_bh(&sk->sk_lock.slock))) { + nogo = 1; tipc_sk_enqueue(inputq, sk, dport, &xmitq); + nogo = 0; spin_unlock_bh(&sk->sk_lock.slock); } /* Send pending response/rejected messages, if any */ --