CVE-2024-45009

MEDIUM

Linux Kernel 5.10-5.15.166 5.16-6.1.106 6.2-6.6.47 6.7-6.10.6 - Use-After-Free in MPTCP Subflow Removal

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0022
EPSS Percentile 12.8%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

Status published
Products (18)
linux/Kernel 5.10.0 - 5.15.167linux
linux/Kernel 5.16.0 - 6.1.107linux
linux/Kernel 6.2.0 - 6.6.48linux
linux/Kernel 6.7.0 - 6.10.7linux
Linux/Linux < 5.10
Linux/Linux 5.10
Linux/Linux 5.15.167 - 5.15.*
Linux/Linux 6.1.107 - 6.1.*
Linux/Linux 6.10.7 - 6.10.*
Linux/Linux 6.11
... and 8 more
Published Sep 11, 2024
Tracked Since Feb 18, 2026