VDB

CVE-2022-50071

CVE-2022-50071 PUBLISHED

mptcp: move subflow cleanup in mptcp_destroy_common()

Reported by linux · Published June 18, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux5.19.4

Affected products

VendorProductVersions
LinuxLinuxe16163b6e2b720fb74e5af758546f6dad27e6c9e, e16163b6e2b720fb74e5af758546f6dad27e6c9e
LinuxLinux5.11, 0, 5.19.4
linuxlinux_kernel5.11, 5.11
LinuxLinux*, *, 5.11

Timeline

  • Jun 18, 2025 CVE Published
  • Jun 29, 2025 EPSS Score (29 in total, the first dated here)
  • May 23, 2026 Coalition ESS Score
  • Jun 2, 2026 Security Advisory (239 in total, the first dated here)
  • Oct 13, 2026 CVE Updated
  • Oct 18, 2026 Distribution Patch (228 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-50071
vulnetix vdb fixes CVE-2022-50071

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-50071/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›