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

smb: client: fix ALIGN() overflow in symlink_data() error context loop

The check added by commit 7d9a7f1f96cd ("smb/client: fix possible
infinite loop and oob read in symlink_data()") compared the post-ALIGN
length against the remaining buffer, but ALIGN() itself can overflow:
for ErrorDataLength near UINT32_MAX (e.g. 0xFFFFFFF9), ALIGN(x, 8)
wraps to 0, so the subsequent bounds check passes, and the loop
advances by zero bytes leaving 'p' pointing into stale data.

Fix by checking the raw ErrorDataLength against the remaining space
before applying ALIGN(), then checking again after. Since raw_len is
bounded by the buffer, raw_len + 7 cannot overflow, so the second check
is an exact post-alignment bounds guard.
Published: 2026-09-11
Score: 5.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Out‑of‑bounds read
Action: Patch
AI Analysis

Impact

The Linux kernel SMB client contains a loop that processes symlink error data. When the error data length is close to the maximum 32‑bit value, the ALIGN() helper can overflow to zero. This causes the bounds check to pass and the loop to advance by zero bytes, leaving the internal pointer on stale data and allowing the kernel to read memory beyond the intended buffer. The flaw does not provide a direct path memory contents or trigger a kernel panic, affecting confidentiality and availability.

Affected Systems

All Linux kernel distributions that include introduced by commit 7d9a7f1f96cd. The vulnerability applies to any kernel that has not incorporated this commit, regardless of the distribution, as it touches core SMB client code.

Risk and Exploitability

The CVSS score of 5.4 rates the issue as moderate severity, while the EPSS score of less than 1% indicates a low probability of exploitation at present. The vulnerability is not listed in CISA’s KEV catalog, implying no known active exploitation. An attacker would need to control an SMB server that can send an error packet with an ErrorDataLength near the 32‑bit maximum to a vulnerable SMB client. Successful exploitation would result in an out‑of‑bounds memory read, potentially exposing sensitive data or causing a denial of service.

Generated by OpenCVE AI on September 12, 2026 at 22:36 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes commit 7d9a7f1f96cd, which replaces the vulnerable code.
  • If a kernel update is unavailable, block inbound SMB traffic on port 445 or disable the SMB client service to eliminate the attack surface.
  • Enable additional memory protection mechanisms such as KASLR and guard pages, and monitor kernel logs for abnormal SMB error handling activity.

Generated by OpenCVE AI on September 12, 2026 at 22:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 12 Sep 2026 00:15:00 +0000

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

None

cvssV3_1

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

threat_severity

Important


Fri, 11 Sep 2026 23:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: smb: client: fix ALIGN() overflow in symlink_data() error context loop The check added by commit 7d9a7f1f96cd ("smb/client: fix possible infinite loop and oob read in symlink_data()") compared the post-ALIGN length against the remaining buffer, but ALIGN() itself can overflow: for ErrorDataLength near UINT32_MAX (e.g. 0xFFFFFFF9), ALIGN(x, 8) wraps to 0, so the subsequent bounds check passes, and the loop advances by zero bytes leaving 'p' pointing into stale data. Fix by checking the raw ErrorDataLength against the remaining space before applying ALIGN(), then checking again after. Since raw_len is bounded by the buffer, raw_len + 7 cannot overflow, so the second check is an exact post-alignment bounds guard.
Title smb: client: fix ALIGN() overflow in symlink_data() error context loop
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-09-11T19:45:28.823Z

Reserved: 2026-09-11T19:38:34.739Z

Link: CVE-2026-89634

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-11T20:19:49.010

Modified: 2026-09-11T20:19:49.010

Link: CVE-2026-89634

cve-icon Redhat

Severity : Important

Publid Date: 2026-09-11T19:45:28Z

Links: CVE-2026-89634 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-13T04:00:08Z

Weaknesses