Linux Kernel Vulnerability in SMB Client Affecting Path Validation
CVE-2026-98318
What is CVE-2026-98318?
A vulnerability in the Linux kernel's SMB client allows for improper validation of absolute symlink targets when the symlinkroot option is unset. This issue arises because an absolute target can be copied without converting it to an NT drive path, leading to potential buffer overflow errors when the system expects an NT prefix that may not exist. Malicious users with write access to a mounted share can exploit this weakness, enabling them to manipulate the system's memory, resulting in unintended behavior or system crashes. It is crucial to validate the NT drive prefix before accessing or modifying file paths to mitigate these risks.
Affected Version(s)
Linux 3363da82e02f1bddc54faa92ea430c6532e2cd2e < 6913ff607c2bc8694193e1fcc40bf16d75f35f16
Linux 3363da82e02f1bddc54faa92ea430c6532e2cd2e < 23c240d9509e15f72e4112fc95f0160ab32ec430
Linux b6ea7b6c6be65149ab6b8e37a9dd1671f76add1b