CVE-2024-45010

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-45010
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-45010.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-45010
Downstream
Related
Published
2024-09-11T15:13:48.358Z
Modified
2025-11-28T02:34:05.646093Z
Summary
mptcp: pm: only mark 'subflow' endp as available
Details

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

mptcp: pm: only mark 'subflow' endp as available

Adding the following warning ...

WARNONONCE(msk->pm.localaddrused == 0)

... before decrementing the localaddrused counter helped to find a bug when running the "remove single address" subtest from the mptcp_join.sh selftests.

Removing a 'signal' endpoint will trigger the removal of all subflows linked to this endpoint via mptcppmnlrmaddrorsubflow() with rmtype == MPTCPMIBRMSUBFLOW. This will decrement the localaddr_used counter, which is wrong in this case because this counter is linked to 'subflow' endpoints, and here it is a 'signal' endpoint that is being removed.

Now, the counter is decremented, only if the ID is being used outside of mptcppmnlrmaddrorsubflow(), only for 'subflow' endpoints, and if the ID is not 0 -- localaddrused is not taking into account these ones. This marking of the ID as being available, and the decrement is done no matter if a subflow using this ID is currently available, because the subflow could have been closed before.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45010.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
06faa22710342bca5e9c249634199c650799fce6
Fixed
7fdc870d08960961408a44c569f20f50940e7d4f
Fixed
43cf912b0b0fc7b4fd12cbc735d1f5afb8e1322d
Fixed
9849cfc67383ceb167155186f8f8fe8a896b60b3
Fixed
322ea3778965da72862cca2a0c50253aacf65fe6

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.13.0
Fixed
6.1.108
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.48
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.10.7