CVE-2026-46185 Details
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.
A vulnerability allowing an out-of-bounds read has been identified in the Linux kernel's SMB client. This issue arises in the 'symlink_data()' function, where 'smb2_check_message()' incorrectly reports success without validating the length of the symlink error response. As a result, 'iov->iov_len' can be less than the size of the expected error response structure. If the buffer only includes the basic SMB2 header, accessing certain fields in the error response will lead to reading beyond the allocated buffer, potentially causing memory corruption or leaking sensitive information.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched version are available on the official Linux kernel website.
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/15dc0a4de743a1aaa7b859b3aea79f08c695396c | kernel.org | Patch |
| https://git.kernel.org/stable/c/2be11faf79e49fb8250a181ff0b4d2b2f084af83 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b8c8a704f0bc133deb171f6aeb6f3a684203e212 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b9561402489d41149f63e001a74384863b7b30a6 | kernel.org | Patch |
| https://git.kernel.org/stable/c/d62b8d236fab503c6fec1d3e9a38bea71feaca20 | kernel.org | Patch |
| https://git.kernel.org/stable/c/ef6495d4df6e7af8f3de67e65150881c880f696c | 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.0.16, < 6.1.175 >= 6.2, < 6.6.140 >= 6.7, < 6.12.88 >= 6.13, < 6.18.30 >= 6.19, < 7.0.7 7.1 rc1 7.1 rc2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 11, 2026 | Initial Analysis | [email protected] |
| Jun 1, 2026 | CVE Modified | kernel.org |
| May 30, 2026 | CVE Modified | kernel.org |
| May 28, 2026 | New CVE Received | kernel.org |