SMB service hang via recursive parent locking
Published Sep 4, 2025 · Updated May 12, 2026
Improper locking in Linux ksmbd allows local users to hang SMB service; SIMATIC CN 4100 before 5.0 is also affected. The ReplaceIfExists path removes an existing link while retaining the parent-directory lock, then ksmbd_vfs_link() tries to acquire that same lock and deadlocks. Low-privileged access to a configured ksmbd share and an existing destination name are required; the deadlock interrupts SMB file service.
Summary
What happened
Improper locking in Linux ksmbd allows local users to hang SMB service; SIMATIC CN 4100 before 5.0 is also affected. The ReplaceIfExists path removes an existing link while retaining the parent-directory lock, then ksmbd_vfs_link() tries to acquire that same lock and deadlocks. Low-privileged access to a configured ksmbd share and an existing destination name are required; the deadlock interrupts SMB file service.
The record
- CVE
- CVE-2025-38711
- Published
- Sep 4, 2025
- Updated
- May 12, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-667, CWE-20, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 4, 2025CVE publishedPublication date reported by the CVE source.
- May 12, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0626e6641f6b467447c81dd7678a69c66f7746cf <1e858a7a51c7b8b009d8f246de7ceb7743b44a71
- Affected versionversion=0626e6641f6b467447c81dd7678a69c66f7746cf <814cfdb6358d9b84fcbec9918c8f938cc096a43a
- Affected versionversion=0626e6641f6b467447c81dd7678a69c66f7746cf <9d5012ffe14120f978ee34aef4df3d6cb026b7c4
- Affected versionversion=0626e6641f6b467447c81dd7678a69c66f7746cf <a726fef6d7d4cfc365d3434e3916dbfe78991a33
- Affected versionversion=0626e6641f6b467447c81dd7678a69c66f7746cf <a7dddd62578c2eb6cb28b8835556a121b5157323
- Affected versionversion=0626e6641f6b467447c81dd7678a69c66f7746cf <ac98d54630d5b52e3f684d872f0d82c06c418ea9
- Affected versionversion=0626e6641f6b467447c81dd7678a69c66f7746cf <d5fc1400a34b4ea5e8f2ce296ea12bf8c8421694
- Affected versionversion=5.15
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo