From: syzbot <syzbot+d101e12bccd4095460e7@syzkaller.appspotmail.com>
To: linux-kernel@vger.kernel.org
Subject: Forwarded: Test patch for KMSAN: uninit-value in sctp_inq_pop
Date: Wed, 22 Oct 2025 02:20:39 -0700 [thread overview]
Message-ID: <68f8a1e7.050a0220.346f24.003c.GAE@google.com> (raw)
In-Reply-To: <68f659cd.050a0220.91a22.044c.GAE@google.com>
For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org.
***
Subject: Test patch for KMSAN: uninit-value in sctp_inq_pop
Author: vnranganath.20@gmail.com
#syz test
diff --git a/net/sctp/inqueue.c b/net/sctp/inqueue.c
index 5c1652181805..8c0a5e23bbb9 100644
--- a/net/sctp/inqueue.c
+++ b/net/sctp/inqueue.c
@@ -120,7 +120,9 @@ struct sctp_chunk *sctp_inq_pop(struct sctp_inq *queue)
/* The assumption is that we are safe to process the chunks
* at this time.
*/
-
+ chunk = kzalloc(sizeof(*chunk), gfp);
+ if (!chunk)
+ return NULL;
chunk = queue->in_progress;
if (chunk) {
/* There is a packet that we have been working on.
next prev parent reply other threads:[~2025-10-22 9:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-20 15:48 [syzbot] [sctp?] KMSAN: uninit-value in sctp_inq_pop (3) syzbot
2025-10-22 9:20 ` syzbot [this message]
2025-10-22 18:00 ` Forwarded: " 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=68f8a1e7.050a0220.346f24.003c.GAE@google.com \
--to=syzbot+d101e12bccd4095460e7@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