NetSight
critical9.1

CVE-2026-46185

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 suc…

Impact

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.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 6.0.16 before 6.1.175
from 6.2 before 6.6.140
from 6.7 before 6.12.88
from 6.13 before 6.18.30
from 6.19 before 7.0.7
Version 7.1

Weakness classification

References