CVE-2025-38208

published 4 Jul 2025 · updated 17 Nov 2026

smb: client: add NULL check in automount_fullpath

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f1e7a277a1736e12cc4bd6d93b8a5c439b8ca20c, Kernel 6.15.4, Kernel 6.12.35 and 5 more.

In the Linux kernel, the following vulnerability has been resolved: smb: client: add NULL check in automount_fullpath page is checked for null in __build_path_from_dentry_optional_prefix when tcon->origin_fullpath is not set. However, the check is missing when it is set. Add a check to prevent a potential NULL pointer dereference.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=d5a863a153e90996ab2aef6b9e08d509f4d5662b <f1e7a277a1736e12cc4bd6d93b8a5c439b8ca20c, >=6.13 <6.15.4, >=6.7 <6.12.35, >=d5a863a153e90996ab2aef6b9e08d509f4d5662b <37166d63e42c34846a16001950ecec96229a8d17, >=d5a863a153e90996ab2aef6b9e08d509f4d5662b <a9e916fa5c7d0ec2256aa44aa24ddd92f529ce35, >=d5a863a153e90996ab2aef6b9e08d509f4d5662b <cce8e71ca1f7ad9045707f0d22490c1e9ed1df6c, <6.6.95, =6.3, =e91802036b3e6e6e803a17ddf5783a6354fe5380, >=6.2.13 <6.3f1e7a277a1736e12cc4bd6d93b8a5c439b8ca20c, 6.15.4, 6.12.35, 37166d63e42c34846a16001950ecec96229a8d17, a9e916fa5c7d0ec2256aa44aa24ddd92f529ce35, cce8e71ca1f7ad9045707f0d22490c1e9ed1df6c, 6.6.95, 6.3
linux-kernel: Kernel>=6.13.0 <6.15.4, >=6.2.13 <6.3, >=6.3.0 <6.6.95, >=6.7.0 <6.12.356.15.4, 6.3, 6.6.95, 6.12.35

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-38208 severity on Zeptric[![CVE-2025-38208](https://zeptric.io/badge/cve/CVE-2025-38208.svg)](https://zeptric.io/cve/CVE-2025-38208)