CVE-2024-44974: mptcp: pm: avoid possible UaF when selecting endp
In the Linux kernel, the following vulnerability has been resolved:
mptcp: pm: avoid possible UaF when selecting endp
selectlocaladdress() and selectsignaladdress() both select an endpoint entry from the list inside an RCU protected section, but return a reference to it, to be read later on. If the entry is dereferenced after the RCU unlock, reading info could cause a Use-after-Free.
A simple solution is to copy the required info while inside the RCU protected section to avoid any risk of UaF later. The address ID might need to be modified later to handle the ID0 case later, so a copy seems OK to deal with.
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1 - Upgrade
Upgrade
debian/linux-6.1to a version that resolves this vulnerability.Fixed in 6.1.129-1~deb11u1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-44974?
CVE-2024-44974 is classified as a medium severity vulnerability in the Linux kernel.
How do I fix CVE-2024-44974?
To fix CVE-2024-44974, upgrade to the appropriate patched version of the Linux kernel, such as 5.10.226-1 or later.
Which Linux kernel versions are affected by CVE-2024-44974?
CVE-2024-44974 affects Linux kernel versions prior to 5.10.226-1, 6.1.123-1, and several others.
Is there a CVE-2024-44974 patch available for Debian?
Yes, Debian provides patches for CVE-2024-44974 in specific kernel versions, including 5.10.226-1.
What types of systems are impacted by CVE-2024-44974?
CVE-2024-44974 impacts systems running vulnerable versions of the Linux kernel that utilize mptcp connections.