CVE-2026-80784

Source
https://cve.org/CVERecord?id=CVE-2026-80784
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80784.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-80784
Downstream
Published
2026-09-04T15:12:56.125Z
Modified
2026-09-06T03:46:45.645446103Z
Summary
mptcp: pm: fix memory leak from alloc-during-teardown race
Details

In the Linux kernel, the following vulnerability has been resolved:

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

mptcppmdestroy() empties msk->pm.annolist and msk->pm.userspacepmlocaladdr_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 mptcptokengetsock() and, in mptcppmnlannouncedoit(), calls mptcpuserspacepmappendnewlocaladdr() and mptcppmannouncedalloc(). Both take msk->pm.lock briefly to add to their respective lists. Because the genl handler holds a sock reference, mptcppmdestroy() may run on the same msk via mptcpdisconnect(), which invokes mptcpdestroy_common() without dropping the sock refcount, before the handler completes.

If the lock acquisitions interleave such that mptcppmdestroy() 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 mptcppmaddaddr objects (from mptcppmannouncedalloc()) and mptcppmaddrentry objects (from mptcpuserspacepmappendnewlocal_addr()) under sustained concurrent ANNOUNCE + close load against the userspace PM.

Add an MPTCPPMDESTROYING bit in msk->pm.status, set by mptcppmdestroy() 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 mptcppmdestroy() frees it; or mptcppmdestroy() 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).

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80784.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
9ab4807c84a4aacfc9b4f79cc81254035e0ec361
Fixed
f48341830e4202db3fe884b819b2db6740f0537d
Fixed
bb32e9a6a9a9f99eeda16c4efe443400f3e43892
Fixed
b2a0b55bf613bd3e81ed26a847b0f6b8e6b7f804
Fixed
9fe5eebb664ecdba88f3fde18062d94b1d1c465f
Fixed
6c290915a03fc8228b473641025cf762b256dbd2
Fixed
efc33b5102ff859bacd390a5f30112d8e0c084c0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80784.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.19.0
Fixed
6.1.187
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.154
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.106
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.47
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.11

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80784.json"