CVE-2026-46185
smb/client: fix out-of-bounds read in symlink_data()
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.
INFO
Published Date :
May 28, 2026, 10:16 a.m.
Last Modified :
June 11, 2026, 3:02 a.m.
Remotely Exploit :
Yes !
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | CRITICAL | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Update the Linux kernel.
- Apply the patch for smb/client.
- Validate message lengths in smb2_check_message().
- Ensure err->ByteCount is checked.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-46185.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-46185 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-46185
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-46185 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-46185 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jun. 11, 2026
Action Type Old Value New Value Added CWE CWE-125 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.30 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 7.0.7 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.88 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.140 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.0.16 up to (excluding) 6.1.175 Added Reference Type kernel.org: https://git.kernel.org/stable/c/15dc0a4de743a1aaa7b859b3aea79f08c695396c Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/2be11faf79e49fb8250a181ff0b4d2b2f084af83 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/b8c8a704f0bc133deb171f6aeb6f3a684203e212 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/b9561402489d41149f63e001a74384863b7b30a6 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/d62b8d236fab503c6fec1d3e9a38bea71feaca20 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/ef6495d4df6e7af8f3de67e65150881c880f696c Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 01, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/2be11faf79e49fb8250a181ff0b4d2b2f084af83 -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 30, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 28, 2026
Action Type Old Value New Value Added 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. Added Reference https://git.kernel.org/stable/c/15dc0a4de743a1aaa7b859b3aea79f08c695396c Added Reference https://git.kernel.org/stable/c/b8c8a704f0bc133deb171f6aeb6f3a684203e212 Added Reference https://git.kernel.org/stable/c/b9561402489d41149f63e001a74384863b7b30a6 Added Reference https://git.kernel.org/stable/c/d62b8d236fab503c6fec1d3e9a38bea71feaca20 Added Reference https://git.kernel.org/stable/c/ef6495d4df6e7af8f3de67e65150881c880f696c