CVE-2024-50120
Last modified
CVE-2024-50120 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 6.6.24, < 6.6.59 | — |
| Linux | Linux Kernel | >= 6.7.12, < 6.8 | — |
| Linux | Linux Kernel | >= 6.8.3, < 6.11.6 | — |
| Linux | Linux Kernel | 6.12 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-50120?
How severe is CVE-2024-50120?
How do I fix CVE-2024-50120?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-50115In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2024-50116In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50117In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50118In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50119In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-5012In WhatsUp Gold versions released before 2023.1.3, there is …8.6
- CVE-2024-50121In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-50122In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50123In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2024-50124In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-50125In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-50126In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2024-50120?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
