CVE-2026-80784

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
04/09/2026
Last modified:
04/09/2026

Description

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

Impact