Skip to contentSkip to conversation

CVE-2024-50185: mptcp: handle consistently DSS corruption

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Nov 8, 2024

lore
Share & tools
lore
#0 lore raw

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

mptcp: handle consistently DSS corruption

Bugged peer implementation can send corrupted DSS options, consistently hitting a few warning in the data path. Use DEBUG_NET assertions, to avoid the splat on some builds and handle consistently the error, dumping related MIBs and performing fallback and/or reset according to the subflow type.

The Linux kernel CVE team has assigned CVE-2024-50185 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 5.7 with commit 6771bfd9ee24 and fixed in 5.10.228 with commit fde99e972b8f
	Issue introduced in 5.7 with commit 6771bfd9ee24 and fixed in 5.15.169 with commit 12c1676d598e
	Issue introduced in 5.7 with commit 6771bfd9ee24 and fixed in 6.1.113 with commit 35668f8ec84f
	Issue introduced in 5.7 with commit 6771bfd9ee24 and fixed in 6.6.57 with commit b8be15d1ae7e
	Issue introduced in 5.7 with commit 6771bfd9ee24 and fixed in 6.11.4 with commit 8bfd391bde68
	Issue introduced in 5.7 with commit 6771bfd9ee24 and fixed in 6.12-rc3 with commit e32d262c89e2

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2024-50185

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
net/mptcp/mib.c
net/mptcp/mib.h
net/mptcp/protocol.c
net/mptcp/subflow.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/fde99e972b8f88cebe619241d7aa43d288ef666a
	https://git.kernel.org/stable/c/12c1676d598e3b8dd92a033b623b792cc2ea1ec5
	https://git.kernel.org/stable/c/35668f8ec84f6c944676e48ecc6bbc5fc8e6fe25
	https://git.kernel.org/stable/c/b8be15d1ae7ea4eedd547c3b3141f592fbddcd30
	https://git.kernel.org/stable/c/8bfd391bde685df7289b928ce8876a3583be4bfb
	https://git.kernel.org/stable/c/e32d262c89e2b22cb0640223f953b548617ed8a6