Vulnerability details

CVE-2026-89634

Linux Linux

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

CVSS 3.1
9.1Critical

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

CVSS scores

ScoreVersionSourceVector
9.1Critical 3.1 CVEProject cvelistV5 (CNA) (Linux) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Affected products

VendorProductVersionsSource
Linux Linux 2d046892a493d9760c35fdaefc3017f27f91b621 CVEProject cvelistV5 (CNA)
Linux Linux 6.1 CVEProject cvelistV5 (CNA)
Linux Linux 6.0.16 ≤ v < 6.1 CVEProject cvelistV5 (CNA)
Linux Linux 76894f3e2f71177747b8b4763fb180e800279585 ≤ v < 1f824f61d1df52392eaf0b74dfa5659d724fde30 CVEProject cvelistV5 (CNA)
Linux Linux 76894f3e2f71177747b8b4763fb180e800279585 ≤ v < 2b4a25baa0b936fef6915c0459925077b324ecaf CVEProject cvelistV5 (CNA)
Linux Linux 76894f3e2f71177747b8b4763fb180e800279585 ≤ v < 62656b024efc21c3230eade1a847f25871c3d2bb CVEProject cvelistV5 (CNA)
Linux Linux 76894f3e2f71177747b8b4763fb180e800279585 ≤ v < 62a3025983c8c735a3c6fc85a59316f31b59af07 CVEProject cvelistV5 (CNA)
Linux Linux 76894f3e2f71177747b8b4763fb180e800279585 ≤ v < b89d678f9eafcf8d74885983166ba26b40a04ea0 CVEProject cvelistV5 (CNA)
Linux Linux 76894f3e2f71177747b8b4763fb180e800279585 ≤ v < 657372ba6ea50b4474d2a6a610097eae8cd1f3e9 CVEProject cvelistV5 (CNA)

References and advisories

6
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2026-09-11
Last updated
2026-10-19
State
Published
Assigner (CNA)
Linux

Exploit prediction (EPSS)

0.69%
Probability of exploitation in 30 days
53%
Percentile (among all CVEs)

Weaknesses (CWE)

  • —