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

- 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.48%, higher than 42% of CVEs (2026-12-01)
- Published: 2026-05-28T09:36:11.092Z
- Modified: 2026-10-19T20:18:35.750Z
- 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 smb2_compound_op()

If a server sends a truncated response but a large OutputBufferLength, and
terminates the EA list early, check_wsl_eas() returns success without
validating that the entire OutputBufferLength fits within iov_len.

Then smb2_compound_op() does:
    memcpy(idata->wsl.eas, data[0], size[0]);

Where size[0] is OutputBufferLength. If iov_len is smaller than size[0],
memcpy can read beyond the end of the rsp_iov allocation and leak adjacent
kernel heap memory.

(As written by CVE List.)

## Affected

- Linux Linux: from 7449d736bbbd160c76b01b8fcdf72f58a8757d4b before dffb44b2e06a2908e249f0f93156fc987eee1d1c; from ea41367b2a602f602ea6594fc4a310520dcc64f4 before 9b3af35645ff9cd334edc130249f9a2fb2bea25f; from ea41367b2a602f602ea6594fc4a310520dcc64f4 before 512d33bc8ea4ea5c19728ee118715f4b1f4d1926; from ea41367b2a602f602ea6594fc4a310520dcc64f4 before a16f70a71be4b5a4eccf39a9bf09b47285f4cb7c; from ea41367b2a602f602ea6594fc4a310520dcc64f4 before 8d09328dfda089675e4c049f3f256064a1d1996b; from 6.6.32 before 6.6.140; 6.9 (not affected: before 6.9; 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.6.32 before 6.6.140; from 6.9 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/dffb44b2e06a2908e249f0f93156fc987eee1d1c> (patch)
- <https://git.kernel.org/stable/c/9b3af35645ff9cd334edc130249f9a2fb2bea25f> (patch)
- <https://git.kernel.org/stable/c/512d33bc8ea4ea5c19728ee118715f4b1f4d1926> (patch)
- <https://git.kernel.org/stable/c/a16f70a71be4b5a4eccf39a9bf09b47285f4cb7c> (patch)
- <https://git.kernel.org/stable/c/8d09328dfda089675e4c049f3f256064a1d1996b> (patch)

## Sources

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

---

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