LiveActive security incident?Get immediate response
CVE Record

CVE-2024-56626: ksmbd: fix Out-of-Bounds Write in ksmbd_vfs_stream_write

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix Out-of-Bounds Write in ksmbd_vfs_stream_write An offset from client could be a negative value, It could allows to write data outside the bounds of the allocated buffer. Note that this issue is coming when setting 'vfs objects = streams_xattr parameter' in ksmbd.conf.

HighCVSS 8.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

A network client with limited privileges may trigger memory corruption in a Linux SMB file server, potentially affecting confidentiality, integrity, and availability. Exposure requires the kernel ksmbd service and the "streams_xattr" VFS configuration. Systems not using that combination are not indicated as vulnerable by the supplied description.

Executive priority

Treat exposed ksmbd file servers as a high-priority patching item, especially where SMB is reachable across trust boundaries. First establish whether the required "streams_xattr" configuration exists; this sharply narrows exposure. Expedite remediation for matching systems because successful memory corruption could materially disrupt services or compromise protected data.

Technical view

CVE-2024-56626 is a CWE-787 out-of-bounds write in ksmbd_vfs_stream_write. A client-supplied offset can be negative, allowing data to be written outside an allocated buffer when "vfs objects = streams_xattr" is configured. The supplied CVSS 3.1 score is 8.8: network-accessible, low complexity, low privileges, no user interaction, with potentially high confidentiality, integrity, and availability impact.

Likely exposure

Prioritize Linux hosts providing SMB through ksmbd with "streams_xattr" enabled and reachable by untrusted or lower-trust clients. The supplied version data identifies affected Linux kernel lines but is ambiguous about exact ranges; confirm applicability against the running distribution kernel and vendor advisory.

Exploitation context

The supplied CVSS indicates exploitation requires network access and low privileges. No user interaction is required. The source bundle marks this CVE as absent from KEV and provides no evidence of active exploitation or a public exploit. KEV absence does not prove exploitation has never occurred.

Researcher notes

The vulnerable path accepts a client-controlled negative offset that can escape the allocated buffer during stream writes. The exact corruption outcome is not established in the supplied evidence, so code execution should not be assumed. Review the applicable stable-branch patch and downstream backports; distribution kernel versions may not map directly to upstream numbering.

Mitigation direction

  • Update to a vendor-supported kernel containing the cited stable fix.
  • Check distribution guidance to identify the correct patched package for each kernel line.
  • Disable "streams_xattr" where operationally unnecessary until patching is complete.
  • Restrict SMB access to trusted networks and authorized clients.

Validation and detection

  • Confirm whether ksmbd is enabled and serving SMB connections.
  • Review ksmbd.conf for "vfs objects = streams_xattr".
  • Record the running kernel and compare it with vendor-fixed package guidance.
  • Verify the installed kernel incorporates the applicable cited stable commit.
  • Retest SMB service functionality after updating or changing configuration.
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-787: 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-56626 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
8.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/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.

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

SSVC decision data

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

CVSS vector scores

2 official scores

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
8.8CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H2.85.9Linux
7.8CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H1.85.9CISA-ADP

Vulnerability scoring details

Base CVSS 3.1 score

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

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/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
LinuxLinux0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cfunaffected
LinuxLinux5.15, 0, 5.15.176, 6.1.120, 6.6.66, 6.12.5, 6.13affected
Weakness

CWE details

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

CWE-787 · source CWE mapping

Out-of-bounds Write

Out-of-bounds Write represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.