public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: syzbot <syzbot+b834a6b2decad004cfa1@syzkaller.appspotmail.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [syzbot] [mptcp?] KMSAN: uninit-value in mptcp_incoming_options
Date: Wed, 22 Nov 2023 16:06:50 -0800	[thread overview]
Message-ID: <000000000000c4cb01060ac69c14@google.com> (raw)
In-Reply-To: <000000000000545a26060abf943b@google.com>

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

***

Subject: [mptcp?] KMSAN: uninit-value in mptcp_incoming_options
Author: eadavis@qq.com

please test uninit-value in mptcp_incoming_options

#syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git c2d5304e6c64

diff --git a/net/mptcp/options.c b/net/mptcp/options.c
index cd15ec73073e..c53914012d01 100644
--- a/net/mptcp/options.c
+++ b/net/mptcp/options.c
@@ -108,6 +108,7 @@ static void mptcp_parse_option(const struct sk_buff *skb,
 			mp_opt->suboptions |= OPTION_MPTCP_DSS;
 			mp_opt->use_map = 1;
 			mp_opt->mpc_map = 1;
+			mp_opt->use_ack = 0;
 			mp_opt->data_len = get_unaligned_be16(ptr);
 			ptr += 2;
 		}


  reply	other threads:[~2023-11-23  0:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-22 15:43 [syzbot] [mptcp?] KMSAN: uninit-value in mptcp_incoming_options syzbot
2023-11-23  0:06 ` syzbot [this message]
2023-11-23  0:48 ` Kuniyuki Iwashima
2023-11-23  1:17   ` syzbot
2023-11-23  8:00   ` Paolo Abeni
     [not found] ` <tencent_B0E02F1D6C009450E8D6EC06CC6C7B5E6C0A@qq.com>
2023-11-23 16:41   ` [PATCH] mptcp: fix " Paolo Abeni
2023-11-24 15:00   ` patchwork-bot+netdevbpf
     [not found] <tencent_1A577926DC937A2360297AE3B6C454D76605@qq.com>
2023-11-23  0:51 ` [syzbot] [mptcp?] KMSAN: " 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=000000000000c4cb01060ac69c14@google.com \
    --to=syzbot+b834a6b2decad004cfa1@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