CVE-2026-46185

CRITICAL

smb/client: fix out-of-bounds read in symlink_data()

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 9.1
EPSS 0.0051
EPSS Percentile 40.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Details

CWE
CWE-125
Status published
Products (24)
linux/Kernel 6.1.0 - 6.1.175linux
linux/Kernel 6.13.0 - 6.18.30linux
linux/Kernel 6.19.0 - 7.0.7linux
linux/Kernel 6.2.0 - 6.6.140linux
linux/Kernel 6.7.0 - 6.12.88linux
Linux/Linux < 6.1
Linux/Linux 2d046892a493d9760c35fdaefc3017f27f91b621
Linux/Linux 6.0.16 - 6.1
Linux/Linux 6.1
Linux/Linux 6.1.175 - 6.1.*
... and 14 more
Published May 28, 2026
Tracked Since May 28, 2026