CVE-2024-26826: mptcp: fix data re-injection from stale subflow
In the Linux kernel, the following vulnerability has been resolved:
mptcp: fix data re-injection from stale subflow
The Linux kernel CVE team has assigned CVE-2024-26826 to this issue.
Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024041703-CVE-2024-26826-b984@gregkh/T
Other sources
In the Linux kernel, the following vulnerability has been resolved:
mptcp: fix data re-injection from stale subflow
When the MPTCP PM detects that a subflow is stale, all the packet scheduler must re-inject all the mptcp-level unacked data. To avoid acquiring unneeded locks, it first try to check if any unacked data is present at all in the RTX queue, but such check is currently broken, as it uses TCP-specific helper on an MPTCP socket.
Funnily enough fuzzers and static checkers are happy, as the accessed memory still belongs to the mptcpsock struct, and even from a functional perspective the recovery completed successfully, as the short-cut test always failed.
A recent unrelated TCP change - commit d5fed5addb2b ("tcp: reorganize tcpsock fast path variables") - exposed the issue, as the tcp field reorganization makes the mptcp code always skip the re-inection.
Fix the issue dropping the bogus call: we are on a slow path, the early optimization proved once again to be evil.
— NVD
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-26826?
CVE-2024-26826 has been classified with a medium severity level due to potential exploitation risks.
How do I fix CVE-2024-26826?
To fix CVE-2024-26826, update your Linux kernel to versions 5.15.149, 6.1.79, 6.6.18, 6.7.6, 6.8, or relevant patched versions from Debian.
What systems are affected by CVE-2024-26826?
CVE-2024-26826 affects multiple versions of the Linux kernel, particularly those specified above from Red Hat and Debian.
Is CVE-2024-26826 being actively exploited?
As of now, there is no public indication that CVE-2024-26826 is being actively exploited in the wild.
What is the primary issue caused by CVE-2024-26826?
CVE-2024-26826 addresses a vulnerability related to MPTCP that could allow for data re-injection from stale subflows.