CVE Catalog

CVE-2026-89634

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel SMB client, the ALIGN() macro in symlink_data() can overflow for ErrorDataLength values near UINT32_MAX (e.g. 0xFFFFFFF9), wrapping to 0. This causes the bounds check to pass and the loop to advance by zero bytes, leaving pointer 'p' pointing into stale data.

Risk Assessment

Possible infinite loop or out-of-bounds read while processing symlinks from an SMB server, which may lead to data disclosure or a hang.

Recommendation

Update the Linux kernel to a version containing the fix that checks the raw ErrorDataLength against remaining space before and after applying ALIGN().

Other vulnerabilities in Linux kernel (SMB client)

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS