CVE-2026-46185
Analyzed Analyzed - Analysis Complete
Out-of-Bounds Read in Linux Kernel SMB Client

Publication date: 2026-05-28

Last updated on: 2026-06-11

Assigner: kernel.org

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-28
Last Modified
2026-06-11
Generated
2026-06-17
AI Q&A
2026-05-28
EPSS Evaluated
2026-06-16
NVD
EUVD
Affected Vendors & Products
Showing 7 associated CPEs
Vendor Product Version / Range
linux linux_kernel 7.1
linux linux_kernel 7.1
linux linux_kernel From 6.13 (inc) to 6.18.30 (exc)
linux linux_kernel From 6.19 (inc) to 7.0.7 (exc)
linux linux_kernel From 6.7 (inc) to 6.12.88 (exc)
linux linux_kernel From 6.2 (inc) to 6.6.140 (exc)
linux linux_kernel From 6.0.16 (inc) to 6.1.175 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-125 The product reads data past the end, or before the beginning, of the intended buffer.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability exists in the Linux kernel's SMB client code, specifically in the function symlink_data(). The issue arises because smb2_check_message() returns success without validating the length of the symlink error response. As a result, symlink_data() may attempt to read beyond the bounds of the provided buffer if the buffer is smaller than expected.

More specifically, if the buffer only contains the base SMB2 header (64 bytes), accessing fields such as ErrorContextCount or ByteCount in the error response structure will cause an out-of-bounds read, potentially leading to memory safety issues.

Impact Analysis

This vulnerability can lead to an out-of-bounds read in kernel memory when processing SMB symlink error responses. Such out-of-bounds reads can cause system instability, crashes, or potentially expose sensitive kernel memory contents, which may be leveraged by attackers for further exploitation.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-46185. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart