mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Hillf Danton <hdanton@sina.com>
To: syzbot <syzbot+9a29e1dba699b6f46a03@syzkaller.appspotmail.com>
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	[thread overview]
Message-ID: <20260723023141.688-1-hdanton@sina.com> (raw)
In-Reply-To: <6a60e4e1.16bfb6d0.3c48cb.0003.GAE@google.com>

> 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 */
--

  reply	other threads:[~2026-07-23  2:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-16 17:01 [syzbot] [wireless?] " syzbot
2026-07-22 15:42 ` [syzbot] [bpf?] [sctp?] [tipc?] " syzbot
2026-07-23  2:31   ` Hillf Danton [this message]
2026-07-23  3:25     ` syzbot
2026-07-23  6:08 ` Forwarded: " syzbot
     [not found] <20260723060717.22001-1-xuanqiang.luo@linux.dev>
2026-07-23  7:20 ` syzbot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260723023141.688-1-hdanton@sina.com \
    --to=hdanton@sina.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=syzbot+9a29e1dba699b6f46a03@syzkaller.appspotmail.com \
    --cc=syzkaller-bugs@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®