[PATCH net 0/5] mptcp: misc fixes for v7.2-rc5

From: Matthieu Baerts (NGI0)

Date: Tue Jul 21 2026 - 19:11:03 EST


Here are various unrelated fixes:

- Patch 1: decrement extra subflows counter in case of errors with
passive MP_JOIN. A fix for v5.7.

- Patch 2: fix use-after-free in userspace_pm_get_local_id. A fix for
v5.19.

- Patch 3: fix stale skb->sk reference on subflow close, in case of
concurrent read operation. A fix for v6.19.

- Patch 4: wait on the correct port in the userspace_pm.sh selftest. A
fix for v6.19.

- Patch 5: fix a BUILD_BUG_ON on legacy ARM config. A fix for v7.1.

Signed-off-by: Matthieu Baerts (NGI0) <matttbe@xxxxxxxxxx>
---
Chenguang Zhao (1):
mptcp: decrement subflows counter on failed passive join

Geliang Tang (2):
mptcp: pm: userspace: fix use-after-free in get_local_id
selftests: mptcp: userspace_pm: fix undefined variable port

Kalpan Jani (1):
mptcp: fix stale skb->sk reference on subflow close

Matthieu Baerts (NGI0) (1):
mptcp: fix BUILD_BUG_ON on legacy ARM config

net/mptcp/options.c | 5 +---
net/mptcp/pm_userspace.c | 7 +++--
net/mptcp/protocol.c | 34 +++++++++++++----------
tools/testing/selftests/net/mptcp/userspace_pm.sh | 2 +-
4 files changed, 27 insertions(+), 21 deletions(-)
---
base-commit: eaa39f9f8ac8c1d032cd26b9cd572804e9d7683f
change-id: 20260721-net-mptcp-misc-fixes-7-2-rc5-693149ea17dc

Best regards,
--
Matthieu Baerts (NGI0) <matttbe@xxxxxxxxxx>