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

smb/client: Fix error code in smb2_aead_req_alloc()

The "*num_sgs" variable is a u32 so "ERR_PTR(*num_sgs)" doesn't work.
We would have to do something similar to the previous line where it's
cast to int and then long. However, it's simpler to store the return in
an int ret variable.

This bug would eventually result in a crash when dereference the invalid
error pointer.
Published: 2026-08-06
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel SMB client module misconstructs an error pointer during AEAD request allocation. When an error occurs, the pointer is dereferenced, causing a kernel OOPS and a system crash. The flaw is a type‑conversion bug unrelated to data exposure, but it results in complete loss of availability for the affected host. An attacker who can trigger the allocation path can force a reboot or halt, disabling services for legitimate users.

Affected Systems

The vulnerability resides in the kernel’s SMB client code. No specific kernel release numbers are listed; therefore any Linux kernel containing the buggy commit before the fix could be affected. Administrators should check their running kernel against the provided Git commit identifiers to determine patch status. Systems that enable SMB client functionality, especially those exposed to untrusted networks, are at risk.

Risk and Exploitability

The CVSS score is not publicly provided and EPSS data is unavailable, but the potential impact remains high. The likely attack vector is the SMB protocol over the network; based on the description, it is inferred that a crafted SMB request forcing the allocation failure can trigger the crash. The vulnerability is not listed in CISA KEV, yet its remote remote attack potential through SMB traffic makes it a moderate‑to‑high risk for availability for hosts with SMB client enabled.

Generated by OpenCVE AI on August 6, 2026 at 08:50 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the commit fixing smb2_aead_req_alloc, as referenced in the provided Git links.
  • If a kernel update cannot be applied immediately, restrict SMB traffic from untrusted networks or disable SMB client functionality to reduce exposure.
  • Continuously monitor kernel OOPS logs for crashes related to smb2_aead_req_alloc and apply the update as soon as it becomes available.

Generated by OpenCVE AI on August 6, 2026 at 08:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 06 Aug 2026 09:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-682

Thu, 06 Aug 2026 07:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: smb/client: Fix error code in smb2_aead_req_alloc() The "*num_sgs" variable is a u32 so "ERR_PTR(*num_sgs)" doesn't work. We would have to do something similar to the previous line where it's cast to int and then long. However, it's simpler to store the return in an int ret variable. This bug would eventually result in a crash when dereference the invalid error pointer.
Title smb/client: Fix error code in smb2_aead_req_alloc()
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-08-06T07:13:52.716Z

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

Link: CVE-2026-64598

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-06T10:00:05Z

Weaknesses