[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tencent_DB6586C0B361236CA97783A36451D772D705@qq.com>
Date: Fri, 24 Nov 2023 19:05:18 +0800
From: Edward Adam Davis <eadavis@...com>
To: pabeni@...hat.com
Cc: davem@...emloft.net,
eadavis@...com,
edumazet@...gle.com,
kuba@...nel.org,
linux-kernel@...r.kernel.org,
martineau@...nel.org,
matthieu.baerts@...sares.net,
matttbe@...nel.org,
mptcp@...ts.linux.dev,
netdev@...r.kernel.org,
syzbot+b834a6b2decad004cfa1@...kaller.appspotmail.com,
syzkaller-bugs@...glegroups.com
Subject: Re: [PATCH] mptcp: fix uninit-value in mptcp_incoming_options
On Thu, 23 Nov 2023 17:41:31 +0100, Paolo Abeni wrote:
> > Added initialization use_ack to mptcp_parse_option().
> >
> > Reported-by: syzbot+b834a6b2decad004cfa1@...kaller.appspotmail.com
> > Signed-off-by: Edward Adam Davis <eadavis@...com>
> > ---
> > net/mptcp/options.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > 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;
> > }
>
> LGTM, and syzbot tested it.
>
> Acked-by: Paolo Abeni <pabeni@...hat.com>
>
> @Edward: for future similar patches, please add also the tested tag
> from syzbot, will make tracking easier.
OK, I will.
Edward
Powered by blists - more mailing lists