Netdev List
 help / color / mirror / Atom feed
* [PATCH net 00/10] mptcp: misc fixes for v7.4-rc5
@ 2026-11-23 13:24 Matthieu Baerts (NGI0)
  2026-11-23 13:24 ` [PATCH net 01/10] tcp: drain the queues of a listen() that fails Matthieu Baerts (NGI0)
                   ` (9 more replies)
  0 siblings, 10 replies; 12+ messages in thread
From: Matthieu Baerts (NGI0) @ 2026-11-23 13:24 UTC (permalink / raw)
  To: Eric Dumazet, David S. Miller, Jakub Kicinski, Paolo Abeni,
	Willem de Bruijn, Simon Horman, Mat Martineau, Geliang Tang,
	Christoph Paasch, Florian Westphal
  Cc: netdev, mptcp, Davide Caratti, Matthieu Baerts (NGI0),
	Chris Mason, stable, Neal Cardwell, Kuniyuki Iwashima,
	Hyunwoo Kim, Josef Bacik, Martin KaFai Lau, Daniel Borkmann,
	Alexei Starovoitov, Martin KaFai Lau, bpf

Here are some unrelated fixes:

- Patches 1-2: drain the queues of a TCP or MPTCP socket when listen()
  fails, not to leak sockets and their netns. Fixes for v4.4 and v5.11.

- Patch 3: clear inet_opt in the child of an IPv6 listener, to avoid a
  double free with SELinux and NetLabel. A fix for v5.6.

- Patch 4: fix UaF in corner cases from delegated actions. A fix for
  v5.12.

- Patches 5-6: do not leak an orphan moved to the CLOSE state outside
  the worker. Fixes for v6.15, and for another fix introduced in v6.6
  and targeting v5.11.

- Patches 7-8: do not let PM listeners pin their netns, leaked
  otherwise. A fix for v5.12.

- Patch 9: initialize drop_req, not to leak sockets with SO_REUSEPORT
  migration. A fix for v5.14.

- Patch 10: do not pass a BPF request sock to an MPTCP listener, to
  avoid a slab-out-of-bounds write. A fix for v6.9.

Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
---
Chris Mason (6):
      tcp: drain the queues of a listen() that fails
      mptcp: drain the queues of a listen() that fails
      mptcp: clear inet_opt in the child of an IPv6 listener
      mptcp: leave an orphan's DATA_FIN to the worker
      mptcp: initialize drop_req in subflow_init_req()
      tcp: do not pass a BPF reqsk to an MPTCP listener

Hyunwoo Kim (1):
      mptcp: fix use-after-free of the subflow context on the delegated list

Josef Bacik (1):
      mptcp: pm: don't let listeners pin their netns

Matthieu Baerts (NGI0) (2):
      mptcp: don't leak an orphan when the PM closes its last subflow
      net: add __sk_net_refcnt_upgrade() with a GFP mask

 include/net/sock.h              |  1 +
 net/core/sock.c                 |  9 +++++++--
 net/ipv4/inet_connection_sock.c | 12 ++++++++----
 net/ipv4/syncookies.c           |  3 ++-
 net/mptcp/protocol.c            | 42 +++++++++++++++++++++++++++++++++--------
 net/mptcp/protocol.h            | 18 ++++++++++++++++--
 net/mptcp/subflow.c             | 32 ++++++++++++++++++++++++++++---
 7 files changed, 97 insertions(+), 20 deletions(-)
---
base-commit: 3896ae4adf5ffc11ffd0f7f42c3923e8dc195e75
change-id: 20261123-net-mptcp-misc-fixes-7-4-rc5-965d6b4fb777

Best regards,
--  
Matthieu Baerts (NGI0) <matttbe@kernel.org>


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2026-11-23 19:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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-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-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-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-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)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox