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.
Upstream advisory: https://lore.kernel.org/linux-cve-announce/2025070420-CVE-2025-38208-97e1@gregkh/T