Home/CVE/In the Linux kernel, the following vulnerability has been resolved: smb: client: fix OOB reads parsing symlink error re
CVE

CVE-2026-31613

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix OOB reads parsing symlink error re

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.

HIGH · CVSS 8.1 EPSS 0.00072
Schedule remediation
  • CVSS base score ≥ 7.0
Sigma rules0 YARA rules0
Look this up elsewhere - one-click external pivots
How to read a CVE - triage first, then detect and patch
This page is every public fact about CVE-2026-31613, cross-linked. Its job is to answer one question fast - does this need my attention now? - and then hand you the two things you do about it. Here is how an analyst reads it.
Triage: should I act now? Four signals, and they are not interchangeable:
CVSSseverity - how bad it is IF exploited, 0-10. A high CVSS alone is not urgency; a flaw can be a perfect 10 and never actually be attacked. EPSSprobability - a model’s estimate of the chance it is exploited in the next 30 days, 0-1. This is the “will it actually happen” signal. CISA KEVconfirmed - it is being exploited in the wild right now. The strongest signal on the page; KEV beats any score. Weaponisedavailability - public exploits / PoCs, and especially Metasploit modules rated Excellent / Great. Reliable, packaged exploit code means low-skill attackers can use it today.
How they combine: KEV, or a dependable Metasploit module, means patch now regardless of CVSS. High CVSS + low EPSS + no exploit is real but not an emergency - schedule it. Low CVSS but KEV-listed still gets patched now. The verdict above already weighed these for you; this is how it got there.
Then what - two workflows:
Detectwhen you cannot patch today, follow this CVE to the ATT&CK techniques it enables, then Build a SIEM detection (the green button) - author a rule, test it in Atomic, deploy it. That buys visibility while the patch waits. PatchAffected products / packages tell you if you are exposed; Fixed versions by distribution and Vendor advisories give the exact version that closes it.
Reading order for the panels below: verdict + badges, then Public exploits / Metasploit (is it weaponised), then ATT&CK techniques + Sigma / IDS rules (can I detect it), then Affected products / packages + Fixed versions (am I exposed, what patches it), then Threat actors / IOCs (who uses it), then Scoring & timeline / references (the evidence).

ATT&CK techniques

2

Techniques this CVE enables - linked via CWECAPECATT&CK. High◆ = named directly in ATT&CK or Nuclei templates.

▤ Build a SIEM detection for these techniques

CAPEC attack patterns

1

Attack patterns this CVE enables - the bridge from weakness to ATT&CK technique.

Weakness Classification

Affected Products & Versions

3
linux kernel>= 6.1 and < 6.18.24
linux kernel>= 6.19 and < 6.19.14
linux kernel>= 7.0 and < 7.0.1
📦

Fixed versions by distribution

80
The package version that resolves this CVE on each Linux distribution, from the vendor’s published security data. fixed in shows a patched version exists; open means the package is listed as affected with no fix yet.
rhel 8bpftool fixed in 0:4.18.0-553.132.1.el8_10
rhel 8kernel open
rhel 8kernel-abi-stablelists fixed in 0:4.18.0-553.132.1.el8_10
rhel 8kernel-core fixed in 0:4.18.0-553.132.1.el8_10
rhel 8kernel-debug open
rhel 8kernel-debug-core open
rhel 8kernel-debug-devel fixed in 0:4.18.0-553.132.1.el8_10
rhel 8kernel-debug-modules fixed in 0:4.18.0-553.132.1.el8_10
rhel 8kernel-debug-modules-extra fixed in 0:4.18.0-553.132.1.el8_10
rhel 8kernel-devel fixed in 0:4.18.0-553.132.1.el8_10
rhel 8kernel-modules open
rhel 8kernel-modules-extra open
rhel 8kernel-rt open
rhel 8kernel-rt-core fixed in 0:4.18.0-553.132.1.rt7.473.el8_10
rhel 8kernel-rt-debug fixed in 0:4.18.0-553.132.1.rt7.473.el8_10
rhel 8kernel-rt-debug-core open
rhel 8kernel-rt-debug-devel fixed in 0:4.18.0-553.132.1.rt7.473.el8_10
rhel 8kernel-rt-debug-kvm fixed in 0:4.18.0-553.132.1.rt7.473.el8_10
rhel 8kernel-rt-debug-modules fixed in 0:4.18.0-553.132.1.rt7.473.el8_10
rhel 8kernel-rt-debug-modules-extra open
rhel 8kernel-rt-devel fixed in 0:4.18.0-553.132.1.rt7.473.el8_10
rhel 8kernel-rt-kvm fixed in 0:4.18.0-553.132.1.rt7.473.el8_10
rhel 8kernel-rt-modules fixed in 0:4.18.0-553.132.1.rt7.473.el8_10
rhel 8kernel-rt-modules-extra fixed in 0:4.18.0-553.132.1.rt7.473.el8_10
rhel 8kernel-tools open
rhel 8kernel-tools-libs fixed in 0:4.18.0-553.132.1.el8_10
rhel 8kernel-tools-libs-devel open
rhel 8kernel-zfcpdump fixed in 0:4.18.0-553.132.1.el8_10
rhel 8kernel-zfcpdump-core open
rhel 8kernel-zfcpdump-devel fixed in 0:4.18.0-553.132.1.el8_10
rhel 8kernel-zfcpdump-modules open
rhel 8kernel-zfcpdump-modules-extra open
rhel 8perf open
rhel 8python3-perf fixed in 0:4.18.0-553.132.1.el8_10
rhel 9kernel open
rhel 9kernel-64k open
rhel 9kernel-64k-core open
rhel 9kernel-64k-debug open
rhel 9kernel-64k-debug-core fixed in 0:5.14.0-687.13.1.el9_8
rhel 9kernel-64k-debug-devel open
rhel 9kernel-64k-debug-devel-matched open
rhel 9kernel-64k-debug-modules open
rhel 9kernel-64k-debug-modules-core open
rhel 9kernel-64k-debug-modules-extra fixed in 0:5.14.0-687.13.1.el9_8
rhel 9kernel-64k-devel open
rhel 9kernel-64k-devel-matched open
rhel 9kernel-64k-modules fixed in 0:5.14.0-687.13.1.el9_8
rhel 9kernel-64k-modules-core open
rhel 9kernel-64k-modules-extra fixed in 0:5.14.0-687.13.1.el9_8
rhel 9kernel-abi-stablelists open
rhel 9kernel-core fixed in 0:5.14.0-687.13.1.el9_8
rhel 9kernel-debug fixed in 0:5.14.0-687.13.1.el9_8
rhel 9kernel-debug-core fixed in 0:5.14.0-687.13.1.el9_8
rhel 9kernel-debug-devel fixed in 0:5.14.0-687.13.1.el9_8
rhel 9kernel-debug-devel-matched open
rhel 9kernel-debug-modules fixed in 0:5.14.0-687.13.1.el9_8
rhel 9kernel-debug-modules-core open
rhel 9kernel-debug-modules-extra fixed in 0:5.14.0-687.13.1.el9_8
rhel 9kernel-debug-uki-virt fixed in 0:5.14.0-687.13.1.el9_8
rhel 9kernel-devel open
rhel 9kernel-devel-matched open
rhel 9kernel-modules open
rhel 9kernel-modules-core open
rhel 9kernel-modules-extra open
rhel 9kernel-rt open
rhel 9kernel-rt-64k fixed in 0:5.14.0-687.13.1.el9_8
rhel 9kernel-rt-64k-core open
rhel 9kernel-rt-64k-debug fixed in 0:5.14.0-687.13.1.el9_8
rhel 9kernel-rt-64k-debug-core open
rhel 9kernel-rt-64k-debug-devel open
rhel 9kernel-rt-64k-debug-modules fixed in 0:5.14.0-687.13.1.el9_8
rhel 9kernel-rt-64k-debug-modules-core fixed in 0:5.14.0-687.13.1.el9_8
rhel 9kernel-rt-64k-debug-modules-extra fixed in 0:5.14.0-687.13.1.el9_8
rhel 9kernel-rt-64k-devel open
rhel 9kernel-rt-64k-modules open
rhel 9kernel-rt-64k-modules-core open
rhel 9kernel-rt-64k-modules-extra fixed in 0:5.14.0-687.13.1.el9_8
rhel 9kernel-rt-core fixed in 0:5.14.0-687.13.1.el9_8
rhel 9kernel-rt-debug open
rhel 9kernel-rt-debug-core fixed in 0:5.14.0-687.13.1.el9_8

Scoring & Timeline

8.1
HIGH · CVSS v3.1 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View on NVD
Attack Vector
Network Adjacent Local Physical
Attack Complexity
Low High
Privileges Required
None Low High
User Interaction
None Required
Scope
Unchanged Changed
Confidentiality
None Low High
Integrity
None Low High
Availability
None Low High
Published to NVD24 Apr 2026 · 03:16 PM
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H

Vendor Advisories

9
suse-csafSUSE-SU-2026:2310-1
suse-csafopenSUSE-SU-2026:20912-1
suse-csafSUSE-SU-2026:22048-1
rhsaRHSA-2026:25120Important
rhsaRHSA-2026:25121Important
SOC and Response
CVE triage
Stack monitoring
Am I affected
IOC triage
KEV catalog
Daily brief
Change tracking
Detection Engineering
Coverage workspace
Detection coverage
Coverage check
Telemetry ceiling
SIEM query builder
Sigma rules
SIEM rules
YARA rules
Network rules
D3FEND
Threat Hunting
Threat actors
ATT&CK techniques
Attack paths
Indicators
Atomic tests
Red Team and Pentest
Exploitability triage
Recon pack
Attack paths
CAPEC patterns
Adversary emulation
Compliance and GRC
Framework mapping
Control assessment
Audit view
Coverage report
Atlas Search Threat actors Techniques Tools & malware CWE CAPEC KEV catalog Package vulns TAXII feed Data sources
About All capabilities Pricing API docs Live statistics Live status Privacy policy Terms of service
threatengine.sh