LiveActive security incident?Get immediate response
CVE Record

CVE-2024-57925: ksmbd: fix a missing return value check bug

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.

HighCVSS 7.1Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

This is a Linux kernel ksmbd flaw where an allocation failure is not checked before later memory access. On affected systems, a low-privileged local attacker could potentially cause integrity or availability impact. It matters most for Linux hosts using the in-kernel SMB server component.

Executive priority

Treat as high priority for Linux servers where ksmbd is used or local user access is common. Prioritize standard kernel patching, but do not frame this as confirmed active exploitation from the supplied sources.

Technical view

The bug is in ksmbd smb2_send_interim_resp(). If ksmbd_alloc_work_struct() returns NULL, later handling can write through in_work->response_buf, causing illegal memory access. The CVSS vector is local, low complexity, low privileges, no user interaction, with high integrity and availability impact.

Likely exposure

Exposure is most likely on Linux systems running affected kernel builds with ksmbd present or enabled. Systems using vendor kernels should map their package version to vendor advisories, because the source bundle lists upstream stable commits and Debian LTS guidance rather than every distribution build.

Exploitation context

The source bundle does not show CISA KEV listing or any cited evidence of active exploitation. The CVSS vector indicates local access with low privileges is required, so this is not presented as a remote unauthenticated SMB exploit based on the provided evidence.

Researcher notes

Evidence supports a missing NULL return check in ksmbd with CWE-476 characteristics and local PR:L exploitation conditions. The affected-version data is upstream-oriented and partly distribution-dependent, so validation should rely on vendor package advisories and referenced stable commits.

Mitigation direction

  • Apply vendor kernel updates that include the referenced upstream stable fixes.
  • Review Debian LTS guidance if running affected Debian kernel packages.
  • If ksmbd is unnecessary, follow vendor guidance for disabling that component.
  • Track distribution advisories for backported fixes, not only upstream version numbers.

Validation and detection

  • Inventory Linux kernel versions across servers and appliances.
  • Identify systems where the ksmbd kernel SMB server is installed, loaded, or enabled.
  • Map each kernel package to vendor advisories or fixed stable commits.
  • Prioritize validation on multi-user systems where local low-privileged access exists.
Prepared
Confidence
medium
Sources
8

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-476: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2024-57925 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.1 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
2ADP providers
7Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.1CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H1.85.2CISA-ADP

Vulnerability scoring details

Base CVSS 3.1 score

7.1High
CVSS 3.1 vector shape for CVE-2024-57925Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
cvssV3_1other:ssvc
CVECVE Program Container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux6f0207218c4c125f5bf32055ac4220b4ef3b7e67, f8cf1ebb7de62c7d807707ce4abb69d483629263, 041bba4414cda37d00063952c9bff9c3d5812a19, 041bba4414cda37d00063952c9bff9c3d5812a19, 041bba4414cda37d00063952c9bff9c3d5812a19, 5.15.145, 6.1.71unaffected
LinuxLinux6.6, 0, 5.15.177, 6.1.125, 6.6.72, 6.12.10, 6.13affected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-476 · source CWE mapping

NULL Pointer Dereference

NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.