CVE-2022-50729

ksmbd: Fix resource leak in ksmbd_session_rpc_open()

State
Published
Severity
Not scored
Published
Dec 24, 2025
Updated
May 11, 2026
Reserved
Dec 24, 2025

Read the record on cve.org

Description

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().

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to before 31c1b5d3000cdff70b98d5af045271e09079bec1Affected
  • e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to before 9cb49b95c05df09b369d1ec1f378b5c92109433cAffected
  • e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to before f9ed133381eba883c5e0059063d5b3ca7cac6d41Affected
  • e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to before bc044414fa0326a4e5c3c509c00b1fcaf621b5f4Affected
LinuxLinux
  • 5.15Affected
  • before 5.15Not affected
  • 5.15.86 through 5.15.*Not affected
  • 6.0.16 through 6.0.*Not affected
  • 6.1.2 through 6.1.*Not affected
  • 6.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.