{"id":"CVE-2022-50729","summary":"ksmbd: Fix resource leak in ksmbd_session_rpc_open()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: Fix resource leak in ksmbd_session_rpc_open()\n\nWhen ksmbd_rpc_open() fails then it must call ksmbd_rpc_id_free() to\nundo the result of ksmbd_ipc_id_alloc().","modified":"2026-08-12T03:51:42.997644502Z","published":"2025-12-24T12:22:49.717Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50729.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/31c1b5d3000cdff70b98d5af045271e09079bec1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9cb49b95c05df09b369d1ec1f378b5c92109433c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bc044414fa0326a4e5c3c509c00b1fcaf621b5f4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f9ed133381eba883c5e0059063d5b3ca7cac6d41"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50729.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50729"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9"},{"fixed":"31c1b5d3000cdff70b98d5af045271e09079bec1"},{"fixed":"9cb49b95c05df09b369d1ec1f378b5c92109433c"},{"fixed":"f9ed133381eba883c5e0059063d5b3ca7cac6d41"},{"fixed":"bc044414fa0326a4e5c3c509c00b1fcaf621b5f4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50729.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.15.0"},{"fixed":"5.15.86"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.0.16"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.1.0"},{"fixed":"6.1.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50729.json"}}],"schema_version":"1.9.0"}