What’s Vulnerable › Vulnerabilities
CVE-2025-38208: smb: client: add NULL check in automount_fullpath
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-07-04 · updated 2026-06-17
- Weakness: CWE-476
Description
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 products
- Linux kernel: before 6.6.95; from 6.7 before 6.12.35; from 6.13 before 6.15.4 — fixed in 6.12.35, 6.15.4, 6.6.95
How to fix
Upgrade to a fixed version: Linux kernel 6.12.35, 6.15.4, 6.6.95. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/37166d63e42c34846a16001950ecec96229a8d17
- https://git.kernel.org/stable/c/a9e916fa5c7d0ec2256aa44aa24ddd92f529ce35
- https://git.kernel.org/stable/c/cce8e71ca1f7ad9045707f0d22490c1e9ed1df6c
- https://git.kernel.org/stable/c/f1e7a277a1736e12cc4bd6d93b8a5c439b8ca20c
Get alerted when CVE-2025-38208 or the next vulnerability affects your stack