CVE-2024-50152
Last modified
CVE-2024-50152 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: fix possible double free in smb2_set_ea() Clang static checker(scan-build) warning: fs/smb/client/smb2ops.c:1304:2: Attempt to free released memory. 1304 | kfree(ea); | ^~~~~~~~~ There is a double free in such case: 'ea is initialized to NULL' -> 'first successful memory allocation for ea' -> 'something failed, goto sea_exit' -> 'first memory release for ea' -> 'goto replay_again' -> 'second goto sea_exit before allocate memory for ea' -> 'second memory release for ea resulted in double free'. Re-initialie 'ea' to NULL near to the replay_again label, it can fix this double free problem.. 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: fix possible double free in smb2_set_ea() Clang static checker(scan-build) warning: fs/smb/client/smb2ops.c:1304:2: Attempt to free released memory. 1304 | kfree(ea); | ^~~~~~~~~ There is a double free in such case: 'ea is initialized to NULL' -> 'first successful memory allocation for ea' -> 'something failed, goto sea_exit' -> 'first memory release for ea' -> 'goto replay_again' -> 'second goto sea_exit before allocate memory for ea' -> 'second memory release for ea resulted in double free'. Re-initialie 'ea' to NULL near to the replay_again label, it can fix this double free problem.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 6.6.32, < 6.6.59 | — |
| Linux | Linux Kernel | >= 6.8, < 6.11.6 | — |
| Linux | Linux Kernel | 6.12 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-50152?
How severe is CVE-2024-50152?
How do I fix CVE-2024-50152?
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-50147In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50148In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50149In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-5015In WhatsUp Gold versions released before 2023.1.3, an authen…8.8
- CVE-2024-50150In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-50151In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-50153In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50154In the Linux kernel, the following vulnerability has been re…7
- CVE-2024-50155In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-50156In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50157In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50158In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2024-50152?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
