CVE-2025-38321Linux Kernel
Medium 5.5
Follow: this CVE · Linux · Linux Kernel We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.5
- EPSS
- —
- Auth required
- Yes
- Published
- Jul 10, 2025
- Updated
- Oct 15, 2026
- Category
- Operating system · Linux
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
What happens
In the Linux kernel, the following vulnerability has been resolved:
smb: Log an error when close_all_cached_dirs fails
Under low-memory conditions, close_all_cached_dirs() can't move the
dentries to a separate list to dput() them once the locks are dropped.
This will result in a "Dentry still in use" error, so add an error
message that makes it clear this is what happened:
[ 495.281119] CIFS: VFS: \\otters.example.com\share Out of memory while dropping dentries
[ 495.281595] ------------[ cut here ]------------
[ 495.281887] BUG: Dentry ffff888115531138{i=78,n=/} still in use (2) [unmount of cifs cifs]
[ 495.282391] WARNING: CPU: 1 PID: 2329 at fs/dcache.c:1536 umount_check+0xc8/0xf0
Also, bail out of looping through all tcons as soon as a single
allocation fails, since we're already in trouble, and kmalloc() attempts
for subseqeuent tcons are likely to fail just like the first one did.
What to do
- Apply the vendor's security update for Linux Kernel.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| linux | linux_kernel | < 6.6.95 |
| linux | linux_kernel | ≥ 6.7 < 6.12.35 |
| linux | linux_kernel | ≥ 6.13 < 6.15.4 |
| linux | linux_kernel | 6.16 |
| linux | linux_kernel | 6.16 |
Official advisories
- Security update for the Linux Kernel · SUSE · SUSE-SU-2026:20845-1 · Mar 24, 2026 Critical
- Security update for the Linux Kernel · SUSE · SUSE-SU-2026:20876-1 · Mar 24, 2026 Critical
- Security update for the Linux Kernel · SUSE · SUSE-SU-2026:20477-1 · Feb 24, 2026 Critical
Also: SUSE (+10)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch