# CVE-2026-89634: smb: client: fix ALIGN() overflow in symlink_data() error context loop

- Severity: Critical 9.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.69%, higher than 54% of CVEs (2026-12-01)
- Published: 2026-09-11T19:45:28.823Z
- Modified: 2026-10-19T09:18:00.413Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 76894f3e2f71177747b8b4763fb180e800279585 before 2b4a25baa0b936fef6915c0459925077b324ecaf; from 76894f3e2f71177747b8b4763fb180e800279585 before b89d678f9eafcf8d74885983166ba26b40a04ea0; from 76894f3e2f71177747b8b4763fb180e800279585 before 657372ba6ea50b4474d2a6a610097eae8cd1f3e9; from 76894f3e2f71177747b8b4763fb180e800279585 before 1f824f61d1df52392eaf0b74dfa5659d724fde30; from 76894f3e2f71177747b8b4763fb180e800279585 before 62a3025983c8c735a3c6fc85a59316f31b59af07; from 76894f3e2f71177747b8b4763fb180e800279585 before 62656b024efc21c3230eade1a847f25871c3d2bb; 2d046892a493d9760c35fdaefc3017f27f91b621; from 6.0.16 before 6.1; 6.1 (not affected: before 6.1; from 6.1.188 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.109 up to 6.12.*; from 6.18.50 up to 6.18.*; from 7.2.4 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/2b4a25baa0b936fef6915c0459925077b324ecaf>
- <https://git.kernel.org/stable/c/b89d678f9eafcf8d74885983166ba26b40a04ea0>
- <https://git.kernel.org/stable/c/657372ba6ea50b4474d2a6a610097eae8cd1f3e9>
- <https://git.kernel.org/stable/c/1f824f61d1df52392eaf0b74dfa5659d724fde30>
- <https://git.kernel.org/stable/c/62a3025983c8c735a3c6fc85a59316f31b59af07>
- <https://git.kernel.org/stable/c/62656b024efc21c3230eade1a847f25871c3d2bb>

## Sources

- CVE List: [CVE-2026-89634](https://www.cve.org/CVERecord?id=CVE-2026-89634), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-89634](https://nvd.nist.gov/vuln/detail/CVE-2026-89634), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-89634 · Whole record: https://cve.day/CVE-2026-89634.json · Rebuilt by cve.day 2026-11-25T22:59:38.091Z
