LiveActive security incident?Get immediate response
CVE Record

CVE-2025-38437: ksmbd: fix potential use-after-free in oplock/lease break ack

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix potential use-after-free in oplock/lease break ack If ksmbd_iov_pin_rsp return error, use-after-free can happen by accessing opinfo->state and opinfo_put and ksmbd_fd_put could called twice.

HighCVSS 8.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

A flaw in Linux’s in-kernel SMB server, ksmbd, can access memory after it has been released when processing an oplock or lease-break acknowledgement error. A network user with limited privileges may be able to crash the system or compromise confidentiality and integrity. The supplied evidence does not establish successful code execution.

Executive priority

Prioritize expedited remediation for internet-facing, broadly reachable, or business-critical ksmbd servers. Treat disabled or unreachable ksmbd systems as lower immediate exposure after verification. Because the maximum stated impacts are high, track remediation to completion even though active exploitation is not established.

Technical view

When ksmbd_iov_pin_rsp returns an error, the affected path may access opinfo->state after release and call opinfo_put and ksmbd_fd_put twice. This creates a potential use-after-free during oplock or lease-break acknowledgement handling. CVSS 3.1 is 8.8: network reachable, low complexity, low privileges, no user interaction, with high impact ratings.

Likely exposure

Exposure is concentrated on Linux systems running an affected kernel with ksmbd enabled and reachable by SMB clients. Systems not using ksmbd are unlikely to expose this path. The bundled version data does not clearly express every distribution-specific fixed boundary, so kernel package status must be confirmed with the applicable vendor.

Exploitation context

The CVE is not identified as being in CISA KEV in the supplied bundle. No supplied source documents active exploitation or a public proof of concept. The CVSS vector indicates a low-privileged network attacker, but practical reliability and outcomes beyond a potential use-after-free are not established here.

Researcher notes

The described defect is an error-path lifetime-management failure involving opinfo state access and duplicate reference releases after ksmbd_iov_pin_rsp fails. The sources support potential use-after-free, but do not establish exploit primitives, reliable remote code execution, affected configuration nuances, or active abuse. Match vendor kernels to the relevant stable commits rather than relying only on release numbers.

Mitigation direction

  • Install a vendor-supported kernel containing the applicable Linux stable fix.
  • Disable ksmbd where in-kernel SMB service is unnecessary.
  • Restrict SMB access to trusted networks and authenticated users while patching.
  • Check distribution security guidance for package-specific fixed versions.

Validation and detection

  • Determine whether ksmbd is enabled or loaded on each system.
  • Identify the running kernel and distribution package version.
  • Confirm the package includes the applicable referenced stable-kernel fix.
  • Verify SMB is not exposed beyond explicitly authorized networks.
  • Review kernel logs for ksmbd crashes or memory-safety warnings.
Prepared
Confidence
high
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.

cve · low confidence lookup

CVE-2025-38437 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.

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

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

Vulnerability scoring details

Base CVSS 3.1 score

8.8High
CVSS 3.1 vector shape for CVE-2025-38437Attack 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

CVECVE Program Container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cfunaffected
LinuxLinux5.15, 0, 6.1.146, 6.6.99, 6.12.39, 6.15.7, 6.16affected
Weakness

CWE details

No CWE listed

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