mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: syzbot <syzbot+1f22cb1769f249df9fa0@syzkaller.appspotmail.com>
To: linux-kernel@vger.kernel.org
Subject: Forwarded: general protection fault in sigd_send
Date: Thu, 30 Oct 2025 23:45:02 -0700	[thread overview]
Message-ID: <69045aee.050a0220.e9cb8.0000.GAE@google.com> (raw)
In-Reply-To: <69039850.a70a0220.5b2ed.005d.GAE@google.com>

For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org.

***

Subject: general protection fault in sigd_send
Author: hsukrut3@gmail.com

#syz test
---
 net/atm/signaling.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/net/atm/signaling.c b/net/atm/signaling.c
index e70ae2c113f9..0fda16975c70 100644
--- a/net/atm/signaling.c
+++ b/net/atm/signaling.c
@@ -63,6 +63,11 @@ static void modify_qos(struct atm_vcc *vcc, struct atmsvc_msg *msg)
 
 static int sigd_send(struct atm_vcc *vcc, struct sk_buff *skb)
 {
+	if (vcc != sigd || !test_bit(ATM_VF_SESSION, &vcc->flags)) {
+		dev_kfree_skb(skb);
+		return -EPERM;
+	}
+
 	struct atmsvc_msg *msg;
 	struct atm_vcc *session_vcc;
 	struct sock *sk;
-- 
2.43.0


      reply	other threads:[~2025-10-31  6:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-30 16:54 [syzbot] [net?] " syzbot
2025-10-31  6:45 ` syzbot [this message]

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=69045aee.050a0220.e9cb8.0000.GAE@google.com \
    --to=syzbot+1f22cb1769f249df9fa0@syzkaller.appspotmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /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®