Description
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.
Published: 2026-10-06
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Patch Now
AI Analysis

Impact

The Linux kernel contains a flaw in the SMB client where a symlink with an absolute target can bypass normal NT drive prefix checks. When the symlinkroot is unset, the target is copied without conversion, and subsequent code assumes an NT prefix is present. This mismatch causes out‑of‑bounds writes into the internal buffer for the symlink path, eventually leading to a large memcpy that overflows a 24‑byte buffer. An attacker who can write to a shared folder can trigger the overflow and potentially gain arbitrary code execution in kernel space.

Affected Systems

Linux kernel, any distribution version that incorporates the vulnerable SMB client code before the patch. The specific product is the core Linux kernel; affected Linux distributions are implied by the inclusion of the kernel code but no particular vendor or version was explicitly listed.

Risk and Exploitability

The vulnerability can be exploited by any user with write privileges on a SMB share that the client mounts. The CVSS score of 7.8 marks this as a high‑severity issue. They can craft a symlink with an absolute target; the client copies the target without ensuring an NT drive prefix, causing subsequent code to miscalculate offsets and underflow the length calculation, which in turn leads to a 24‑byte buffer overflow via a large memcpy. An attacker who succeeds in triggering this overflow could achieve code execution in kernel space and thus root privileges. The EPSS score of <1% indicates a very low probability that the flaw is currently being exploited, and the vulnerability is not yet listed in the CISA KEV catalog, suggesting no publicly known widespread exploitation. Nevertheless, the kernel‑level buffer overflow warrants immediate mitigation through patching.

Generated by OpenCVE AI on October 11, 2026 at 04:11 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel that contains the SMB client symlink validation patch, ensuring the system runs a version acknowledged by vendor documentation.
  • If an immediate kernel upgrade is not feasible, isolate vulnerable hosts from the network or migrate SMB file shares to hosts that run a patched kernel.
  • Reduce the attack surface by removing write privileges for users on the SMB shares that the vulnerable client mounts, or configure the SMB client to enforce symlinkroot checks if the option exists.

Generated by OpenCVE AI on October 11, 2026 at 04:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 11 Oct 2026 00:30:00 +0000


Wed, 07 Oct 2026 09:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-122

Wed, 07 Oct 2026 07:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Tue, 06 Oct 2026 19:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-122

Tue, 06 Oct 2026 17:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Tue, 06 Oct 2026 13:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Tue, 06 Oct 2026 09:00:00 +0000

Type Values Removed Values Added
Description 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.
Title smb: client: validate absolute native symlink targets before NT fixups
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-19T09:17:28.900Z

Reserved: 2026-09-25T10:25:14.340Z

Link: CVE-2026-98318

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-06T09:18:23.670

Modified: 2026-10-19T10:18:33.933

Link: CVE-2026-98318

cve-icon Redhat

Severity : Important

Publid Date: 2026-10-06T00:00:00Z

Links: CVE-2026-98318 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-11T04:15:08Z

Weaknesses