smb: client: add NULL check in automount_fullpath (Linux Linux)

CVE-2025-38208
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.18 % · percentile 7 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

Weaknesses (CWE)

  • CWE-476 — NULL Pointer Dereference

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected d5a863a153e90996ab2aef6b9e08d509f4d5662b < 37166d63e42c34846a16001950ecec96229a8d17 ; affected d5a863a153e90996ab2aef6b9e08d509f4d5662b < a9e916fa5c7d0ec2256aa44aa24ddd92f529ce35 ; affected d5a863a153e90996ab2aef6b9e08d509f4d5662b < cce8e71ca1f7ad9045707f0d22490c1e9ed1df6c ; affected d5a863a153e90996ab2aef6b9e08d509f4d5662b < f1e7a277a1736e12cc4bd6d93b8a5c439b8ca20c ; affected e91802036b3e6e6e803a17ddf5783a6354fe5380 ; affected 6.2.13 < 6.3
Linux · Linuxaffected 6.3 ; unaffected 0 < 6.3 ; unaffected 6.6.95 ≤ 6.6.* ; unaffected 6.12.35 ≤ 6.12.* ; unaffected 6.15.4 ≤ 6.15.* ; unaffected 6.16 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD