CVE-2024-26826

CVE-2024-26826

High · published April 17, 2024

CVSS v3.1
7.5
EPSS
1%
Percentile
50.6
In the wild
Unconfirmed
What it is

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 mptcp_sock 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

tcp_sock 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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00651 · 50.6th percentile
Published
2024-04-17T14:15Z
Affected products (6)
ProductVersionsFixed in
linux/linux_kernel≥ 5.15, < 5.15.1495.15.149
linux/linux_kernel≥ 5.16, < 6.1.796.1.79
linux/linux_kernel≥ 6.2, < 6.6.186.6.18
linux/linux_kernel≥ 6.7, < 6.7.66.7.6
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (10)
EPSS history
Timeline
  • 17 APR 09:43Z
    mptcp: fix data re-injection from stale subflow
    cvelistv5