Security readout for executives and security teams
Plain-English summary
A flaw in the Linux SMB client can make the kernel read memory after it has been freed when directory listings occur concurrently. Successful triggering could crash the system or potentially compromise kernel confidentiality and integrity. Exposure requires an affected kernel using CIFS/SMB functionality and local access.
Executive priority
Treat as a high-priority kernel maintenance issue on SMB-using Linux systems, especially multi-user or shared-compute hosts. Patch through supported distribution channels after normal compatibility testing. Systems without CIFS usage have materially lower practical exposure, but should still receive routine kernel updates.
Technical view
CVE-2025-38051 is a race-related use-after-free in cifs_fill_dirent during concurrent readdir operations. One process can release a CIFS response buffer while another still accesses it. KASAN confirmed a four-byte read from freed slab memory. CVSS 3.1 rates it 7.8: local, low-complexity, low-privilege, no user interaction.
Likely exposure
Likely exposure is limited to Linux hosts running affected, unpatched kernels where the CIFS client is present and SMB directory enumeration can occur concurrently. File servers, workstations, containers sharing the host kernel, and appliances mounting SMB shares merit review. Distribution backports make version-only conclusions unreliable.
Exploitation context
The source reports that a proof of concept is available, demonstrating triggerability. The CVE is not listed as KEV, and the supplied sources provide no evidence of active exploitation. The attack vector is local and requires low privileges; remote-only exposure is not established.
Researcher notes
The evidence establishes a concurrency race and slab use-after-free in the CIFS readdir path. The supplied trace shows allocation in cifs_demultiplex_thread, release in cifs_readdir, and later access in cifs_fill_dirent. The bundle is truncated and does not establish reliable exploitation beyond triggering the memory-safety violation.
Mitigation direction
Install a vendor-supported kernel containing the applicable upstream stable fix.
Follow distribution advisories because vendors may backport fixes without changing to an upstream version.
Prioritize hosts mounting SMB shares or exposing CIFS operations to untrusted local users.
If patching is delayed, restrict untrusted local access and unnecessary SMB client usage.
Validation and detection
Inventory kernel versions and identify hosts loading CIFS or mounting SMB shares.
Map each kernel package to its vendor advisory or backported fix status.
Confirm the installed kernel includes the relevant stable commit for its branch.
Review kernel logs for CIFS faults, use-after-free reports, KASAN alerts, or unexplained crashes.
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-38051 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
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
11Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
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.