What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.12.88, 6.18.30, 6.6.140, 7.0.7. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-46155 or the next vulnerability affects your stack