CVE-2025-38208 smb: client: add NULL check in automount_fullpath
MediumCVSS 5.5
EPSS 0.28%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Linux KernelUbuntuDebian
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.
Upgrade path
7 packages: 6 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| cbl-mariner kernel(CBL-Mariner 2.0) | All versions | No fix listed | No fix yet |
| azure linux kernel(Azure Linux 3.0) | < 6.6.96.1-1 | 6.6.96.1-1 | Fixed |
| debian/linux(Debian 13) | < 6.12.35-1 | 6.12.35-1 | Fixed |
| debian/linux(Debian 14) | < 6.12.35-1 | 6.12.35-1 | Fixed |
| Linux kernel | < 6.6.95; < 6.12.35; < 6.15.4; < 6.16 +9 more | 6.3, 6.6.95, 6.12.35, 6.15.4, 6.16, 37166d63e42c34846a16001950ecec96229a8d17, a9e916fa5c7d0ec2256aa44aa24ddd92f529ce35, cce8e71ca1f7ad9045707f0d22490c1e9ed1df6c, f1e7a277a1736e12cc4bd6d93b8a5c439b8ca20c | Fixed |
| ubuntu/linux(Ubuntu 24.04) | < 6.8.0-100.100 | 6.8.0-100.100 | Fixed |
| ubuntu/linux-raspi(Ubuntu 24.04) | < 6.8.0-1047.51 | 6.8.0-1047.51 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| azure linux kernel(Azure Linux:3.0) | < 6.6.96.1-1 | 6.6.96.1-1 |
| cbl-mariner kernel(CBL-Mariner:2.0) | All versions | No fix listed |
| debian/linux(Debian:13) | < 6.12.35-1 | 6.12.35-1 |
| debian/linux(Debian:14) | < 6.12.35-1 | 6.12.35-1 |
| Linux kernel | >= d5a863a153e90996ab2aef6b9e08d509f4d5662b, < 37166d63e42c34846a16001950ecec96229a8d17 | 37166d63e42c34846a16001950ecec96229a8d17 |
| Linux kernel | >= d5a863a153e90996ab2aef6b9e08d509f4d5662b, < a9e916fa5c7d0ec2256aa44aa24ddd92f529ce35 | a9e916fa5c7d0ec2256aa44aa24ddd92f529ce35 |
| Linux kernel | >= d5a863a153e90996ab2aef6b9e08d509f4d5662b, < cce8e71ca1f7ad9045707f0d22490c1e9ed1df6c | cce8e71ca1f7ad9045707f0d22490c1e9ed1df6c |
| Linux kernel | >= d5a863a153e90996ab2aef6b9e08d509f4d5662b, < f1e7a277a1736e12cc4bd6d93b8a5c439b8ca20c | f1e7a277a1736e12cc4bd6d93b8a5c439b8ca20c |
| Linux kernel | = e91802036b3e6e6e803a17ddf5783a6354fe5380 | No fix listed |
| Linux kernel | >= 6.2.13, < 6.3 | 6.3 |
| Linux kernel | = 6.3 | No fix listed |
| Linux kernel | < 6.6.95 | 6.6.95 |
| Linux kernel | < 6.12.35 | 6.12.35 |
| Linux kernel | < 6.15.4 | 6.15.4 |
| Linux kernel | < 6.16 | 6.16 |
| ubuntu/linux(Ubuntu:24.04) | < 6.8.0-100.100 | 6.8.0-100.100 |
| ubuntu/linux-raspi(Ubuntu:24.04) | < 6.8.0-1047.51 | 6.8.0-1047.51 |
| Linux kernel | >= 6.7, < 6.12.35 | 6.12.35 |
| Linux kernel | >= 6.13, < 6.15.4 | 6.15.4 |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Debian Security Tracker CVE-2025-38208 vendor-advisory
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- Ubuntu CVE tracker vendor-advisory
- USN-7833-1 vendor-advisory
- USN-7834-1 vendor-advisory
- USN-7833-2 vendor-advisory
- USN-7833-3 vendor-advisory
- USN-7833-4 vendor-advisory
- USN-7856-1 vendor-advisory
- USN-8028-1 vendor-advisory
- USN-8028-2 vendor-advisory
- USN-8031-1 vendor-advisory
- USN-8028-3 vendor-advisory
- USN-8028-4 vendor-advisory
- USN-8028-5 vendor-advisory
- USN-8031-2 vendor-advisory
- USN-8028-6 vendor-advisory
- USN-8031-3 vendor-advisory
- USN-8052-1 vendor-advisory
- USN-8028-7 vendor-advisory
- USN-8028-8 vendor-advisory
- USN-8052-2 vendor-advisory
- USN-8074-1 vendor-advisory
- USN-8074-2 vendor-advisory
- USN-8126-1 vendor-advisory
- www.cve.org
- ENISA EUVD EUVD-2025-20048 third-party-advisory