VDB

CVE-2026-98318

CVE-2026-98318 PUBLISHED CVSS 7.8 HIGH

smb: client: validate absolute native symlink targets before NT fixups

Reported by linux · Published October 6, 2026

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.

EPSS 0.12% · 1.9th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-debug-moduleserrata.rockylinux.org0:6.12.0-264.16.1.el10_3.s390x, 0:6.12.0-264.16.1.el10_3.aarch64
kernel-debug-modules-extraerrata.rockylinux.org0:6.12.0-264.16.1.el10_3.s390x, 0:6.12.0-264.16.1.el10_3.aarch64
rtlaerrata.rockylinux.org0:6.12.0-264.16.1.el10_3.s390x, 0:6.12.0-264.16.1.el10_3.ppc64le
kernel-64k-modules-coreerrata.rockylinux.org0:6.12.0-264.16.1.el10_3.aarch64
kernel-64k-debuginfoerrata.rockylinux.org0:6.12.0-264.16.1.el10_3.aarch64
kernel-64k-modules-extraerrata.rockylinux.org0:6.12.0-264.16.1.el10_3.aarch64
kernel6.18-modules-extra-commonAmazon Linux1:6.18.56-126.188.amzn2023
perferrata.rockylinux.org0:6.12.0-264.16.1.el10_3.x86_64, 0:6.12.0-264.16.1.el10_3.aarch64
kernel-debug-modules-coreerrata.rockylinux.org0:6.12.0-264.16.1.el10_3.ppc64le
kernel-tools-debuginfoerrata.rockylinux.org0:6.12.0-264.16.1.el10_3.ppc64le, 0:6.12.0-264.16.1.el10_3.aarch64
kernel-debug-devel-matchederrata.rockylinux.org0:6.12.0-264.16.1.el10_3.aarch64
kernel-debug-coreerrata.rockylinux.org0:6.12.0-264.16.1.el10_3.ppc64le

10 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score
0.12%
1.9th percentile

Affected products

VendorProductVersions
LinuxLinux3363da82e02f1bddc54faa92ea430c6532e2cd2e, 3363da82e02f1bddc54faa92ea430c6532e2cd2e, b6ea7b6c6be65149ab6b8e37a9dd1671f76add1b
LinuxLinux6.16, 0, 7.2.8
amazon:2023kernel6.18-modules-extra-common0
linuxlinux_kernel6.16, 6.16, 6.15.6
amazon:2023kernel6.18-headers0
amazon:2023perf6.180
LinuxLinux3363da82e02f1bddc54faa92ea430c6532e2cd2e, 3363da82e02f1bddc54faa92ea430c6532e2cd2e, *
amazon:2023kernel-livepatch-6.18.56-126.1880
amazon:2023bpftool6.180
amazon:2023kernel6.18-tools0
amazon:2023kernel6.180
amazon:2023python3-perf6.180
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.18-devel0
amazon:2023microvm-kernel6.180

Timeline

  • Oct 6, 2026 EPSS Score (4 in total, the first dated here)
  • Oct 6, 2026 Coalition ESS Score
  • Oct 6, 2026 CVE Published
  • Oct 19, 2026 CVE Updated
  • Nov 12, 2026 Distribution Patch (5 in total, the first dated here)
  • Nov 12, 2026 Security Advisory (5 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-98318
vulnetix vdb fixes CVE-2026-98318

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98318/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›