CVE-2025-38208 smb: client: add NULL check in automount_fullpath
A missing NULL check in the Linux kernel SMB client can cause a NULL pointer dereference, leading to a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-38208?
CVE-2025-38208 is a medium-severity vulnerability in Linux kernel, published on 4 Jul 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-476
Which versions are affected by CVE-2025-38208?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2025-38208?
Apply the vendor's patch.
Is CVE-2025-38208 being exploited?
There is no known exploitation of CVE-2025-38208 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-64692, AZL-70424, BELL-CVE-2025-38208, DEBIAN-CVE-2025-38208, GHSA-xp37-p5rq-3c53, ROOT-OS-DEBIAN-11-CVE-2025-38208 and 4 more.