mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Edward Adam Davis <eadavis@qq.com>
To: syzbot+3febffd6d2ea432770c6@syzkaller.appspotmail.com
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [net?] INFO: task hung in svc_listen (2)
Date: Tue, 19 May 2026 15:48:27 +0800	[thread overview]
Message-ID: <tencent_9C196FCFA40DBF25B68DC01207DDA8DDBC07@qq.com> (raw)
In-Reply-To: <6a0b1562.050a0220.67a24.012e.GAE@google.com>

#syz test

diff --git a/net/atm/svc.c b/net/atm/svc.c
index 005964250ecd..15eafeb32bb9 100644
--- a/net/atm/svc.c
+++ b/net/atm/svc.c
@@ -298,6 +298,10 @@ static int svc_listen(struct socket *sock, int backlog)
 		error = -EINVAL;
 		goto out;
 	}
+	if (!test_bit(ATM_VF_READY, &vcc->flags)) {
+		error = -EINVAL;
+		goto out;
+	}
 	if (test_bit(ATM_VF_LISTEN, &vcc->flags)) {
 		error = -EADDRINUSE;
 		goto out;


  reply	other threads:[~2026-05-19  7:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-18 13:34 syzbot
2026-05-19  7:48 ` Edward Adam Davis [this message]
2026-05-19  8:32   ` syzbot
2026-05-19  8:34 ` Edward Adam Davis
2026-05-19  9:06   ` 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=tencent_9C196FCFA40DBF25B68DC01207DDA8DDBC07@qq.com \
    --to=eadavis@qq.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=syzbot+3febffd6d2ea432770c6@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

Powered by JetHome