From: Matthieu Baerts <matttbe@kernel.org>
To: Kalpan Jani <kalpan.jani@mpiricsoftware.com>
Cc: mptcp <mptcp@lists.linux.dev>, martineau <martineau@kernel.org>,
pabeni <pabeni@redhat.com>,
"shardul.b" <shardul.b@mpiricsoftware.com>,
janak <janak@mpiric.us>, kalpanjani009 <kalpanjani009@gmail.com>,
shardulsb08 <shardulsb08@gmail.com>,
syzbot+55c2a5c871441261ed14
<syzbot+55c2a5c871441261ed14@syzkaller.appspotmail.com>
Subject: Re: [PATCH net v2] mptcp: pm: drop pending ADD_ADDR when removing id 0 endpoint
Date: Sun, 31 May 2026 16:39:53 +1000 [thread overview]
Message-ID: <bca2ad2f-1f45-45e7-a8bd-7a08dd7100c2@kernel.org> (raw)
In-Reply-To: <19e72995d6d.89137929840232.7611532549298755137@mpiricsoftware.com>
Hi Kalpan,
On 29/05/2026 17:18, Kalpan Jani wrote:
> Hi Matt,
>
>> Did it work with packetdrill?
>
> I worked on a packetdrill test based on add_addr4_server.pkt with the
> MP_JOIN extra subflow and the delete/re-add sequence. The environment
> is working (add_addr4_server.pkt passes cleanly), but I was not able
> to reliably trigger the WARN through packetdrill within the test
> timeframe.
>
> The difficulty is that the id 0 ADD_ADDR is only sent when the
> endpoint is re-added after the connection is established AND after
> mptcp_nl_remove_id_zero_address() has run to restore the
> id_avail_bitmap bit via __mark_subflow_endp_available(). Getting
> packetdrill to control this timing precisely — while also keeping
> conn_list non-empty so mptcp_nl_remove_id_zero_address() actually
> processes the msk — proved tricky.
I understand it might be tricky, but do you mind sharing what you have
so far. Maybe someone else can help you to reproduce the issue. Also, it
might be enough to have a test that can reproduce the WARN not 100% of
the time, as long as it is not 0. I will wait for this test before
applying the v3.
At least having something exercising new paths: here, having the new
call to mptcp_remove_anno_list_by_saddr() returning true.
> syzbot is reproducing the bug reliably on current upstream (3 crashes
> between 2026/05/19 and 2026/05/22 on kernels including cca95436be15).
> The syzbot reproducer is the most reliable pre-fix evidence available.
Because syzbot didn't manage to generate a reproducer, we cannot really
rely on syzbot to say that the bug is fixed. 3 crashes out of how many
thousands/millions attempts? :)
> I will continue working on the packetdrill test and send it as a
> follow-up once I have a clean before/after result. For v3 I have
> addressed your comment shortening request.
Thanks!
Do not forget to wait ~1 day between submissions, otherwise it is even
harder for reviewers and various tools to follow the modifications and
discussions.
Cheers,
Matt
--
Sponsored by the NGI0 Core fund.
next prev parent reply other threads:[~2026-05-31 6:39 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-29 6:43 [PATCH net v2] mptcp: pm: drop pending ADD_ADDR when removing id 0 endpoint Kalpan Jani
2026-05-29 6:55 ` Matthieu Baerts
2026-05-29 7:18 ` Kalpan Jani
2026-05-31 6:39 ` Matthieu Baerts [this message]
2026-06-01 11:59 ` Kalpan Jani
2026-07-06 16:46 ` Matthieu Baerts
2026-07-07 6:15 ` Kalpan Jani
2026-07-07 11:27 ` Matthieu Baerts
2026-07-07 13:35 ` Kalpan Jani
2026-07-07 14:14 ` Matthieu Baerts
2026-07-08 5:31 ` Kalpan Jani
2026-05-29 7:58 ` MPTCP CI
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=bca2ad2f-1f45-45e7-a8bd-7a08dd7100c2@kernel.org \
--to=matttbe@kernel.org \
--cc=janak@mpiric.us \
--cc=kalpan.jani@mpiricsoftware.com \
--cc=kalpanjani009@gmail.com \
--cc=martineau@kernel.org \
--cc=mptcp@lists.linux.dev \
--cc=pabeni@redhat.com \
--cc=shardul.b@mpiricsoftware.com \
--cc=shardulsb08@gmail.com \
--cc=syzbot+55c2a5c871441261ed14@syzkaller.appspotmail.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.