Description
In the Linux kernel, the following vulnerability has been resolved:

smb: client: Fix next buffer leak in receive_encrypted_standard()

receive_encrypted_standard() allocates next_buffer before checking
whether the number of compound PDUs already reached MAX_COMPOUND. If
the limit check fails, the function returns immediately and the newly
allocated next_buffer is not assigned to server->smallbuf/server->bigbuf,
making it leaked.

Move the MAX_COMPOUND check before allocating next_buffer.
Published: 2026-07-25
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel SMB client function receive_encrypted_standard() allocates a temporary buffer called next_buffer before verifying that the number of compound PDUs has not exceeded the configured maximum. If the limit check fails, the function returns without assigning the buffer to the server’s small or big buffers, leaving it leaked. This represents a Missing Release of Resource (CWE‑772) and a memory leak that can accumulate enough to exhaust the kernel heap, causing a denial‑of-service for processes that rely on SMB. The vulnerability does not compromise confidentiality or integrity; it attacks availability.

Affected Systems

All Linux kernels that include the SMB client and have not integrated the patch that moves the MAX_COMPOUND check before buffer allocation are impacted. This spans any distribution shipping the unpatched kernel and any custom kernel build retaining the vulnerable code path. No specific version list is provided, so any unpatched build containing the affected function is at risk. No affected version information is available.

Risk and Exploitability

The EPSS score is reported as less than 1 % and the flaw is not listed in the CISA KEV catalog, indicating a low probability of widespread exploitation. It is inferred that an attacker could trigger the leak by sending crafted SMB packets to a client process listening on the network; each trigger releases a buffer that is never freed, and repeated exploitation could deplete system memory. Because the flaw requires network interaction, the attack vector is remote SMB. The CVSS score of 5.5 classifies the vulnerability as moderate severity; the primary risk remains availability, with no impact on confidentiality or integrity.

Generated by OpenCVE AI on August 5, 2026 at 00:32 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Install a Linux kernel that includes the commit moving the MAX_COMPOUND check before allocating the temporary buffer.
  • If the distribution cannot provide the updated kernel immediately, apply the patch from the referenced Git repository commits and rebuild the kernel manually.
  • Monitor memory usage of the SMB client and system heap; if abnormal growth occurs, restart the SMB client service or reboot the system to recover leaked memory while awaiting the patch.

Generated by OpenCVE AI on August 5, 2026 at 00:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4717-1 linux security update
Debian DLA Debian DLA DLA-4720-1 linux security update
Debian DLA Debian DLA DLA-4723-1 linux-6.1 security update
Debian DLA Debian DLA DLA-4724-1 linux-6.12 new package
History

Tue, 04 Aug 2026 15:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Thu, 30 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-772
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Tue, 28 Jul 2026 16:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Sat, 25 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: smb: client: Fix next buffer leak in receive_encrypted_standard() receive_encrypted_standard() allocates next_buffer before checking whether the number of compound PDUs already reached MAX_COMPOUND. If the limit check fails, the function returns immediately and the newly allocated next_buffer is not assigned to server->smallbuf/server->bigbuf, making it leaked. Move the MAX_COMPOUND check before allocating next_buffer.
Title smb: client: Fix next buffer leak in receive_encrypted_standard()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-25T08:50:31.209Z

Reserved: 2026-07-19T15:36:31.784Z

Link: CVE-2026-64381

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-07-25T10:17:21.347

Modified: 2026-08-11T15:01:50.637

Link: CVE-2026-64381

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-25T00:00:00Z

Links: CVE-2026-64381 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T00:45:03Z

Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime