CVE-2026-98318 Details
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.
A vulnerability in the Linux kernel's SMB client has been addressed, which involved improper validation of absolute native symlink targets before applying NT-specific modifications. When the symlinkroot option is unset, absolute symlink targets are copied directly without converting them to NT drive paths. Subsequent code assumes an NT prefix is present, leading to buffer overflows. Specifically, the vulnerability allows a user with write access to a mounted share to exploit this flaw under default settings. The issue has been fixed by ensuring the NT drive prefix is validated, including the requirement for an ASCII drive letter, before accessing certain offsets or adjusting for the prefix length.
Users should update to the latest version of the Linux kernel where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/23c240d9509e15f72e4112fc95f0160ab32ec430 | kernel.org | |
| https://git.kernel.org/stable/c/6913ff607c2bc8694193e1fcc40bf16d75f35f16 | kernel.org |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
No affected product data is available for this CVE.
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Modified | kernel.org |
| Oct 7, 2026 | CVE Modified | kernel.org |
| Oct 6, 2026 | New CVE Received | kernel.org |