CVE-2024-57925: Linux kernel · ksmbd: fix a missing return value check bug
Source GCVE Database
Not known to be exploited · CVSS 7.1 High.
Data as of 30 Oct 2026, 01:01 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 19 Jan 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
A fix has been implemented that adds a return value check after ksmbd_alloc_work_struct() to prevent illegal memory writes. Users should apply the official kernel patch that addresses this issue.
Description
CVE-2024-57925 is a high-severity vulnerability in the Linux kernel's ksmbd component. It involves a missing return value check after a memory allocation failure in the smb2_send_interim_resp() function. Without this check, the code may attempt to write to a NULL pointer, causing an illegal memory write. This issue has been fixed by adding the necessary check to prevent such memory access errors.
References
- nvd.nist.gov/vuln/detail/CVE-2024-57925 (opens in a new tab)
- git.kernel.org/stable/c/271ae0edbfc942795c162e6cf20d2bc02bd7fde4 (opens in a new tab)
- git.kernel.org/stable/c/2976e91a3e569cf2c92c9f71512c0ab1312fe965 (opens in a new tab)
- git.kernel.org/stable/c/4c16e1cadcbcaf3c82d5fc310fbd34d0f5d0db7c (opens in a new tab)
- git.kernel.org/stable/c/781c743e18bfd9b7dc0383f036ae952bd1486f21 (opens in a new tab)
- git.kernel.org/stable/c/ee7e40f7fb17f08a8cbae50553e5c2e10ae32fce (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html (opens in a new tab)