← CVE Intelligence

CVE-2025-38208

smb: client: add NULL check in automount_fullpath PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected d5a863a153e90996ab2aef6b9e08d509f4d5662b before 37166d63e42c34846a16001950ecec96229a8d17; affected d5a863a153e90996ab2aef6b9e08d509f4d5662b before a9e916fa5c7d0ec2256aa44aa24ddd92f529ce35; affected d5a863a153e90996ab2aef6b9e08d509f4d5662b before cce8e71ca1f7ad9045707f0d22490c1e9ed1df6c; affected d5a863a153e90996ab2aef6b9e08d509f4d5662b before f1e7a277a1736e12cc4bd6d93b8a5c439b8ca20c; affected e91802036b3e6e6e803a17ddf5783a6354fe5380; affected 6.2.13 before 6.3
Linux / Linuxaffected 6.3; unaffected 0 before 6.3; unaffected 6.6.95 through 6.6.*; unaffected 6.12.35 through 6.12.*; unaffected 6.15.4 through 6.15.*; unaffected 6.16 through *

CWE

No CWE identifiers supplied.

References