# CVE-2026-46185: smb/client: fix out-of-bounds read in symlink_data()

- 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.53%, higher than 45% of CVEs (2026-12-01)
- Published: 2026-05-28T09:36:39.318Z
- Modified: 2026-10-19T20:18:37.350Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Linux

## Description

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

smb/client: fix out-of-bounds read in symlink_data()

Since smb2_check_message() returns success without length validation for
the symlink error response, in symlink_data() it is possible for
iov->iov_len to be smaller than sizeof(struct smb2_err_rsp). If the buffer
only contains the base SMB2 header (64 bytes), accessing
err->ErrorContextCount (at offset 66) or err->ByteCount later in
symlink_data() will cause an out-of-bounds read.

(As written by CVE List.)

## Affected

- Linux Linux: from 76894f3e2f71177747b8b4763fb180e800279585 before 2be11faf79e49fb8250a181ff0b4d2b2f084af83; from 76894f3e2f71177747b8b4763fb180e800279585 before ef6495d4df6e7af8f3de67e65150881c880f696c; from 76894f3e2f71177747b8b4763fb180e800279585 before 15dc0a4de743a1aaa7b859b3aea79f08c695396c; from 76894f3e2f71177747b8b4763fb180e800279585 before b8c8a704f0bc133deb171f6aeb6f3a684203e212; from 76894f3e2f71177747b8b4763fb180e800279585 before b9561402489d41149f63e001a74384863b7b30a6; from 76894f3e2f71177747b8b4763fb180e800279585 before d62b8d236fab503c6fec1d3e9a38bea71feaca20; 2d046892a493d9760c35fdaefc3017f27f91b621; from 6.0.16 before 6.1; 6.1 (not affected: before 6.1; from 6.1.175 up to 6.1.*; from 6.6.140 up to 6.6.*; from 6.12.88 up to 6.12.*; from 6.18.30 up to 6.18.*; from 7.0.7 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.0.16 before 6.1.175; from 6.2 before 6.6.140; from 6.7 before 6.12.88; from 6.13 before 6.18.30; from 6.19 before 7.0.7; 7.1

## References

- <https://git.kernel.org/stable/c/2be11faf79e49fb8250a181ff0b4d2b2f084af83> (patch)
- <https://git.kernel.org/stable/c/ef6495d4df6e7af8f3de67e65150881c880f696c> (patch)
- <https://git.kernel.org/stable/c/15dc0a4de743a1aaa7b859b3aea79f08c695396c> (patch)
- <https://git.kernel.org/stable/c/b8c8a704f0bc133deb171f6aeb6f3a684203e212> (patch)
- <https://git.kernel.org/stable/c/b9561402489d41149f63e001a74384863b7b30a6> (patch)
- <https://git.kernel.org/stable/c/d62b8d236fab503c6fec1d3e9a38bea71feaca20> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Sources

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

---

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