CVE-2026-46155 Details
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.
An out-of-bounds read vulnerability has been identified in the Linux kernel's SMB client, specifically within the SMB2 compound operation handling. This issue arises when a server sends a truncated response along with a large OutputBufferLength, prematurely terminating the Extended Attribute (EA) list. The vulnerability exists in several Linux kernel versions. The 'check_wsl_eas()' function incorrectly returns success without verifying that the entire OutputBufferLength is accommodated within the I/O vector length. Consequently, the 'smb2_compound_op()' function can inadvertently read beyond the allocated response buffer, leading to a leak of adjacent kernel heap memory.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been patched. Instructions for upgrading the Linux kernel can be found in the official Linux kernel documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/512d33bc8ea4ea5c19728ee118715f4b1f4d1926 | kernel.org | Patch |
| https://git.kernel.org/stable/c/8d09328dfda089675e4c049f3f256064a1d1996b | kernel.org | Patch |
| https://git.kernel.org/stable/c/9b3af35645ff9cd334edc130249f9a2fb2bea25f | kernel.org | Patch |
| https://git.kernel.org/stable/c/a16f70a71be4b5a4eccf39a9bf09b47285f4cb7c | kernel.org | Patch |
| https://git.kernel.org/stable/c/dffb44b2e06a2908e249f0f93156fc987eee1d1c | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.6.32, < 6.6.140 >= 6.9, < 6.12.88 >= 6.13, < 6.18.30 >= 6.19, < 7.0.7 7.1 rc1 7.1 rc2 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 9, 2026 | Initial Analysis | [email protected] |
| May 30, 2026 | CVE Modified | kernel.org |
| May 28, 2026 | New CVE Received | kernel.org |