CVE-2024-45009
mptcp: pm: only decrement add_addr_accepted for MPJ req
Reported by linux · Published September 11, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-headers | Amazon Linux | 6.1.109-118.189.amzn2023 |
| kernel-devel | Amazon Linux | 6.1.109-118.189.amzn2023 |
| perf | Amazon Linux | 6.1.109-118.189.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 6.1.109-118.189.amzn2023 |
| python3-perf | Amazon Linux | 6.1.109-118.189.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | d0876b2284cf8b34dd214b2d0aa21071c345da59, d0876b2284cf8b34dd214b2d0aa21071c345da59, d0876b2284cf8b34dd214b2d0aa21071c345da59 |
| Linux | Linux | 5.10, 0, 5.15.167 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | python3-perf | 0 |
| linux | linux_kernel | 5.10, 5.10, 5.10 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-livepatch-6.1.109-118.189 | 0 |
| Linux | Linux | 5.15.167, 6.1.107, 6.6.48 |
| amazon:2023 | kernel-libbpf | 0 |
Timeline
- Sep 11, 2024 CVE Published
- Sep 12, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (6 in total, the first dated here)
- Nov 4, 2025 CVE Updated
- Dec 16, 2025 PoC Published
- Jan 5, 2026 Security Advisory (82 in total, the first dated here)
- May 4, 2026 Distribution Patch (62 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-45009
vulnetix vdb fixes CVE-2024-45009
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-45009/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart