Skip to contentSkip to conversation

CVE-2026-46158: mptcp: pm: ADD_ADDR rtx: always decrease sk refcount

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 28

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

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

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

mptcp: pm: ADD_ADDR rtx: always decrease sk refcount

When an ADD_ADDR is retransmitted, the sk is held in sk_reset_timer(). It should then be released in all cases at the end.

Some (unlikely) checks were returning directly instead of calling sock_put() to decrease the refcount. Jump to a new 'exit' label to call __sock_put() (which will become sock_put() in the next commit) to fix this potential leak.

While at it, drop the '!msk' check which cannot happen because it is never reset, and explicitly mark the remaining one as "unlikely".

The Linux kernel CVE team has assigned CVE-2026-46158 to this issue.

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

	Issue introduced in 5.10 with commit 00cfd77b9063dcdf3628a7087faba60de85a9cc8 and fixed in 6.18.30 with commit acd3d3562315c99f3c0db16f0fcc5f0306638982
	Issue introduced in 5.10 with commit 00cfd77b9063dcdf3628a7087faba60de85a9cc8 and fixed in 7.0.7 with commit 25e37407442b8766ec2cf52fb4e31b5c3d3aeeae
	Issue introduced in 5.10 with commit 00cfd77b9063dcdf3628a7087faba60de85a9cc8 and fixed in 7.1-rc3 with commit 9634cb35af17019baec21ca648516ce376fa10e6

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-2026-46158

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/pm.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/acd3d3562315c99f3c0db16f0fcc5f0306638982
	https://git.kernel.org/stable/c/25e37407442b8766ec2cf52fb4e31b5c3d3aeeae
	https://git.kernel.org/stable/c/9634cb35af17019baec21ca648516ce376fa10e6