CVE-2025-21844: smb: client: Add check for next_buffer in receive_encrypted_standard()
In the Linux kernel, the following vulnerability has been resolved:
smb: client: Add check for next_buffer in receive_encrypted_standard()
Add check for the return value of cifs_buf_get() and cifs_small_buf_get()
in receive_encrypted_standard() to prevent null pointer dereference.
Security readout for executives and security teams
Plain-English summary
CVE-2025-21844 is a Linux kernel SMB client flaw that can crash affected systems through a null pointer dereference. The impact is availability, not data theft or tampering. The CVSS score is 5.5, and the source bundle does not show active exploitation or CISA KEV listing.
Executive priority
Schedule remediation through normal kernel patch cycles, with faster handling for shared systems, multi-user servers, and environments where local users are less trusted. This is not currently supported as an emergency internet-scale issue by the supplied evidence.
Technical view
The Linux SMB client function receive_encrypted_standard() did not check whether cifs_buf_get() or cifs_small_buf_get() returned a valid buffer. A failed allocation could lead to a null pointer dereference. The fix adds return-value checks for next_buffer handling in upstream stable commits.
Likely exposure
Exposure is most relevant to Linux systems using the kernel SMB/CIFS client on affected kernel branches or vendor builds. The CVSS vector indicates local access with low privileges is required and the expected impact is high availability loss only.
Exploitation context
The provided sources identify this as a local, low-complexity availability issue. CISA KEV is false, and the bundle provides no evidence of public exploitation. Treat exploitation status as unconfirmed unless vendor or threat-intelligence sources say otherwise.
Researcher notes
The root issue is CWE-476 in Linux SMB client encrypted receive handling. The source bundle names upstream stable commits and downstream Debian and Siemens advisories, but does not include exploit details, proof-of-concept status, or full product matrices beyond those references.
Mitigation direction
Apply Linux kernel updates that include the referenced upstream stable fixes.
Follow Debian LTS advisories if running affected Debian kernel packages.
Check Siemens SSA-265688 for product-specific exposure and remediation.
Prioritize systems where untrusted local users can access SMB client functionality.
If updates are unavailable, follow vendor guidance for temporary risk reduction.
Validation and detection
Inventory Linux kernel versions and vendor kernel package builds.
Identify hosts using SMB/CIFS client functionality or mounts.
Compare installed kernels against the CVE affected and fixed version data.
Confirm vendor advisories or changelogs reference CVE-2025-21844 or the stable commits.
After patching, verify the updated kernel is booted, not only installed.
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.
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.
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.
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.