CVE-2022-50729

published 24 Dec 2025 · updated 12 Nov 2026

ksmbd: Fix resource leak in ksmbd_session_rpc_open()

5.0MediumEPSS 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 f9ed133381eba883c5e0059063d5b3ca7cac6d41, Kernel 31c1b5d3000cdff70b98d5af045271e09079bec1, Kernel 9cb49b95c05df09b369d1ec1f378b5c92109433c and 4 more.

In the Linux kernel, the following vulnerability has been resolved: ksmbd: Fix resource leak in ksmbd_session_rpc_open() When ksmbd_rpc_open() fails then it must call ksmbd_rpc_id_free() to undo the result of ksmbd_ipc_id_alloc().

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <f9ed133381eba883c5e0059063d5b3ca7cac6d41, >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <31c1b5d3000cdff70b98d5af045271e09079bec1, >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <9cb49b95c05df09b369d1ec1f378b5c92109433c, >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <bc044414fa0326a4e5c3c509c00b1fcaf621b5f4, =5.15f9ed133381eba883c5e0059063d5b3ca7cac6d41, 31c1b5d3000cdff70b98d5af045271e09079bec1, 9cb49b95c05df09b369d1ec1f378b5c92109433c, bc044414fa0326a4e5c3c509c00b1fcaf621b5f4
linux-kernel: Kernel>=5.16.0 <6.0.16, >=6.1.0 <6.1.2, >=5.15.0 <5.15.866.0.16, 6.1.2, 5.15.86

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-50729 severity on Zeptric[![CVE-2022-50729](https://zeptric.io/badge/cve/CVE-2022-50729.svg)](https://zeptric.io/cve/CVE-2022-50729)