cve.bz

CVE-2026-98318 linux linux

7.8 highEPSS 0.1%Fix available

High (7.8) in linux linux. EPSS 0.1% 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: validate absolute native symlink targets before NT fixups With symlinkroot unset, an absolute target is copied without conversion to an NT drive path. Later code still assumes an NT prefix is present when modifying the target and calculating the print name length. For "/ab", this causes two failures: sym[5] and path[5] are written past their allocations, and plen -= 2 * poff subtracts an assumed 8-byte prefix from a 6-byte UTF-16 target, wrapping u16 plen to 65534. That underflow causes another overflow: memcpy() copies 65534 bytes into a 24-byte buffer. A user with write access to a mounted share can trigger these bugs with default settings. Validate the NT drive prefix, including an ASCII drive letter, before accessing fixed offsets or subtracting the prefix length.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.1% (unchanged from 0.1% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 2nd percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-98318 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-98318?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-98318?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-98318 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.

Badge for a README or a site

CVE-2026-98318

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-98318](https://cve.bz/cve/badge/CVE-2026-98318.svg)](https://cve.bz/cve/CVE-2026-98318)

HTML:

<a href="https://cve.bz/cve/CVE-2026-98318"><img src="https://cve.bz/cve/badge/CVE-2026-98318.svg" alt="CVE-2026-98318"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linuxfrom 6.15.6 before 6.16
Linux6.16 and later

Fixed in

ProductRelease lineFixed in
Linux7.27.2.8
Linuxlater releases7.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian14linux7.2.8-1DEBIAN-CVE-2026-98318
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2026-98318
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2026-98318
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 26 moreno fix listedUBUNTU-CVE-2026-98318
Ubuntu22.04:LTSlinux-riscv, linux-aws-6.2, linux-aws-6.5 and 30 moreno fix listedUBUNTU-CVE-2026-98318
Ubuntu24.04:LTSlinux-aws-7.07.0.0-1017.18~24.04.1UBUNTU-CVE-2026-98318 USN-9020-1
Ubuntu24.04:LTSlinux-azure-fde-7.07.0.0-1019.19~24.04.1UBUNTU-CVE-2026-98318 USN-9020-1
Ubuntu24.04:LTSlinux-gcp-7.07.0.0-1017.19~24.04.1UBUNTU-CVE-2026-98318 USN-9020-1
Ubuntu24.04:LTSlinux-hwe-7.07.0.0-42.42~24.04.1UBUNTU-CVE-2026-98318 USN-8959-1
Ubuntu24.04:LTSlinux-oracle-7.07.0.0-1016.18~24.04.1UBUNTU-CVE-2026-98318 USN-9020-1
Ubuntu24.04:LTSlinux-riscv, linux-oem-6.8, linux-aws-6.14 and 27 moreno fix listedUBUNTU-CVE-2026-98318
Ubuntu24.04:LTSlinux-riscv-7.07.0.0-42.42.1~24.04.1UBUNTU-CVE-2026-98318
Ubuntu26.04:LTSlinux7.0.0-42.42UBUNTU-CVE-2026-98318 USN-8959-1
12 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 31 more0:5.14.0-741.22.1.el9_9RHSA-2026:99135
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 47 more0:5.14.0-741.22.1.el9_9RHSA-2026:99135
Red Hatenterprise_linux:9::crblibperf, rv-debuginfo, perf-debuginfo and 18 more0:5.14.0-741.22.1.el9_9RHSA-2026:99135
Red Hatenterprise_linux:9::nfvkernel-rt, rv-debuginfo, kernel-rt-core and 25 more0:5.14.0-741.22.1.el9_9RHSA-2026:99135
Red Hatenterprise_linux:9::realtimekernel-rt, rv-debuginfo, kernel-rt-64k and 37 more0:5.14.0-741.22.1.el9_9RHSA-2026:99135
Red Hatenterprise_linux:10.3rv, perf, rtla and 89 more0:6.12.0-264.16.1.el10_3RHSA-2026:99133
Red Hatenterprise_linux_eus:10.2rv, perf, rtla and 87 more0:6.12.0-211.75.1.el10_2RHSA-2026:99139
Red Hatrhel_eus:9.8::appstreamrv, perf, rtla and 29 more0:5.14.0-687.67.1.el9_8RHSA-2026:99148
Red Hatrhel_eus:9.8::baseoskernel, kernel-64k, kernel-core and 45 more0:5.14.0-687.67.1.el9_8RHSA-2026:99148
Red Hatrhel_eus:9.8::crblibperf, perf-debuginfo, kernel-debuginfo and 16 more0:5.14.0-687.67.1.el9_8RHSA-2026:99148
Red Hatrhel_eus:9.8::nfvkernel-rt, kernel-rt-core, perf-debuginfo and 18 more0:5.14.0-687.67.1.el9_8RHSA-2026:99148
Red Hatrhel_eus:9.8::realtimekernel-rt, kernel-rt-64k, kernel-rt-core and 35 more0:5.14.0-687.67.1.el9_8RHSA-2026:99148
openSUSETumbleweedkernel-source7.2.10-1.1openSUSE-SU-2026:12131-1
Rocky Linux9rv, perf, rtla and 88 more0:5.14.0-741.22.1.el9_9RLSA-2026:99135
Rocky Linux10rv, perf, rtla and 89 more0:6.12.0-264.16.1.el10_3RLSA-2026:99133
Alpaquitastreamlinux-ltsno fix listedBELL-CVE-2026-98318

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; Rocky Linux's errata, BSD-3-Clause; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat rates this Linux kernel flaw as Important. A flaw was found in the Linux kernel's SMB client: when the symlinkroot mount option is unset, an absolute symbolic link target created on a mounted SMB share is copied without conversion to an NT drive path, while later code still assumes an NT prefix is present when modifying the target and calculating its print name length. This results in out-of-bounds writes past the allocated buffers and an integer underflow that causes a large buffer overflow (a 65534-byte memcpy into a 24-byte buffer). A local user with write access to a mounted SMB share can trigger this flaw using default settings, resulting in a kernel crash (denial of service) or potentially arbitrary code execution. Red Hat Enterprise Linux 9 and 10 streams and Red Hat In-Vehicle OS 2 are affected, and a fix is being pursued for those products. Earlier Red Hat Enterprise Linux 6, 7, and 8 releases, the RHEL 9.2/9.4/9.6 and RHEL 10.0 maintenance streams, and the OpenShift Container Platform RHEL CoreOS 8 and 9 images are not affected because the vulnerable code is not present in them. Red Hat's CVSS score of 7.0 (AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H) differs from the upstream CVEORG score of 7.8 mainly in the assessed attack complexity.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10kernelAffected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernelAffected
Red Hat Enterprise Linux 9kernel-rtNot affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Not affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Affected
Red Hat OpenShift Container Platform 5openshift/ose-rhel-coreos-9Affected

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-98318.

References

Check your stackJSON