cve.bz

CVE-2026-31613 linux linux kernel: Out-of-bounds Read

8.1 highEPSS 0.4%Fix available

High (8.1) in linux linux kernel. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 33rd percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-10-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-31613 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-31613?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-31613?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-31613 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linuxfrom 6.0.16 before 6.1
Linux6.1 and later

Fixed in

ProductRelease lineFixed in
Linux6.16.1.175
Linux6.66.6.141
Linux6.126.12.91
Linux6.186.18.24
Linux6.196.19.14
Linux7.07.0.1
Linuxlater releases7.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12linux6.1.176-1DEBIAN-CVE-2026-31613
Debian13linux6.12.94-1DEBIAN-CVE-2026-31613
Debian14linux6.19.14-1DEBIAN-CVE-2026-31613
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2026-31613
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2026-31613
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 26 moreno fix listedUBUNTU-CVE-2026-31613
Ubuntu22.04:LTSlinux-aws-6.86.8.0-1061.64~22.04.1UBUNTU-CVE-2026-31613 USN-8595-3
Ubuntu22.04:LTSlinux-azure, linux-riscv, linux-aws-6.2 and 32 moreno fix listedUBUNTU-CVE-2026-31613
Ubuntu22.04:LTSlinux-azure-6.86.8.0-1063.71~22.04.1UBUNTU-CVE-2026-31613 USN-8606-1
Ubuntu22.04:LTSlinux-azure-fde-6.86.8.0-1062.69~22.04.1UBUNTU-CVE-2026-31613 USN-8609-1
Ubuntu22.04:LTSlinux-gcp-6.86.8.0-1064.72~22.04.1UBUNTU-CVE-2026-31613 USN-8567-1
Ubuntu22.04:LTSlinux-hwe-6.86.8.0-136.136~22.04.1UBUNTU-CVE-2026-31613 USN-8619-1
Ubuntu22.04:LTSlinux-ibm-6.86.8.0-1061.62~22.04.1UBUNTU-CVE-2026-31613 USN-8574-3
Ubuntu22.04:LTSlinux-lowlatency-hwe-6.86.8.0-136.136.2~22.04.1UBUNTU-CVE-2026-31613 USN-8574-2
Ubuntu22.04:LTSlinux-nvidia-6.86.8.0-1059.62~22.04.1UBUNTU-CVE-2026-31613 USN-8596-1
40 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-553.132.1.el8_10RHSA-2026:25121
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-553.132.1.el8_10RHSA-2026:25121
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-553.132.1.rt7.473.el8_10RHSA-2026:25120
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-553.132.1.rt7.473.el8_10RHSA-2026:25120
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 29 more0:5.14.0-687.13.1.el9_8RHSA-2026:24381
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 45 more0:5.14.0-687.13.1.el9_8RHSA-2026:24381
Red Hatenterprise_linux:9::crblibperf, perf-debuginfo, kernel-debuginfo and 16 more0:5.14.0-687.13.1.el9_8RHSA-2026:24381
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-core, perf-debuginfo and 18 more0:5.14.0-687.13.1.el9_8RHSA-2026:24381
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-64k, kernel-rt-core and 35 more0:5.14.0-687.13.1.el9_8RHSA-2026:24381
Red Hatenterprise_linux:10.2rv, perf, rtla and 87 more0:6.12.0-211.20.1.el10_2RHSA-2026:23329
Red Hatenterprise_linux_eus:10.0rv, perf, rtla and 88 more0:6.12.0-55.95.1.el10_0RHSA-2026:52764
Red Hatrhel_aus:8.4::baseos, rhel_eus_long_life:8.4::baseosperf, kernel, bpftool and 21 more0:4.18.0-305.199.1.el8_4RHSA-2026:47633
14 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4kernel-default5.14.21-150400.24.225.2SUSE-SU-2026:2638-1
SUSELinux Enterprise High Availability Extension 15 SP6, Linux Enterprise Live Patching 15 SP6kernel-default6.4.0-150600.23.115.1SUSE-SU-2026:2310-1
SUSELinux Enterprise High Availability Extension 15 SP7, Linux Enterprise Live Patching 15 SP7, Linux Enterprise Module for Legacy 15 SP7 and 1 morekernel-default6.4.0-150700.53.60.1SUSE-SU-2026:2482-1
SUSELinux Enterprise High Availability Extension 16.0kernel-default6.12.0-160000.34.1SUSE-SU-2026:22076-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSSkernel-64kb, kernel-source, kernel-default and 1 more5.14.21-150400.24.225.2SUSE-SU-2026:2638-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 3 morekernel-default-base5.14.21-150400.24.225.2.150400.24.114.2SUSE-SU-2026:2638-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 1 morekernel-docs, kernel-syms5.14.21-150400.24.225.1SUSE-SU-2026:2638-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSSkernel-64kb, kernel-source, kernel-default and 1 more5.14.21-150500.55.172.2SUSE-SU-2026:2658-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Micro 5.5 and 2 morekernel-default-base5.14.21-150500.55.172.2.150500.6.81.2SUSE-SU-2026:2658-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Server 15 SP5-LTSS and 1 morekernel-docs, kernel-syms5.14.21-150500.55.172.1SUSE-SU-2026:2658-1
SUSELinux Enterprise Live Patching 15 SP4kernel-livepatch-SLE15-SP4_Update_561-150400.9.3.2SUSE-SU-2026:2638-1
SUSELinux Enterprise Live Patching 15 SP5kernel-default5.14.21-150500.55.172.2SUSE-SU-2026:2658-1
33 more for SUSE in the JSON and on SUSE's page.
openSUSETumbleweedkernel-source7.0.3-1.1openSUSE-SU-2026:10703-1
AlmaLinux8kernel-rt, kernel-rt-core, kernel-rt-debug and 7 more4.18.0-553.132.1.rt7.473.el8_10ALSA-2026:25120
AlmaLinux8perf, kernel, bpftool and 22 more4.18.0-553.132.1.el8_10ALSA-2026:25121
AlmaLinux9rv, perf, rtla and 71 more5.14.0-687.13.1.el9_8ALSA-2026:24381
AlmaLinux10rv, perf, rtla and 72 more6.12.0-211.20.1.el10_2ALSA-2026:23329
Rocky Linux8kernel0:4.18.0-553.132.1.el8_10RLSA-2026:25121
Rocky Linux8kernel0:4.18.0-553.132.1.el8_10.cloud.0.1RXSA-2026:25121
Rocky Linux8kernel-rt0:4.18.0-553.132.1.rt7.473.el8_10RLSA-2026:25120
Azure Linux3kernel6.6.141.1-1AZL-83774
Alpaquita23linux-lts6.1.175-r0BELL-CVE-2026-31613
Alpaquita25linux-lts6.12.92-r0BELL-CVE-2026-31613
Alpaquitastreamlinux-lts6.18.35-r1BELL-CVE-2026-31613

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated as Moderate severity because exploitation requires an affected client to connect to a malicious or compromised SMB server, limiting the blast radius to environments interacting with untrusted network shares. While an attacker controlling an SMB share can trigger an out-of-bounds read by returning malformed error structures during symbolic link traversal, enterprise deployments do not mount untrusted shares by default. The issue can expose uninitialized kernel heap data to local processes or cause a denial of service, but it does not facilitate arbitrary code execution or state alteration.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10kernel-0:6.12.0-211.20.1.el10_2Fixed 2026-06-04RHSA-2026:23329
Red Hat Enterprise Linux 10.0 Extended Update Supportkernel-0:6.12.0-55.95.1.el10_0Fixed 2026-08-10RHSA-2026:52764
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-553.132.1.rt7.473.el8_10Fixed 2026-06-10RHSA-2026:25120
Red Hat Enterprise Linux 8kernel-0:4.18.0-553.132.1.el8_10Fixed 2026-06-10RHSA-2026:25121
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportkernel-0:4.18.0-305.199.1.el8_4Fixed 2026-07-30RHSA-2026:47633
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onkernel-0:4.18.0-305.199.1.el8_4Fixed 2026-07-30RHSA-2026:47633
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportkernel-0:4.18.0-372.201.1.el8_6Fixed 2026-07-15RHSA-2026:40068
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Onkernel-0:4.18.0-372.201.1.el8_6Fixed 2026-07-15RHSA-2026:40068
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicekernel-0:4.18.0-477.152.1.el8_8Fixed 2026-07-16RHSA-2026:40760
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionskernel-0:4.18.0-477.152.1.el8_8Fixed 2026-07-16RHSA-2026:40760
Red Hat Enterprise Linux 9kernel-0:5.14.0-687.13.1.el9_8Fixed 2026-06-08RHSA-2026:24381
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionskernel-0:5.14.0-427.154.1.el9_4Fixed 2026-10-07RHSA-2026:77218
Red Hat Enterprise Linux 9.6 Extended Update Supportkernel-0:5.14.0-570.129.1.el9_6Fixed 2026-07-23RHSA-2026:44385
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 9kernel-rtAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-31613.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-295-16Siemens SIMATIC S7-1500 TM MFP2026-10-13Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 TM MFP - GNU/Linux subsystemnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON