CVE-2022-50729Published Dec 24, 2025 · Dec 24Updated Nov 12
ksmbd: Fix resource leak in ksmbd_session_rpc_open()
Linux
Unrated
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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().
From the CVE record · Linux
The Linux kernel's ksmbd_session_rpc_open() can leak a resource when ksmbd_rpc_open() fails because it does not free an allocated RPC ID. The input does not specify how an attacker could trigger this failure or whether access, authentication, or user interaction is required.
Teams running the Linux kernel should check whether their version includes the ksmbd fix; affected versions are not specified.