CVE-2025-38321: Linux kernel · smb: Log an error when close_all_cached_dirs fails
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 13 Nov 2026, 20:00 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 10 Jul 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 13 Nov 2026.
What to do
AI-suggested
A fix for this issue has been implemented in the Linux kernel. Users should apply the official kernel updates that include this fix to prevent the error condition and improve system stability during CIFS unmount operations. No additional mitigation steps are indicated beyond applying the patch.
Description
CVE-2025-38321 is a vulnerability in the Linux kernel's SMB implementation where an error is logged when the function close_all_cached_dirs fails under low-memory conditions. This failure prevents dentries from being properly released, causing a "Dentry still in use" error during CIFS unmount operations. The issue has been addressed by adding clearer error logging and stopping further processing when memory allocation fails.
References
- nvd.nist.gov/vuln/detail/CVE-2025-38321 (opens in a new tab)
- git.kernel.org/stable/c/43f26094d6702e494e800532c3f1606e7a68eb30 (opens in a new tab)
- git.kernel.org/stable/c/4479db143390bdcadc1561292aab579cdfa9f6c6 (opens in a new tab)
- git.kernel.org/stable/c/a2182743a8b4969481f64aec4908ff162e8a206c (opens in a new tab)
- git.kernel.org/stable/c/b8ced2b9a23a1a2c1e0ed8d0d02512e51bdf38da (opens in a new tab)