# CVE-2024-45009: mptcp: pm: only decrement add_addr_accepted for MPJ req

- Severity: High 8.2 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-02)
- Published: 2024-09-11T15:13:47.719Z
- Modified: 2026-08-05T11:37:39.508Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from d0876b2284cf8b34dd214b2d0aa21071c345da59 before 35b31f5549ede4070566b949781e83495906b43d; from d0876b2284cf8b34dd214b2d0aa21071c345da59 before 85b866e4c4e63a1d7afb58f1e24273caad03d0b7; from d0876b2284cf8b34dd214b2d0aa21071c345da59 before d20bf2c96d7ffd171299b32f562f70e5bf5dc608; from d0876b2284cf8b34dd214b2d0aa21071c345da59 before 2060f1efab370b496c4903b840844ecaff324c3c; from d0876b2284cf8b34dd214b2d0aa21071c345da59 before 1c1f721375989579e46741f59523e39ec9b2a9bd; 5.10 (not affected: before 5.10; from 5.15.167 up to 5.15.*; from 6.1.107 up to 6.1.*; from 6.6.48 up to 6.6.*; from 6.10.7 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: from 5.10 before 5.15.167; from 5.16 before 6.1.107; from 6.2 before 6.6.48; from 6.7 before 6.10.7; 6.11

## Every score

- Linux: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <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> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-45009](https://www.cve.org/CVERecord?id=CVE-2024-45009), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-45009](https://nvd.nist.gov/vuln/detail/CVE-2024-45009), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-45009 · Whole record: https://cve.day/CVE-2024-45009.json · Rebuilt by cve.day 2026-11-25T22:58:45.305Z
