CVE-2026-31613
linux linux kernel
Patch priority
RegularFix with the next regular update.
- CVSS
- 8.1
- Severity
- 8.1
- EPSS
- 0.4 %
- Percentile
- 37
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Everyone who uses Linux-Kernel.
How dangerous is it?
- Attackable over the network – including from the internet if the device or service is reachable there.
- No login is needed for it.
- It only works if someone plays along – e.g. opens a link or a file.
What to do?
- Include it in your next regular update.
- Install your distribution’s kernel update and reboot – the new kernel only runs after a restart.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDIn 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.
- Vendor / product
- linux linux kernel
- Published
- 24.04.2026
- Modified
- 12.11.2026
- CWE
- CWE-125
- Status
- Modified
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Vendor updates
48- Red Hat: RHSA-2026:77218 – RHSA-2026:77218 kernel security update 07.10.2026 · Patch day
- Ubuntu: USN-8665-1 – Linux kernel (Raspberry Pi) vulnerabilities 21.08.2026 · Critical · Patch day
- Red Hat: RHSA-2026:52764 – RHSA-2026:52764 kernel security update 10.08.2026 · Patch day
- Red Hat: RHSA-2026:47633 – RHSA-2026:47633 kernel security update 30.07.2026 · Patch day
- Ubuntu: USN-8619-1 – Linux kernel (HWE) vulnerabilities 28.07.2026 · Critical · Patch day
- Ubuntu: USN-8595-3 – Linux kernel (AWS) vulnerabilities 28.07.2026 · Critical · Patch day
- Ubuntu: USN-8574-3 – Linux kernel vulnerabilities 28.07.2026 · Critical · Patch day
- Ubuntu: USN-8609-1 – Linux kernel (Azure CVM) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8608-1 – Linux kernel (Azure FIPS) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8607-1 – Linux kernel (Azure CVM) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8606-1 – Linux kernel (Azure) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8595-2 – Linux kernel (AWS) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8603-1 – Linux kernel (Azure) vulnerabilities 24.07.2026 · Critical · Patch day
- Red Hat: RHSA-2026:44385 – RHSA-2026:44385 kernel security update 23.07.2026 · Patch day
- Ubuntu: USN-8596-1 – Linux kernel (NVIDIA) vulnerabilities 23.07.2026 · Critical · Patch day
- Ubuntu: USN-8595-1 – Linux kernel (Oracle) vulnerabilities 23.07.2026 · Critical · Patch day
- Ubuntu: USN-8574-2 – Linux kernel vulnerabilities 23.07.2026 · Critical · Patch day
- Ubuntu: USN-8574-1 – Linux kernel (GCP FIPS) vulnerabilities 21.07.2026 · Critical · Patch day
- Ubuntu: USN-8569-1 – Linux kernel (HWE) vulnerabilities 20.07.2026 · Critical · Patch day
- Ubuntu: USN-8567-1 – Linux kernel vulnerabilities 20.07.2026 · Critical · Patch day
- Red Hat: RHSA-2026:40760 – RHSA-2026:40760 kernel security update 16.07.2026 · Patch day
- Red Hat: RHSA-2026:40068 – RHSA-2026:40068 kernel security update 15.07.2026 · Patch day
- Ubuntu: USN-8507-1 – Linux kernel (NVIDIA) vulnerabilities 06.07.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:22458-1 – Security update for the Linux Kernel 03.07.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:22394-1 – Security update for the Linux Kernel 03.07.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:22433-1 – Security update for the Linux Kernel 03.07.2026 · Critical · Patch day
- Ubuntu: USN-8488-2 – Linux kernel (Raspberry Pi) vulnerabilities 02.07.2026 · Critical · Patch day
- Ubuntu: USN-8488-1 – Linux kernel vulnerabilities 01.07.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:2658-1 – Security update for the Linux Kernel 26.06.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:2638-1 – Security update for the Linux Kernel 26.06.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:2630-1 – Security update for the Linux Kernel 25.06.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:2631-1 – Security update for the Linux Kernel 25.06.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:2591-1 – Security update for the Linux Kernel 23.06.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:2482-1 – Security update for the Linux Kernel 22.06.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:22137-1 – Security update for the Linux Kernel 17.06.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:22140-1 – Security update for the Linux Kernel 17.06.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:22100-1 – Security update for the Linux Kernel 16.06.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:22108-1 – Security update for the Linux Kernel 16.06.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:22076-1 – Security update for the Linux Kernel 15.06.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:22087-1 – Security update for the Linux Kernel 15.06.2026 · Critical · Patch day
- Red Hat: RHSA-2026:25121 – RHSA-2026:25121 kernel security update 11.06.2026 · Patch day
- Red Hat: RHSA-2026:25120 – RHSA-2026:25120 kernel-rt security update 10.06.2026 · Patch day
- SUSE: SUSE-SU-2026:22043-1 – Security update for the Linux Kernel 09.06.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:22048-1 – Security update for the Linux Kernel 09.06.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:2310-1 – Security update for the Linux Kernel 09.06.2026 · Critical · Patch day
- Red Hat: RHSA-2026:24381 – RHSA-2026:24381 kernel security update 08.06.2026 · Patch day
- Red Hat: RHSA-2026:23329 – RHSA-2026:23329 kernel security update 04.06.2026 · Patch day
- Microsoft: Mariner 27.04.2026 · High · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.