CVE-2022-50071

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-50071
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50071.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50071
Downstream
Published
2025-06-18T11:15:35Z
Modified
2025-06-18T16:01:33Z
Summary
[none]
Details

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

mptcp: move subflow cleanup in mptcpdestroycommon()

If the mptcp socket creation fails due to a CGROUPINETSOCKCREATE eBPF program, the MPTCP protocol ends-up leaking all the subflows: the related cleanup happens in _mptcpdestroysock() that is not invoked in such code path.

Address the issue moving the subflow sockets cleanup in the mptcpdestroycommon() helper, which is invoked in every msk cleanup path.

Additionally get rid of the intermediate listspliceinit 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.

References

Affected packages

Debian:12 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.0.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.0.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}