# CVE-2025-38208: smb: client: add NULL check in automount_fullpath

Status: published. Published: 2025-07-04. Updated: 2026-11-05.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Linux / Linux: ≥ d5a863a153e90996ab2aef6b9e08d509f4d5662b; < 37166d63e42c34846a16001950ecec96229a8d17 (affected, git); ≥ d5a863a153e90996ab2aef6b9e08d509f4d5662b; < a9e916fa5c7d0ec2256aa44aa24ddd92f529ce35 (affected, git); ≥ d5a863a153e90996ab2aef6b9e08d509f4d5662b; < cce8e71ca1f7ad9045707f0d22490c1e9ed1df6c (affected, git); ≥ d5a863a153e90996ab2aef6b9e08d509f4d5662b; < f1e7a277a1736e12cc4bd6d93b8a5c439b8ca20c (affected, git); e91802036b3e6e6e803a17ddf5783a6354fe5380 (affected, git); ≥ 6.2.13; < 6.3 (affected, semver). Source: CNA: Linux
- Linux / Linux: 6.3 (affected); ≥ 0; < 6.3 (unaffected, semver); ≥ 6.6.95; ≤ 6.6.* (unaffected, semver); ≥ 6.12.35; ≤ 6.12.* (unaffected, semver); ≥ 6.15.4; ≤ 6.15.* (unaffected, semver); ≥ 6.16; ≤ * (unaffected, original_commit_for_fix). Source: CNA: Linux

## Severity and prioritization

- CISA KEV: No listing in collected sources

- EPSS: 0.18% as of 2026-11-05; percentile 7.41%

- SSVC: exploitation none; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: Not reported

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://git.kernel.org/stable/c/37166d63e42c34846a16001950ecec96229a8d17 (CNA: Linux)

- https://git.kernel.org/stable/c/a9e916fa5c7d0ec2256aa44aa24ddd92f529ce35 (CNA: Linux)

- https://git.kernel.org/stable/c/cce8e71ca1f7ad9045707f0d22490c1e9ed1df6c (CNA: Linux)

- https://git.kernel.org/stable/c/f1e7a277a1736e12cc4bd6d93b8a5c439b8ca20c (CNA: Linux)

## Provenance

- CNA: Linux: https://www.cve.org/CVERecord?id=CVE-2025-38208; retrieved 2026-11-05; source updated 2026-11-05

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2025-38208; retrieved 2026-11-05; source updated Not reported

Revision: 7ff31a7ec9304fa381aa584a37e6963bd754a9400ba796eef23755b3e9e34bf7

Canonical: https://y2.dev/cve/CVE-2025-38208

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.