# CVE-2024-45009: mptcp: pm: only decrement add\_addr\_accepted for MPJ req

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.2
- **CVSS:** 8.2 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: Low; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.80% (percentile 54, 2026-11-26)
- **Published:** 2024-09-11T15:13:47.719Z
- **Modified:** 2026-08-05T11:37:39.508Z

## Who should check

- Anyone running Linux \>= d0876b2284cf8b34dd214b2d0aa21071c345da59, \< 35b31f5549ede4070566b949781e83495906b43d; \>= d0876b2284cf8b34dd214b2d0aa21071c345da59, \< 85b866e4c4e63a1d7afb58f1e24273caad03d0b7; \>= d0876b2284cf8b34dd214b2d0aa21071c345da59, \< d20bf2c96d7ffd171299b32f562f70e5bf5dc608; \>= d0876b2284cf8b34dd214b2d0aa21071c345da59, \< 2060f1efab370b496c4903b840844ecaff324c3c; \>= d0876b2284cf8b34dd214b2d0aa21071c345da59, \< 1c1f721375989579e46741f59523e39ec9b2a9bd
- Anyone running Linux 5.10

## Description

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

mptcp: pm: only decrement add\_addr\_accepted for MPJ req

Adding the following warning ...

  WARN\_ON\_ONCE(msk-\>pm.add\_addr\_accepted == 0)

... before decrementing the add\_addr\_accepted counter helped to find a
bug when running the "remove single subflow" subtest from the
mptcp\_join.sh selftest.

Removing a 'subflow' endpoint will first trigger a RM\_ADDR, then the
subflow closure. Before this patch, and upon the reception of the
RM\_ADDR, the other peer will then try to decrement this
add\_addr\_accepted. That's not correct because the attached subflows have
not been created upon the reception of an ADD\_ADDR.

A way to solve that is to decrement the counter only if the attached
subflow was an MP\_JOIN to a remote id that was not 0, and initiated by
the host receiving the RM\_ADDR.

## Affected and fixed versions

- Linux: \>= d0876b2284cf8b34dd214b2d0aa21071c345da59, \< 35b31f5549ede4070566b949781e83495906b43d; \>= d0876b2284cf8b34dd214b2d0aa21071c345da59, \< 85b866e4c4e63a1d7afb58f1e24273caad03d0b7; \>= d0876b2284cf8b34dd214b2d0aa21071c345da59, \< d20bf2c96d7ffd171299b32f562f70e5bf5dc608; \>= d0876b2284cf8b34dd214b2d0aa21071c345da59, \< 2060f1efab370b496c4903b840844ecaff324c3c; \>= d0876b2284cf8b34dd214b2d0aa21071c345da59, \< 1c1f721375989579e46741f59523e39ec9b2a9bd (cvelist)
- Linux: 5.10 (cvelist)

## Mitigation

- Upgrade Linux to 1c1f721375989579e46741f59523e39ec9b2a9bd or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-45009. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-45009.md
Affected: Linux >= d0876b2284cf8b34dd214b2d0aa21071c345da59, < 35b31f5549ede4070566b949781e83495906b43d; >= d0876b2284cf8b34dd214b2d0aa21071c345da59, < 85b866e4c4e63a1d7afb58f1e24273caad03d0b7; >= d0876b2284cf8b34dd214b2d0aa21071c345da59, < d20bf2c96d7ffd171299b32f562f70e5bf5dc608; >= d0876b2284cf8b34dd214b2…
Fixed in: Linux 35b31f5549ede4070566b949781e83495906b43d, Linux 85b866e4c4e63a1d7afb58f1e24273caad03d0b7, Linux 2060f1efab370b496c4903b840844ecaff324c3c, Linux 1c1f721375989579e46741f59523e39ec9b2a9bd

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-45009 being exploited?

There is no confirmed exploitation: CVE-2024-45009 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.80% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-45009?

High: CVSS 8.2 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2024-45009?

Linux \>= d0876b2284cf8b34dd214b2d0aa21071c345da59, \< 35b31f5549ede4070566b949781e83495906b43d; \>= d0876b2284cf8b34dd214b2d0aa21071c345da59, \< 85b866e4c4e63a1d7afb58f1e24273caad03d0b7; \>= d0876b2284cf8b34dd214b2d0aa21071c345da59, \< d20bf2c96d7ffd171299b32f562f70e5bf5dc608; \>= d0876b2284cf8b34dd214b2d0aa21071c345da59, \< 2060f1efab370b496c4903b840844ecaff324c3c; \>= d0876b2284cf8b34dd214b2d0aa21071c345da59, \< 1c1f721375989579e46741f59523e39ec9b2a9bd; Linux 5.10.

### Is there a fix for CVE-2024-45009?

Yes. Fixed in Linux 35b31f5549ede4070566b949781e83495906b43d, Linux 85b866e4c4e63a1d7afb58f1e24273caad03d0b7, Linux 2060f1efab370b496c4903b840844ecaff324c3c, Linux 1c1f721375989579e46741f59523e39ec9b2a9bd. Upgrade Linux to 1c1f721375989579e46741f59523e39ec9b2a9bd or later.

### How do I check if I'm affected by CVE-2024-45009?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/35b31f5549ede4070566b949781e83495906b43d>
- patch: <https://git.kernel.org/stable/c/85b866e4c4e63a1d7afb58f1e24273caad03d0b7>
- patch: <https://git.kernel.org/stable/c/d20bf2c96d7ffd171299b32f562f70e5bf5dc608>
- patch: <https://git.kernel.org/stable/c/2060f1efab370b496c4903b840844ecaff324c3c>
- patch: <https://git.kernel.org/stable/c/1c1f721375989579e46741f59523e39ec9b2a9bd>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-45009>

HTML: <https://flawdb.com/CVE-2024-45009> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-45009>
