{"id":"CVE-2022-50071","published":"2025-06-18T11:02:15Z","modified":"2026-11-05T20:00:15Z","title":"mptcp: move subflow cleanup in mptcp_destroy_common()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmptcp: move subflow cleanup in mptcp_destroy_common()\n\nIf the mptcp socket creation fails due to a CGROUP_INET_SOCK_CREATE\neBPF program, the MPTCP protocol ends-up leaking all the subflows:\nthe related cleanup happens in __mptcp_destroy_sock() that is not\ninvoked in such code path.\n\nAddress the issue moving the subflow sockets cleanup in the\nmptcp_destroy_common() helper, which is invoked in every msk cleanup\npath.\n\nAdditionally get rid of the intermediate list_splice_init step, which\nis an unneeded relic from the past.\n\nThe issue is present since before the reported root cause commit, but\nany attempt to backport the fix before that hash will require a complete\nrewrite.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00251,"percentile":0.16828,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/6139039c8fc5c9dbcdc3ad389b9a6d0cacb4d693","tags":[]},{"url":"https://git.kernel.org/stable/c/c0bf3c6aa444a5ef44acc57ef6cfa53fd4fc1c9b","tags":[]}],"priority":{"score":3.4,"factors":[{"name":"EPSS percentile","points":3.37}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= e16163b6e2b720fb74e5af758546f6dad27e6c9e, < 6139039c8fc5c9dbcdc3ad389b9a6d0cacb4d693",">= e16163b6e2b720fb74e5af758546f6dad27e6c9e, < c0bf3c6aa444a5ef44acc57ef6cfa53fd4fc1c9b"]},{"vendor":"Linux","product":"Linux","versions":["5.11"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-05T19:53:44.531441Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-55340","exploited":false,"provenance":"source"}}