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.0052
EPSS Percentile 39.8%
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 (19)
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.*
Linux/Linux 6.12.88 - 6.12.*
Linux/Linux 6.18.30 - 6.18.*
Linux/Linux 6.6.140 - 6.6.*
Linux/Linux 7.0.7 - 7.0.*
Linux/Linux 7.1
... and 9 more
Published May 28, 2026
Tracked Since May 28, 2026