CVE-2024-57925
Last modified
CVE-2024-57925 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix a missing return value check bug In the smb2_send_interim_resp(), if ksmbd_alloc_work_struct() fails to allocate a node, it returns a NULL pointer to the in_work pointer. This can lead to an illegal memory write of in_work->response_buf when allocate_interim_rsp_buf() attempts to perform a kzalloc() on it. To address this issue, incorporating a check for the return value of ksmbd_alloc_work_struct() ensures that the function returns immediately upon allocation failure, thereby preventing the aforementioned illegal memory access.. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix a missing return value check bug In the smb2_send_interim_resp(), if ksmbd_alloc_work_struct() fails to allocate a node, it returns a NULL pointer to the in_work pointer. This can lead to an illegal memory write of in_work->response_buf when allocate_interim_rsp_buf() attempts to perform a kzalloc() on it. To address this issue, incorporating a check for the return value of ksmbd_alloc_work_struct() ensures that the function returns immediately upon allocation failure, thereby preventing the aforementioned illegal memory access.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 5.15.145, < 5.16 | — |
| Linux | Linux Kernel | >= 6.1.71, < 6.1.125 | — |
| Linux | Linux Kernel | >= 6.6, < 6.6.72 | — |
| Linux | Linux Kernel | >= 6.7, < 6.12.10 | — |
| Linux | Linux Kernel | 6.13 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-57925?
How severe is CVE-2024-57925?
How do I fix CVE-2024-57925?
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-5792The Houzez CRM plugin for WordPress is vulnerable to time-ba…8.8
- CVE-2024-57920Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2024-57921In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57922In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57923In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57924In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57926In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-57927In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57928In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2024-57929In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2024-5793The Houzez Theme - Functionality plugin for WordPress is vul…8.8
- CVE-2024-57930In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2024-57925?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
