CVE-2026-31613: smb: client: fix OOB reads parsing symlink error response
Noroxi assessment
Priority: Monitor (action score 32/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.38% (FIRST EPSS).
- Anyone who can reach it over the internet can trigger it. No account or password is required. A user must open a link or visit a page. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 043834e72337ee7b4e9685859888623ba1504ac7, 20ac98f0eb6047edb73c9a27af782bdde08b3757, 3df690bba28edec865cf7190be10708ad0ddd67e.
Low priority for now. Upgrade to Linux Linux 043834e72337ee7b4e9685859888623ba1504ac7, 20ac98f0eb6047edb73c9a27af782bdde08b3757, 3df690bba28edec865cf7190be10708ad0ddd67e or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix OOB reads parsing symlink error response When a CREATE returns STATUS_STOPPED_ON_SYMLINK, smb2_check_message() returns success without any length validation, leaving the symlink parsers as the only defense against an untrusted server. symlink_data() walks SMB 3.1.1 error contexts with the loop test "p < end", but reads p->ErrorId at offset 4 and p->ErrorDataLength at offset 0. When the server-controlled ErrorDataLength advances p to within 1-7 bytes of end, the next iteration will read past it. When the matching context is found, sym->SymLinkErrorTag is read at offset 4 from p->ErrorContextData with no check that the symlink header itself fits. smb2_parse_symlink_response() then bounds-checks the substitute name using SMB2_SYMLINK_STRUCT_SIZE as the offset of PathBuffer from iov_base. That value is computed as sizeof(smb2_err_rsp) + sizeof(smb2_symlink_err_rsp), which is correct only when ErrorContextCount == 0. With at least one error context the symlink data sits 8 bytes deeper, and each skipped non-matching context shifts it further by 8 + ALIGN(ErrorDataLength, 8). The check is too short, allowing the substitute name read to run past iov_len. The out-of-bound heap bytes are UTF-16-decoded into the symlink target and returned to userspace via readlink(2). Fix this all up by making the loops test require the full context header to fit, rejecting sym if its header runs past end, and bound the substitute name against the actual position of sym->PathBuffer rather than a fixed offset. Because sub_offs and sub_len are 16bits, the pointer math will not overflow here with the new greater-than.
- BDU:2026-12586
- ALSA-2026:23329
- ALSA-2026:24381
- ALSA-2026:25120
- ALSA-2026:25121
- RHSA-2026:23329
- RHSA-2026:24381
- RHSA-2026:25120
- RHSA-2026:25121
- RHSA-2026:40068
- RHSA-2026:40760
- RHSA-2026:44385
- RHSA-2026:47633
- RHSA-2026:52764
- RHSA-2026:77218
- RLSA-2026:25120
- RLSA-2026:25121
- RXSA-2026:25121
- SUSE-SU-2026:22043-1
- SUSE-SU-2026:22048-1
- Published
- Apr 24, 2026
- Updated
- Nov 11, 2026
- EPSS
- 0.3% · 33th percentile
- CWE
- CWE-125
Report tools
Action score
32
Low priority for now.
- CVSS
- 32 / 40 · 8.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.3%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · Linux
- 8.1
- NVD has not scored this yet; the score shown is the CNA’s.
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 2d046892a493d9760c35fdaefc3017f27f91b621, 6.1affected
- 76894f3e2f71177747b8b4763fb180e800279585 and later · before 043834e72337ee7b4e9685859888623ba1504ac7affected · git
- 76894f3e2f71177747b8b4763fb180e800279585 and later · before d65a64755a3df68a2fd19d2a81395e9f723aca23affected · git
- 76894f3e2f71177747b8b4763fb180e800279585 and later · before 20ac98f0eb6047edb73c9a27af782bdde08b3757affected · git
- 76894f3e2f71177747b8b4763fb180e800279585 and later · before e0dd90d14cbbf318157ea8e3fb62ee68a28655edaffected · git
- 76894f3e2f71177747b8b4763fb180e800279585 and later · before 781902e069f4ecb6c3b83502f181972c1446110aaffected · git
- 76894f3e2f71177747b8b4763fb180e800279585 and later · before a66ef2e7ed837325c5600f8617d5ee0a0a149fddaffected · git
- 76894f3e2f71177747b8b4763fb180e800279585 and later · before 3df690bba28edec865cf7190be10708ad0ddd67eaffected · git
- 6.0.16 and later · before 6.1affected · semver
- before 6.1not affected · semver
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernel6.1 and later · before 6.18.24
- linux linux kernel6.19 and later · before 6.19.14
- linux linux kernel7.0 and later · before 7.0.1
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:10 | kernel | before 6.12.0-211.20.1.el10_2 | 6.12.0-211.20.1.el10_2 |
| AlmaLinux:10 | kernel-64k | before 6.12.0-211.20.1.el10_2 | 6.12.0-211.20.1.el10_2 |
| AlmaLinux:10 | kernel-64k-core | before 6.12.0-211.20.1.el10_2 | 6.12.0-211.20.1.el10_2 |
| AlmaLinux:10 | kernel-64k-debug | before 6.12.0-211.20.1.el10_2 | 6.12.0-211.20.1.el10_2 |
| AlmaLinux:10 | kernel-64k-debug-core | before 6.12.0-211.20.1.el10_2 | 6.12.0-211.20.1.el10_2 |
| AlmaLinux:10 | kernel-64k-debug-devel | before 6.12.0-211.20.1.el10_2 | 6.12.0-211.20.1.el10_2 |
| AlmaLinux:10 | kernel-64k-debug-devel-matched | before 6.12.0-211.20.1.el10_2 | 6.12.0-211.20.1.el10_2 |
| AlmaLinux:10 | kernel-64k-debug-modules | before 6.12.0-211.20.1.el10_2 | 6.12.0-211.20.1.el10_2 |
| AlmaLinux:10 | kernel-64k-debug-modules-core | before 6.12.0-211.20.1.el10_2 | 6.12.0-211.20.1.el10_2 |
| AlmaLinux:10 | kernel-64k-debug-modules-extra | before 6.12.0-211.20.1.el10_2 | 6.12.0-211.20.1.el10_2 |
| AlmaLinux:10 | kernel-64k-devel | before 6.12.0-211.20.1.el10_2 | 6.12.0-211.20.1.el10_2 |
| AlmaLinux:10 | kernel-64k-devel-matched | before 6.12.0-211.20.1.el10_2 | 6.12.0-211.20.1.el10_2 |
| AlmaLinux:10 | kernel-64k-modules | before 6.12.0-211.20.1.el10_2 | 6.12.0-211.20.1.el10_2 |
| AlmaLinux:10 | kernel-64k-modules-core | before 6.12.0-211.20.1.el10_2 | 6.12.0-211.20.1.el10_2 |
| AlmaLinux:10 | kernel-64k-modules-extra | before 6.12.0-211.20.1.el10_2 | 6.12.0-211.20.1.el10_2 |
| AlmaLinux:10 | kernel-abi-stablelists | before 6.12.0-211.20.1.el10_2 | 6.12.0-211.20.1.el10_2 |
| AlmaLinux:10 | kernel-core | before 6.12.0-211.20.1.el10_2 | 6.12.0-211.20.1.el10_2 |
| AlmaLinux:10 | kernel-cross-headers | before 6.12.0-211.20.1.el10_2 | 6.12.0-211.20.1.el10_2 |
| AlmaLinux:10 | kernel-debug | before 6.12.0-211.20.1.el10_2 | 6.12.0-211.20.1.el10_2 |
| AlmaLinux:10 | kernel-debug-core | before 6.12.0-211.20.1.el10_2 | 6.12.0-211.20.1.el10_2 |
| AlmaLinux:10 | kernel-debug-devel | before 6.12.0-211.20.1.el10_2 | 6.12.0-211.20.1.el10_2 |
| AlmaLinux:10 | kernel-debug-devel-matched | before 6.12.0-211.20.1.el10_2 | 6.12.0-211.20.1.el10_2 |
| AlmaLinux:10 | kernel-debug-modules | before 6.12.0-211.20.1.el10_2 | 6.12.0-211.20.1.el10_2 |
| AlmaLinux:10 | kernel-debug-modules-core | before 6.12.0-211.20.1.el10_2 | 6.12.0-211.20.1.el10_2 |
+96
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2026-31611Apr 24, 2026 · ksmbd: require 3 sub-authorities before reading sub_auth[2]34Monitor
- ← EarlierCVE-2026-31612Apr 24, 2026 · ksmbd: validate EaNameLength in smb2_get_ea()30Monitor
- Later →CVE-2026-31614Apr 24, 2026 · smb: client: fix off-by-8 bounds check in check_wsl_eas()28Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 043834e72337ee7b4e9685859888623ba1504ac7 | Vendor (CNA) |
| Linux Linux | 20ac98f0eb6047edb73c9a27af782bdde08b3757 | Vendor (CNA) |
| Linux Linux | 3df690bba28edec865cf7190be10708ad0ddd67e | Vendor (CNA) |
| Linux Linux | 6.1 | Vendor (CNA) |
| Linux Linux | 781902e069f4ecb6c3b83502f181972c1446110a | Vendor (CNA) |
| Linux Linux | a66ef2e7ed837325c5600f8617d5ee0a0a149fdd | Vendor (CNA) |
| Linux Linux | d65a64755a3df68a2fd19d2a81395e9f723aca23 | Vendor (CNA) |
| Linux Linux | e0dd90d14cbbf318157ea8e3fb62ee68a28655ed | Vendor (CNA) |
| almalinux:kernel | 6.12.0-211.20.1.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k | 6.12.0-211.20.1.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-core | 6.12.0-211.20.1.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-debug | 6.12.0-211.20.1.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-debug-core | 6.12.0-211.20.1.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-debug-devel | 6.12.0-211.20.1.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-debug-devel-matched | 6.12.0-211.20.1.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-debug-modules | 6.12.0-211.20.1.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-debug-modules-core | 6.12.0-211.20.1.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-debug-modules-extra | 6.12.0-211.20.1.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-devel | 6.12.0-211.20.1.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-devel-matched | 6.12.0-211.20.1.el10_2 · AlmaLinux:10 | Package registry (OSV) |
| debian:linux | 6.1.176-1 · Debian:12 | Package registry (OSV) |
| red hat:kernel-64k-debug-debuginfo | 0:6.12.0-211.20.1.el10_2 · Red Hat:enterprise_linux:10.2 | Package registry (OSV) |
| red hat:kernel-64k-debug-devel | 0:6.12.0-211.20.1.el10_2 · Red Hat:enterprise_linux:10.2 | Package registry (OSV) |
| red hat:kernel-64k-debug-devel-matched | 0:6.12.0-211.20.1.el10_2 · Red Hat:enterprise_linux:10.2 | Package registry (OSV) |
| red hat:kernel-64k-debuginfo | 0:6.12.0-211.20.1.el10_2 · Red Hat:enterprise_linux:10.2 | Package registry (OSV) |
| red hat:kernel-64k-devel | 0:6.12.0-211.20.1.el10_2 · Red Hat:enterprise_linux:10.2 | Package registry (OSV) |
| red hat:kernel-64k-devel-matched | 0:6.12.0-211.20.1.el10_2 · Red Hat:enterprise_linux:10.2 | Package registry (OSV) |
| red hat:kernel-debug-debuginfo | 0:6.12.0-211.20.1.el10_2 · Red Hat:enterprise_linux:10.2 | Package registry (OSV) |
| red hat:kernel-debug-devel | 0:6.12.0-211.20.1.el10_2 · Red Hat:enterprise_linux:10.2 | Package registry (OSV) |
| red hat:kernel-debug-devel-matched | 0:6.12.0-211.20.1.el10_2 · Red Hat:enterprise_linux:10.2 | Package registry (OSV) |
+17
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- A user must open a link or visit a page.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-125 · Out-of-bounds ReadCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log (2)
- SSVC exploitation— → none
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (7 more)Show less
- git.kernel.org/stable/c/20ac98f0eb6047edb73c9a27af782bdde08b3757
- git.kernel.org/stable/c/3df690bba28edec865cf7190be10708ad0ddd67e
- git.kernel.org/stable/c/781902e069f4ecb6c3b83502f181972c1446110a
- git.kernel.org/stable/c/a66ef2e7ed837325c5600f8617d5ee0a0a149fdd
- git.kernel.org/stable/c/d65a64755a3df68a2fd19d2a81395e9f723aca23
- git.kernel.org/stable/c/e0dd90d14cbbf318157ea8e3fb62ee68a28655ed
- cert-portal.siemens.com/productcert/html/ssa-784472.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.