← All Advisories
Reported from OT-Advisories.com as of

Linux Linux Kernel Out-Of-Bounds Read Exposed to Unauthenticated Network Attackers

Last refreshed2026-10-15

Status: UPDATED  |  Advisory ID: CVE-2026-31613

Key Details

CVECVE-2026-31613
CVSS Score / Version
8.1 (High) / CVSS v3.1
Updated2026-10-15
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
CVSS Prose
attack vector is network; attack complexity is low; privileges required is none; user interaction is required; scope is unchanged; confidentiality impact is high; integrity impact is none; availability impact is high.
Affected products
Linux Kernel and Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
Classified as
CWE-125 (Out-of-bounds Read)
Exploitation prediction (EPSS)
0.39% probability of exploitation in the next 30 days (31% percentile) -- FIRST.org's EPSS model.

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
LinuxLinux Kernel
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem
SubsystemsControllers & Field I/O, OT Supporting Infrastructure
SectorsAll Sectors

What to Know

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. (NVD)

What to Do

Monitor Linux's and Siemens's web pages for any future patch releases.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-31613
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-31613
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.