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.
Published: 2026-05-28
Score: 9.1 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel’s SMB client contains an unvalidated length check for a symlink error response. A malicious SMB server can reply with only the base SMB2 header, causing the client to read beyond the supplied data when accessing fields such as ErrorContextCount or ByteCount. This out-of-bounds read (CWE-125) can expose adjacent memory contents and potentially leak sensitive data or enable further exploitation.

Affected Systems

All Linux kernel installations that include the buggy SMB client code are vulnerable until the fix is deployed. No specific version range is provided; any kernel prior to the patch commit that still contains the original code is considered affected.

Risk and Exploitability

The flaw carries a CVSS score of 9.1, indicating high severity, and an EPSS score of less than 1%, suggesting a low likelihood of exploitation. It is not listed in the CISA KEV catalog. The primary attack vector requires a remote SMB server capable of sending a crafted symlink error response. While no public exploits are currently documented, the read beyond the boundary delivers a moderate‑to‑high risk pending the development of exploitation code.

Generated by OpenCVE AI on May 30, 2026 at 12:53 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the system to a Linux kernel version that includes the smb/client symlink overread fix referenced in the commit series linked in the references.
  • Reboot or restart the system after applying the kernel update to ensure the new kernel is active.
  • If an upgrade cannot be performed in a timely manner, isolate the host by blocking SMB traffic from untrusted networks or disabling SMB2 client support via kernel configuration or sysctl settings.

Generated by OpenCVE AI on May 30, 2026 at 12:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 11 Jun 2026 03:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*

Mon, 01 Jun 2026 17:00:00 +0000


Sat, 30 May 2026 11:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H'}


Fri, 29 May 2026 03:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-20

Fri, 29 May 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Moderate


Thu, 28 May 2026 12:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-20

Thu, 28 May 2026 10:15:00 +0000

Type Values Removed Values 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.
Title smb/client: fix out-of-bounds read in symlink_data()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-06-14T18:01:04.745Z

Reserved: 2026-05-13T15:03:33.103Z

Link: CVE-2026-46185

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-05-28T10:16:34.117

Modified: 2026-06-11T03:02:31.867

Link: CVE-2026-46185

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-05-28T00:00:00Z

Links: CVE-2026-46185 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-05-30T13:00:12Z

Weaknesses