VDB

CVE-2026-80784

CVE-2026-80784 PUBLISHED

mptcp: pm: fix memory leak from alloc-during-teardown race

Reported by linux · Published September 4, 2026

In the Linux kernel, the following vulnerability has been resolved: mptcp: pm: fix memory leak from alloc-during-teardown race mptcp_pm_destroy() empties msk->pm.anno_list and msk->pm.userspace_pm_local_addr_list under msk->pm.lock during socket teardown, dropping the lock between the two. A concurrent userspace PM genl ANNOUNCE on the same msk holds a sock reference via mptcp_token_get_sock() and, in mptcp_pm_nl_announce_doit(), calls mptcp_userspace_pm_append_new_local_addr() and mptcp_pm_announced_alloc(). Both take msk->pm.lock briefly to add to their respective lists. Because the genl handler holds a sock reference, mptcp_pm_destroy() may run on the same msk via mptcp_disconnect(), which invokes mptcp_destroy_common() without dropping the sock refcount, before the handler completes. If the lock acquisitions interleave such that mptcp_pm_destroy() empties a list first, the later alloc adds its entry to a list head that nothing else iterates for this msk, and the entry leaks. kmemleak reports both mptcp_pm_add_addr objects (from mptcp_pm_announced_alloc()) and mptcp_pm_addr_entry objects (from mptcp_userspace_pm_append_new_local_addr()) under sustained concurrent ANNOUNCE + close load against the userspace PM. Add an MPTCP_PM_DESTROYING bit in msk->pm.status, set by mptcp_pm_destroy() under pm.lock before the lists are emptied and checked under pm.lock by the alloc paths. Either the alloc takes pm.lock first, in which case its entry is on the list when mptcp_pm_destroy() frees it; or mptcp_pm_destroy() takes pm.lock first, in which case the later alloc observes the bit and refuses. Found by an MPTCP protocol-flow harness extending BRF (arXiv:2305.08782).

EPSS 0.17% · 6.7th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12-toolsAmazon Linux1:6.12.110-135.201.amzn2023
bpftool6.18Amazon Linux1:6.18.48-107.148.amzn2023
kernelAmazon Linux1:6.1.188-233.385.amzn2023
kernel6.18-headersAmazon Linux1:6.18.48-107.148.amzn2023
python3-perf6.12Amazon Linux1:6.12.110-135.201.amzn2023
kernel-modules-extra-commonAmazon Linux1:6.1.188-233.385.amzn2023
kernel6.12-headersAmazon Linux1:6.12.110-135.201.amzn2023
kernel-headersAmazon Linux1:6.1.188-233.385.amzn2023

Risk scores

EPSS Score
0.17%
6.7th percentile

Affected products

VendorProductVersions
LinuxLinux9ab4807c84a4aacfc9b4f79cc81254035e0ec361, 9ab4807c84a4aacfc9b4f79cc81254035e0ec361, 9ab4807c84a4aacfc9b4f79cc81254035e0ec361
LinuxLinux5.19, 0, 6.1.187
amazon:2023kernel6.12-tools0
amazon:2023bpftool6.180
amazon:2023kernel0
amazon:2023kernel6.18-headers0
amazon:2023python3-perf6.120
amazon:2023kernel-modules-extra-common0
amazon:2023kernel6.12-headers0
amazon:2023kernel-headers0
linuxlinux_kernel5.19, 5.19, 5.19
amazon:2023kernel6.180
amazon:2023bpftool0
amazon:2023kernel-livepatch-6.1.188-233.3850
amazon:2023kernel-livepatch-6.18.48-107.1480
amazon:2023kernel6.18-modules-extra-common0
LinuxLinux9ab4807c84a4aacfc9b4f79cc81254035e0ec361, 7.2, 7.1.11
amazon:2023kernel-tools-devel0
amazon:2023microvm-kernel6.180
amazon:2023kernel6.18-modules-extra0

…and 18 more

Timeline

  • Sep 4, 2026 Coalition ESS Score
  • Sep 4, 2026 CVE Published
  • Sep 5, 2026 EPSS Score (12 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-80784
vulnetix vdb fixes CVE-2026-80784

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-80784/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›