CVE-2025-38208

smb: client: add NULL check in automount_fullpath

MEDIUM
5.5
CVSS Score
Published: July 4, 2025 at 01:37 PM UTC
Updated: June 17, 2026 at 09:16 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 6.2.13v < 6.6.956.13 ≤ v < 6.15.46.2.13 ≤ v < 6.36.3 ≤ v < 6.12.356.3 ≤ v < 6.15.46.3 ≤ v < 6.166.3 ≤ v < 6.6.956.7 ≤ v < 6.12.356.2.136.3d5a863a153e90996ab2aef6b9e08d509f4d5662be91802036b3e6e6e803a17ddf5783a6354fe5380
Vendor states this is fixed in 37166d63e42c34846a16001950ecec96229a8d17 (fixed)
Vendor states this is fixed in a9e916fa5c7d0ec2256aa44aa24ddd92f529ce35 (fixed)
Vendor states this is fixed in cce8e71ca1f7ad9045707f0d22490c1e9ed1df6c (fixed)
Vendor states this is fixed in f1e7a277a1736e12cc4bd6d93b8a5c439b8ca20c (fixed)
Vendor states this is fixed in 6.12.35 (unaffected)
Vendor states this is fixed in 6.15.4 (unaffected)
Vendor states this is fixed in 6.16 (unaffected)
Vendor states this is fixed in 6.3 (unaffected)
Vendor states this is fixed in 6.6.95 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/37166d63e42c34846a16001950ecec96229a8d17
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a9e916fa5c7d0ec2256aa44aa24ddd92f529ce35
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cce8e71ca1f7ad9045707f0d22490c1e9ed1df6c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f1e7a277a1736e12cc4bd6d93b8a5c439b8ca20c

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card