CVE-2025-38431: smb: client: fix regression with native SMB symlinks

Published Jul 25, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

smb: client: fix regression with native SMB symlinks

Some users and customers reported that their backup/copy tools started to fail when the directory being copied contained symlink targets that the client couldn't parse - even when those symlinks weren't followed.

Fix this by allowing lstat(2) and readlink(2) to succeed even when the client can't resolve the symlink target, restoring old behavior.

Affected Software

6 affected componentsFixes available
Linux Kernel
Linux Linux kernel>=6.14<6.15.5
Linux Linux kernel=6.16-rc1
Linux Linux kernel=6.16-rc2
Linux Linux kernel=6.16-rc3
linux/kernel>=6.14.0<6.15.5
6.15.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.15.5

Event History

Jul 25, 2025
CVE Published
via MITRE·02:22 PM
Data Sourced
via MITRE·02:22 PM
Description
Data Sourced
via OSV·02:22 PM
DescriptionAffected Software
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-38431?

CVE-2025-38431 has been rated as a moderate severity vulnerability affecting the Linux kernel.

2

How do I fix CVE-2025-38431?

To fix CVE-2025-38431, users should update their Linux kernel to the latest stable version that includes the patch for this vulnerability.

3

What impact does CVE-2025-38431 have on Linux systems?

CVE-2025-38431 can lead to failures in backup and copy operations involving symlink targets on affected Linux systems.

4

Are all versions of the Linux kernel affected by CVE-2025-38431?

Not all versions are affected, but users should verify their specific kernel version against the advisory provided in the patches.

5

Is there a workaround for CVE-2025-38431?

While there is no official workaround, users can avoid using symlink targets until they apply the necessary updates to mitigate the issue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203