Kernel memory corruption via unchecked allocation failure
Published Jan 19, 2025 · Updated May 23, 2026
Memory corruption in the Linux ksmbd server allows local users to corrupt kernel memory and interrupt the operating system. smb2_send_interim_resp() fails to check whether ksmbd_alloc_work_struct() returned NULL before allocate_interim_rsp_buf() writes through in_work->response_buf. Reaching the flaw requires local low-privileged access and a failed work-structure allocation; the resulting write can corrupt kernel state or crash the system.
Summary
What happened
Memory corruption in the Linux ksmbd server allows local users to corrupt kernel memory and interrupt the operating system. smb2_send_interim_resp() fails to check whether ksmbd_alloc_work_struct() returned NULL before allocate_interim_rsp_buf() writes through in_work->response_buf. Reaching the flaw requires local low-privileged access and a failed work-structure allocation; the resulting write can corrupt kernel state or crash the system.
The record
- CVE
- CVE-2024-57925
- Published
- Jan 19, 2025
- Updated
- May 23, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jan 19, 2025CVE publishedPublication date reported by the CVE source.
- May 23, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=041bba4414cda37d00063952c9bff9c3d5812a19 <271ae0edbfc942795c162e6cf20d2bc02bd7fde4
- Affected versionversion=041bba4414cda37d00063952c9bff9c3d5812a19 <2976e91a3e569cf2c92c9f71512c0ab1312fe965
- Affected versionversion=041bba4414cda37d00063952c9bff9c3d5812a19 <4c16e1cadcbcaf3c82d5fc310fbd34d0f5d0db7c
- Affected versionversion=5.15.145 <5.15.177
- Affected versionversion=6.1.71 <6.1.125
- Affected versionversion=6.6
- Affected versionversion=6f0207218c4c125f5bf32055ac4220b4ef3b7e67 <781c743e18bfd9b7dc0383f036ae952bd1486f21
- Affected versionversion=f8cf1ebb7de62c7d807707ce4abb69d483629263 <ee7e40f7fb17f08a8cbae50553e5c2e10ae32fce
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo