CVE-2026-46155 smb/client: fix out-of-bounds read in smb2_compound_op()
A malicious SMB server can trigger an out-of-bounds read in the Linux kernel SMB client, leaking adjacent kernel heap memory.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-46155?
CVE-2026-46155 is a critical vulnerability in Linux kernel, published on 28 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-125
Which versions are affected by CVE-2026-46155?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2026-46155?
Apply the vendor's patch.
Is CVE-2026-46155 being exploited?
There is no known exploitation of CVE-2026-46155 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-88854, BELL-CVE-2026-46155, DEBIAN-CVE-2026-46155, GHSA-r5mc-mc43-5gch, UBUNTU-CVE-2026-46155.