smb/client: fix out-of-bounds read in symlink_data()
Summary
| CVE | CVE-2026-46185 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-05-28 10:16:34 UTC |
| Updated | 2026-05-30 11:17:25 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 9.1 CRITICAL from 416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
EPSS: 0.000180000 probability, percentile 0.051640000 (date 2026-05-29)
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 9.1 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| 3.1 | CNA | DECLARED | 9.1 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
NoneAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 76894f3e2f71177747b8b4763fb180e800279585 ef6495d4df6e7af8f3de67e65150881c880f696c git | Not specified |
| CNA | Linux | Linux | affected 76894f3e2f71177747b8b4763fb180e800279585 15dc0a4de743a1aaa7b859b3aea79f08c695396c git | Not specified |
| CNA | Linux | Linux | affected 76894f3e2f71177747b8b4763fb180e800279585 b8c8a704f0bc133deb171f6aeb6f3a684203e212 git | Not specified |
| CNA | Linux | Linux | affected 76894f3e2f71177747b8b4763fb180e800279585 b9561402489d41149f63e001a74384863b7b30a6 git | Not specified |
| CNA | Linux | Linux | affected 76894f3e2f71177747b8b4763fb180e800279585 d62b8d236fab503c6fec1d3e9a38bea71feaca20 git | Not specified |
| CNA | Linux | Linux | affected 2d046892a493d9760c35fdaefc3017f27f91b621 git | Not specified |
| CNA | Linux | Linux | affected 6.0.16 6.1 semver | Not specified |
| CNA | Linux | Linux | affected 6.1 | Not specified |
| CNA | Linux | Linux | unaffected 6.1 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.140 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.88 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.30 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.0.7 7.0.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.1-rc3 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/b9561402489d41149f63e001a74384863b7b30a6 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/d62b8d236fab503c6fec1d3e9a38bea71feaca20 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/b8c8a704f0bc133deb171f6aeb6f3a684203e212 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/15dc0a4de743a1aaa7b859b3aea79f08c695396c | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/ef6495d4df6e7af8f3de67e65150881c880f696c | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.