lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ