CVE-2025-37952: Linux kernel · ksmbd: Fix UAF in __close_file_table_ids
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 8.8 High.
Data as of 30 Oct 2026, 14:05 UTC
Thin evidence
One scorer or none| CNA (Linux) | CVSS 3.1 | 8.8 |
|---|
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 20 May 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
AI-suggested
A fix has been implemented that adds locking to prevent concurrent access to the same file pointer during file table removal. Users should apply the official Linux kernel patches that address this issue. Since this is a kernel vulnerability, updating to a fixed kernel version is the recommended remediation.
Description
CVE-2025-37952 is a high-severity use-after-free vulnerability in the Linux kernel's ksmbd component. It occurs when one thread destroys a file while another thread still holds a reference to it, due to insufficient reference count checks. The flaw allows potential corruption or compromise of kernel memory. The issue is fixed by adding locking around file removal operations to prevent concurrent access to the same file pointer.
References
- git.kernel.org/stable/c/21100812657965dd95bc305f6076f62012f34cf4 (opens in a new tab)
- git.kernel.org/stable/c/fec1f9e9a650e8e7011330a085c77e7bf2a08ea9 (opens in a new tab)
- git.kernel.org/stable/c/9e9841e232b51171ddf3bc4ee517d5d28dc8cad6 (opens in a new tab)
- git.kernel.org/stable/c/16727e442568a46d9cca69fe2595896de86e120d (opens in a new tab)
- git.kernel.org/stable/c/36991c1ccde2d5a521577c448ffe07fcccfe104d (opens in a new tab)