CVE-2026-99603
published high CVSS 3.1 · 7.8mptcp: pm: kernel: use RCU to free endpoint listeners
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1729cf186d8a5d70cf7a54e07c4763635079f015 to < 30355edfe074f72feafb4470a3937c8c460be589 · 1729cf186d8a5d70cf7a54e07c4763635079f015 to < c05dca67e7475a4e576582f4ed19f67ae92a982d · 1729cf186d8a5d70cf7a54e07c4763635079f015 to < fc7675944ae787f4fb3cb0ba3db2447eb006d153 · 1729cf186d8a5d70cf7a54e07c4763635079f015 to < 2004c8fdb1b588188f6a17398782da4551f22be5 · 1729cf186d8a5d70cf7a54e07c4763635079f015 to < c457824f76e95e10356c35c61ffc9d79b8c54228 · 1729cf186d8a5d70cf7a54e07c4763635079f015 to < 78856ded7ec7995e8a05cdc9d08df4c5a62479aa · 1729cf186d8a5d70cf7a54e07c4763635079f015 to < 49b09ae0bf57b4230187d4cdd0a370558e44a6e8 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.12 (affected) · 0 to < 5.12 (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.5 through 7.3.* (unaffected · semver) · 7.4-rc2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Debian | trixie | linux | Advisory build | 6.12.118-1 | DSA-6652-1 |
Description
In the Linux kernel, the following vulnerability has been resolved: mptcp: pm: kernel: use RCU to free endpoint listeners mptcp_pm_nl_create_listen_socket() starts the TCP listener directly instead of going through mptcp_listen(). It consequently misses setting SOCK_RCU_FREE on the parent MPTCP socket. tcp_child_process() can invoke the listener's subflow_data_ready() callback without holding the MPTCP parent lock or a reference to the parent. An authenticated MP_JOIN racing with endpoint teardown can therefore access the parent after its last reference has been dropped. The ADD_ADDR error path can also close an already published listener. Set SOCK_RCU_FREE before __inet_listen_sk() publishes the TCP listener, matching mptcp_listen(). This protects the parent on every subsequent close path, including a failed endpoint addition.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - mptcp_pm_nl_create_listen_socket() publishes the endpoint TCP listener from MPTCP_PM_CMD_ADD_ADDR, and __mptcp_pm_release_addr_entry() frees the parent on MPTCP_PM_CMD_DEL_ADDR, flush, or the failed-add path in mptcp_pm_nl_add_addr_doit(). The MP_JOIN third ACK reaches subflow_data_ready() only via tcp_child_process() and does not drop that reference, so the freeing actor is local. AC:L - That same user-namespace CAP_NET_ADMIN task calls mptcp_pm_nl_del_addr_doit() while its own MP_JOIN third ACK is inside tcp_v4_rcv(). It decides when sock_release() runs and when the handshake completes, so the race is not an administrator action or a device state it cannot induce. PR:L - mptcp_pm_nl_ops sets GENL_UNS_ADMIN_PERM on MPTCP_PM_CMD_ADD_ADDR and MPTCP_PM_CMD_DEL_ADDR, and genl_family_rcv_msg() requires netlink_ns_capable(net->user_ns, CAP_NET_ADMIN). mptcp_genl_family.netnsok is true, so unshare -Urn is enough and init-namespace root is not. UI:N - The attacker adds the signal endpoint with a port, completes the MP_JOIN to the listener created by mptcp_pm_nl_create_listen_socket(), and deletes the endpoint. No other user mounts media or accepts a prompt. S:U - The use-after-free is of the listener struct mptcp_sock in the kernel hosting the attacker. It does not cross a KVM guest/host boundary or an IOMMU isolation boundary. C:H - Without SOCK_RCU_FREE, sk_destruct() frees the parent as soon as the last sock_put() in the close path runs. subflow_data_ready() still reads subflow->conn and, after mptcp_check_listen_stop() sets the subflow TCP_CLOSE, __mptcp_check_fallback() reads msk->flags on that freed object, which the mptcp slab can reuse immediately. I:H - On that TCP_CLOSE path, mptcp_data_ready() takes mptcp_data_lock() and move_skbs_to_msk() can WRITE_ONCE msk->ack_seq and queue skbs on the dangling parent. Those stores hit freed or same-cache-reused mptcp_sock memory, not a NULL sk_data_ready. A:H - tcp_child_process() calls the listener's subflow_data_ready() with no reference on the MPTCP parent. After __mptcp_pm_release_addr_entry() drops the last reference, that callback dereferences the freed socket and oopses the kernel.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1729cf186d8a5d70cf7a54e07c4763635079f015 to < 30355edfe074f72feafb4470a3937c8c460be589 (affected · git)1729cf186d8a5d70cf7a54e07c4763635079f015 to < c05dca67e7475a4e576582f4ed19f67ae92a982d (affected · git)1729cf186d8a5d70cf7a54e07c4763635079f015 to < fc7675944ae787f4fb3cb0ba3db2447eb006d153 (affected · git)1729cf186d8a5d70cf7a54e07c4763635079f015 to < 2004c8fdb1b588188f6a17398782da4551f22be5 (affected · git)1729cf186d8a5d70cf7a54e07c4763635079f015 to < c457824f76e95e10356c35c61ffc9d79b8c54228 (affected · git)1729cf186d8a5d70cf7a54e07c4763635079f015 to < 78856ded7ec7995e8a05cdc9d08df4c5a62479aa (affected · git)1729cf186d8a5d70cf7a54e07c4763635079f015 to < 49b09ae0bf57b4230187d4cdd0a370558e44a6e8 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.12 (affected)0 to < 5.12 (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.5 through 7.3.* (unaffected · semver)7.4-rc2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
7- https://git.kernel.org/stable/c/2004c8fdb1b588188f6a17398782da4551f22be5
- https://git.kernel.org/stable/c/30355edfe074f72feafb4470a3937c8c460be589
- https://git.kernel.org/stable/c/49b09ae0bf57b4230187d4cdd0a370558e44a6e8
- https://git.kernel.org/stable/c/78856ded7ec7995e8a05cdc9d08df4c5a62479aa
- https://git.kernel.org/stable/c/c05dca67e7475a4e576582f4ed19f67ae92a982d
- https://git.kernel.org/stable/c/c457824f76e95e10356c35c61ffc9d79b8c54228
- https://git.kernel.org/stable/c/fc7675944ae787f4fb3cb0ba3db2447eb006d153
Provider assertions
1Linux · cna
mptcp: pm: kernel: use RCU to free endpoint listeners
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- adf591563c68c5a0366a7fc151f7e7c2da446b6471a6164741cf4fb3dd861323
- Ingested
- 23 Nov 2026, 14:37:13 UTC
- Source record
- Official CVE record