← Back to CVE List

CVE-2024-50120

Published: 2024-11-05T18:15Z
Last Modified: 2024-11-08T18:04Z
Source: MITRE CVE List
License: MITRE-CVE-TOS
In the Linux kernel, the following vulnerability has been resolved: smb: client: Handle kstrdup failures for passwords In smb3_reconfigure(), after duplicating ctx->password and ctx->password2 with kstrdup(), we need to check for allocation failures. If ses->password allocation fails, return -ENOMEM. If ses->password2 allocation fails, free ses->password, set it to NULL, and return -ENOMEM. > MITRE Terms of Use apply – see LICENSE‑MITRE.txt