CVE-2026-80784
mptcp: pm: fix memory leak from alloc-during-teardown race
Check your servers for CVE-2026-80784
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-80784 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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).
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.98% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 9ab4807c84a4aacfc9b4f79cc81254035e0ec361, before f48341830e4202db3fe884b819b2db6740f0537d affected from 9ab4807c84a4aacfc9b4f79cc81254035e0ec361, before bb32e9a6a9a9f99eeda16c4efe443400f3e43892 affected from 9ab4807c84a4aacfc9b4f79cc81254035e0ec361, before b2a0b55bf613bd3e81ed26a847b0f6b8e6b7f804 affected from 9ab4807c84a4aacfc9b4f79cc81254035e0ec361, before 9fe5eebb664ecdba88f3fde18062d94b1d1c465f affected from 9ab4807c84a4aacfc9b4f79cc81254035e0ec361, before 6c290915a03fc8228b473641025cf762b256dbd2 affected from 9ab4807c84a4aacfc9b4f79cc81254035e0ec361, before efc33b5102ff859bacd390a5f30112d8e0c084c0
Other versions: unaffected
|
| Linux |
affected 5.19 unaffected before 5.19 unaffected from 6.1.187 up to and including 6.1.* unaffected from 6.6.154 up to and including 6.6.* unaffected from 6.12.106 up to and including 6.12.* unaffected from 6.18.47 up to and including 6.18.* unaffected from 7.1.11 up to and including 7.1.* unaffected 7.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-80784 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-80784
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-80784
trivy image --scanners vuln IMAGE | grep CVE-2026-80784
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/f48341830e4202db3fe884b819b2db6740f0537d git.kernel.org
- https://git.kernel.org/stable/c/bb32e9a6a9a9f99eeda16c4efe443400f3e43892 git.kernel.org
- https://git.kernel.org/stable/c/b2a0b55bf613bd3e81ed26a847b0f6b8e6b7f804 git.kernel.org
- https://git.kernel.org/stable/c/9fe5eebb664ecdba88f3fde18062d94b1d1c465f git.kernel.org
- https://git.kernel.org/stable/c/6c290915a03fc8228b473641025cf762b256dbd2 git.kernel.org
- https://git.kernel.org/stable/c/efc33b5102ff859bacd390a5f30112d8e0c084c0 git.kernel.org
Source: the record CVE-2026-80784 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse