Local service interruption via ksmbd file-table race
Published May 20, 2025 · Updated Aug 5, 2026
Use-after-free in the ksmbd file table in Linux allows local users to interrupt service by racing file-close operations. In fs/smb/server/vfs_cache.c, __close_file_table_ids can retrieve a file pointer while __ksmbd_close_fd removes and frees the same object because refcount checks do not serialize IDR access. Low-privileged local access is required, and the published assessment limits impact to availability rather than data disclosure or modification.
Summary
What happened
Use-after-free in the ksmbd file table in Linux allows local users to interrupt service by racing file-close operations. In fs/smb/server/vfs_cache.c, __close_file_table_ids can retrieve a file pointer while __ksmbd_close_fd removes and frees the same object because refcount checks do not serialize IDR access. Low-privileged local access is required, and the published assessment limits impact to availability rather than data disclosure or modification.
The record
- CVE
- CVE-2025-37952
- Published
- May 20, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 20, 2025CVE publishedPublication date reported by the CVE source.
- Aug 5, 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 <16727e442568a46d9cca69fe2595896de86e120d
- Affected versionversion=0626e6641f6b467447c81dd7678a69c66f7746cf <36991c1ccde2d5a521577c448ffe07fcccfe104d
- Affected versionversion=0626e6641f6b467447c81dd7678a69c66f7746cf <9e9841e232b51171ddf3bc4ee517d5d28dc8cad6
- Affected versionversion=0626e6641f6b467447c81dd7678a69c66f7746cf <fec1f9e9a650e8e7011330a085c77e7bf2a08ea9
- 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.
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