CVE-2022-50071

published 18 Jun 2025 · updated 7 Nov 2026

mptcp: move subflow cleanup in mptcp_destroy_common()

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.19.4, Kernel 6139039c8fc5c9dbcdc3ad389b9a6d0cacb4d693 and Kernel c0bf3c6aa444a5ef44acc57ef6cfa53fd4fc1c9b.

In the Linux kernel, the following vulnerability has been resolved: mptcp: move subflow cleanup in mptcp_destroy_common() If the mptcp socket creation fails due to a CGROUP_INET_SOCK_CREATE eBPF program, the MPTCP protocol ends-up leaking all the subflows: the related cleanup happens in __mptcp_destroy_sock() that is not invoked in such code path. Address the issue moving the subflow sockets cleanup in the mptcp_destroy_common() helper, which is invoked in every msk cleanup path. Additionally get rid of the intermediate list_splice_init step, which is an unneeded relic from the past. The issue is present since before the reported root cause commit, but any attempt to backport the fix before that hash will require a complete rewrite.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=5.11 <5.19.4, =5.11, >=e16163b6e2b720fb74e5af758546f6dad27e6c9e <6139039c8fc5c9dbcdc3ad389b9a6d0cacb4d693, >=e16163b6e2b720fb74e5af758546f6dad27e6c9e <c0bf3c6aa444a5ef44acc57ef6cfa53fd4fc1c9b5.19.4, 6139039c8fc5c9dbcdc3ad389b9a6d0cacb4d693, c0bf3c6aa444a5ef44acc57ef6cfa53fd4fc1c9b
linux-kernel: Kernel>=5.11.0 <5.19.45.19.4

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50071 severity on Zeptric[![CVE-2022-50071](https://zeptric.io/badge/cve/CVE-2022-50071.svg)](https://zeptric.io/cve/CVE-2022-50071)