From: Matthieu Baerts <matttbe@kernel.org>
To: Paolo Abeni <pabeni@redhat.com>, mptcp@lists.linux.dev
Subject: Re: [PATCH mptcp-net] mptcp: fix uninit-value in mptcp_established_options
Date: Mon, 1 Jun 2026 12:42:40 +1000 [thread overview]
Message-ID: <e08df8df-a6cc-43f0-b6bd-fa68fcb6db47@kernel.org> (raw)
In-Reply-To: <d776e14d19a313dd697e3715121f4e42e915287d.1780045909.git.pabeni@redhat.com>
Hi Paolo,
On 29/05/2026 19:13, Paolo Abeni wrote:
> syzbot reported the following uninit splat:
>
> =====================================================
(...)
> =====================================================
>
> The output path currently omit initializing the mptcp extension `use_map`
> flag in a few corner cases.
> Address the issue always zeroing all the extensions flags before
> eventually initializing the individual bits. To that extent, introduce
> and use a struct_group to avoid multiple bitwise operations.
>
> Reported-by: syzbot+ff020673c5e3d94d9478@syzkaller.appspotmail.com
> Closes: https://syzkaller.appspot.com/bug?extid=ff020673c5e3d94d9478
> Fixes: 6d0060f600ad ("mptcp: Write MPTCP DSS headers to outgoing data packets")
Small detail: I hope that's OK to use this one instead:
cfcceb7a39fc ("tcp: shrink per-packet memset in __tcp_transmit_skb()")
Before this commit, the whole "opts" was set to 0. So no need to
backport this "too far".
Also, because of the issue reported by the 0day bot, I will wait a few
more days before sending this patch upstream.
Cheers,
Matt
--
Sponsored by the NGI0 Core fund.
next prev parent reply other threads:[~2026-06-01 2:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-29 9:13 [PATCH mptcp-net] mptcp: fix uninit-value in mptcp_established_options Paolo Abeni
2026-05-29 10:52 ` MPTCP CI
2026-05-31 7:01 ` Matthieu Baerts
2026-06-01 2:42 ` Matthieu Baerts [this message]
2026-06-01 7:17 ` Paolo Abeni
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=e08df8df-a6cc-43f0-b6bd-fa68fcb6db47@kernel.org \
--to=matttbe@kernel.org \
--cc=mptcp@lists.linux.dev \
--cc=pabeni@redhat.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.