CVE-2024-44974·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: mptcp: pm: avoid possible UaF when selecting endp select_local_address() and select_signal_address() 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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.10.7
- Published
- 2024-09-04
Affected versions
From: 6.7
Until: 6.10.7
Fixed in: 6.10.7
How to fix this CVE
Update your Linux kernel to version 6.10.7 or later to resolve a use-after-free vulnerability in the MPTCP endpoint selection logic. This flaw could allow a local unprivileged user to trigger memory corruption by accessing freed endpoint data during concurrent endpoint operations. Apply the patch immediately on systems running kernels 6.7 through 6.10.6.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check your kernel version: uname -r | grep -E '^(6\.[7-9]|6\.10\.[0-6])'
- Verify MPTCP is enabled in your kernel: grep -i mptcp /boot/config-$(uname -r) | grep CONFIG_MPTCP
- Monitor kernel logs for use-after-free related crashes: dmesg | grep -i 'use.*after.*free\|uaf\|kasan\|splat'
- Confirm kernel update applied: uname -r | grep -E '6\.10\.[7-9]|6\.1[1-9]|[7-9]\.[0-9]' && echo 'Patched' || echo 'Vulnerable'
FAQ
What is CVE-2024-44974?
CVE-2024-44974 is a use-after-free vulnerability in Linux kernel's MPTCP (Multipath TCP) endpoint management code. The vulnerability occurs when endpoint data is accessed after being freed from memory, potentially allowing local users to cause memory corruption or system crashes.
Is CVE-2024-44974 being actively exploited?
No, CVE-2024-44974 is not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog, and no public exploit code is available. However, it remains a high-severity flaw requiring prompt patching.
What versions of Kernel are affected by CVE-2024-44974?
Linux kernel versions 6.7 through 6.10.6 are vulnerable. Kernel 6.10.7 and later contain the fix. Users running earlier stable branches (6.6 and below) are not affected.
How do I check if my server is vulnerable to CVE-2024-44974?
Run `uname -r` to display your kernel version. If the output shows a version between 6.7 and 6.10.6, you are vulnerable. Additionally, check if MPTCP is enabled with `grep CONFIG_MPTCP /boot/config-$(uname -r)`.
Does Defensia detect CVE-2024-44974?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2024-44974 will appear in your dashboard with remediation steps and patch availability.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/0201d65d9806d287a00e0ba96f0321835631f63f
- https://git.kernel.org/stable/c/2b4f46f9503633dade75cb796dd1949d0e6581a1
- https://git.kernel.org/stable/c/48e50dcbcbaaf713d82bf2da5c16aeced94ad07d
- https://git.kernel.org/stable/c/9a9afbbc3fbfca4975eea4aa5b18556db5a0c0b8
- https://git.kernel.org/stable/c/ddee5b4b6a1cc03c1e9921cf34382e094c2009f1
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-44974. Free for 1 server.
Get started free