Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.6.24, < 6.6.59 |
References
- https://git.kernel.org/stable/c/35488799b0ab6e4327f82e1d9209a60805665b37Patch
- https://git.kernel.org/stable/c/35dbac8c328d6afe937cd45ecd41d209d0b9f8b8Patch
- https://git.kernel.org/stable/c/9a5dd61151399ad5a5d69aad28ab164734c1e3bcPatch
FAQ
What is CVE-2024-50120?
CVE-2024-50120 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 ...
How severe is CVE-2024-50120?
CVE-2024-50120 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-50120?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.