From: Matthieu Baerts <matttbe@kernel.org>
To: netdev-bot+sashiko@kernel.org
Cc: edumazet@kernel.org, davem@davemloft.net, kuba@kernel.org,
pabeni@redhat.com, willemb@google.com, horms@kernel.org,
martineau@kernel.org, geliang@kernel.org, cpaasch@openai.com,
fw@strlen.de, netdev@vger.kernel.org, mptcp@lists.linux.dev,
dcaratti@redhat.com, mason@kernel.org, stable@vger.kernel.org,
ncardwell@google.com, kuniyu@google.com, kafai@fb.com,
daniel@iogearbox.net, ast@kernel.org, martin.lau@kernel.org,
bpf@vger.kernel.org
Subject: Re: [PATCH net 08/10] mptcp: pm: don't let listeners pin their netns
Date: Tue, 24 Nov 2026 17:58:05 +0100 [thread overview]
Message-ID: <0f4420d2-c4cd-4b93-9841-20d95d98d9e3@kernel.org> (raw)
In-Reply-To: <179553041337.3135.9610172277728846515@kernel.org>
Hello,
On 24/11/2026 15:26, netdev-bot+sashiko@kernel.org wrote:
> - [High] The netns leak this patch claims to fix can still be triggered
> through the SYN-cookie path.
(...)
> Doesn't that leak the namespace the same way as before this patch?
Yep! But this is not a regression: before this patch, these children
also held a netns reference, and the listener itself always pinned the
netns.
(...)
> Could the reference be taken only for MP_JOIN children that get attached
> to an msk? Another option would be to reject non-MP_JOIN cookie ACKs on a
> pm_listener in mptcp_subflow_init_cookie_req().
The second option is already pending on the MPTCP ML, for a separate
*pre-existing* issue. It will be sent with the next batch:
https://lore.kernel.org/20261121-mptcp-cmason-fixes-v2-31-00327fd1de1f@kernel.org
So no need to change this patch, it can be applied as is.
Cheers,
Matt
--
Sponsored by the NGI0 Core fund.
next prev parent reply other threads:[~2026-11-24 16:58 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 13:24 [PATCH net 00/10] mptcp: misc fixes for v7.4-rc5 Matthieu Baerts (NGI0)
2026-11-23 13:24 ` [PATCH net 01/10] tcp: drain the queues of a listen() that fails Matthieu Baerts (NGI0)
2026-11-30 18:15 ` Paolo Abeni
2026-12-01 0:08 ` Kuniyuki Iwashima
2026-11-23 13:24 ` [PATCH net 02/10] mptcp: " Matthieu Baerts (NGI0)
2026-11-23 13:24 ` [PATCH net 03/10] mptcp: clear inet_opt in the child of an IPv6 listener Matthieu Baerts (NGI0)
2026-11-23 13:24 ` [PATCH net 04/10] mptcp: fix use-after-free of the subflow context on the delegated list Matthieu Baerts (NGI0)
2026-11-24 14:26 ` netdev-bot+sashiko
2026-11-23 13:24 ` [PATCH net 05/10] mptcp: leave an orphan's DATA_FIN to the worker Matthieu Baerts (NGI0)
2026-11-23 13:24 ` [PATCH net 06/10] mptcp: don't leak an orphan when the PM closes its last subflow Matthieu Baerts (NGI0)
2026-11-23 13:24 ` [PATCH net 07/10] net: add __sk_net_refcnt_upgrade() with a GFP mask Matthieu Baerts (NGI0)
2026-12-01 0:09 ` Kuniyuki Iwashima
2026-11-23 13:24 ` [PATCH net 08/10] mptcp: pm: don't let listeners pin their netns Matthieu Baerts (NGI0)
2026-11-23 19:00 ` Matthieu Baerts
2026-11-24 13:26 ` sashiko-bot
2026-11-24 14:26 ` netdev-bot+sashiko
2026-11-24 16:58 ` Matthieu Baerts [this message]
2026-11-23 13:24 ` [PATCH net 09/10] mptcp: initialize drop_req in subflow_init_req() Matthieu Baerts (NGI0)
2026-11-23 13:24 ` [PATCH net 10/10] tcp: do not pass a BPF reqsk to an MPTCP listener Matthieu Baerts (NGI0)
2026-11-27 11:10 ` Jiayuan Chen
2026-12-01 0:19 ` Kuniyuki Iwashima
2026-11-24 16:58 ` [PATCH net 00/10] mptcp: misc fixes for v7.4-rc5 Matthieu Baerts
2026-12-01 9:20 ` patchwork-bot+netdevbpf
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=0f4420d2-c4cd-4b93-9841-20d95d98d9e3@kernel.org \
--to=matttbe@kernel.org \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=cpaasch@openai.com \
--cc=daniel@iogearbox.net \
--cc=davem@davemloft.net \
--cc=dcaratti@redhat.com \
--cc=edumazet@kernel.org \
--cc=fw@strlen.de \
--cc=geliang@kernel.org \
--cc=horms@kernel.org \
--cc=kafai@fb.com \
--cc=kuba@kernel.org \
--cc=kuniyu@google.com \
--cc=martin.lau@kernel.org \
--cc=martineau@kernel.org \
--cc=mason@kernel.org \
--cc=mptcp@lists.linux.dev \
--cc=ncardwell@google.com \
--cc=netdev-bot+sashiko@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=stable@vger.kernel.org \
--cc=willemb@google.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.