Breaking News: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2025-38321

kernel: smb: Log an error when close_all_cached_dirs fails

Overview

Published
10 Jul 2025
Modified
15 Oct 2026
Medium CVE
0 Registry packages
270 OS packages
12 Linux distributions
Yes Fix available

Description

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.

Source: OX vulnerability database

Severity

5.5 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected packages · 0

No registry package. This ID affects operating system packages only.

Operating systems · 62 fixes

Azure Linux 1 release · 1 package

fixed 1
kernel
Azure Linux fixes for CVE-2025-38321
ReleasePackageFixed in
3.0 kernel 0:6.6.96.1-1.azl3

Oracle Linux 1 release · 1 package

fixed 1
kernel-uek
Oracle Linux fixes for CVE-2025-38321
ReleasePackageFixed in
9 kernel-uek +34 6.12.0-103.40.4.1.el9uek

Red Hat 1 release · 1 package

affected 1
bpftool
Red Hat fixes for CVE-2025-38321
ReleasePackageFixed in
9 bpftool +106 affected

SUSE Linux Enterprise 3 releases · 6 packages

fixed 10
kernel-livepatch-6-4-0-150600-23-84-default cluster-md-kmp-default kernel-default-base kernel-livepatch-6-4-0-150700-7-28-rt kernel-livepatch-6-4-0-150700-53-28-default kernel-azure
SUSE Linux Enterprise fixes for CVE-2025-38321
ReleasePackageFixed inAdvisory
15.6 kernel-livepatch-6-4-0-150600-23-84-default 1-150600.13.3.1 SUSE-SU-2026:0293-1
15.6 cluster-md-kmp-default +17 6.4.0-150600.23.84.1 SUSE-SU-2026:0293-1
15.6 kernel-default-base 6.4.0-150600.23.84.1.150600.12.38.1 SUSE-SU-2026:0293-1
15.7 kernel-livepatch-6-4-0-150700-7-28-rt 1-150700.1.3.1 SUSE-SU-2026:0278-1
15.7 kernel-livepatch-6-4-0-150700-53-28-default 1-150700.15.3.1 SUSE-SU-2026:0315-1
15.7 kernel-azure +4 6.4.0-150700.20.24.1 SUSE-SU-2026:0281-1

4 more rows

SUSE Linux Enterprise Micro 3 releases · 4 packages

fixed 8
kernel-default kernel-default-base kernel-devel-rt kernel-64kb
SUSE Linux Enterprise Micro fixes for CVE-2025-38321
ReleasePackageFixed inAdvisory
6.0 kernel-default +5 6.4.0-39.1 SUSE-SU-2026:20477-1
6.0 kernel-default-base 6.4.0-39.1.21.16 SUSE-SU-2026:20477-1
6.0 kernel-devel-rt +3 6.4.0-40.1 SUSE-SU-2026:20845-1
6.1 kernel-default +6 6.4.0-39.1 SUSE-SU-2026:20498-1
6.1 kernel-default-base 6.4.0-39.1.21.16 SUSE-SU-2026:20498-1
6.1 kernel-devel-rt +4 6.4.0-40.1 SUSE-SU-2026:20876-1

2 more rows

amazon linux 1 release · 2 packages

fixed 2
kernel-livepatch-6-12-35-55-103 bpftool
amazon linux fixes for CVE-2025-38321
ReleasePackageFixed in
2023 kernel-livepatch-6-12-35-55-103 1.0-0.amzn2023
2023 bpftool +20 6.12.35-55.103.amzn2023

debian 2 releases · 1 package

fixed 2
linux
debian fixes for CVE-2025-38321
ReleasePackageFixed in
13 linux 6.12.35-1
14 linux 6.12.35-1

echo 1 release · 1 package

fixed 1
linux
echo fixes for CVE-2025-38321
ReleasePackageFixed in
linux 1

openSUSE Leap 1 release · 2 packages

fixed 2
cluster-md-kmp-64kb kernel-default-base
openSUSE Leap fixes for CVE-2025-38321
ReleasePackageFixed inAdvisory
16.0 cluster-md-kmp-64kb +64 6.12.0-160000.8.1 openSUSE-SU-2025:20172-1
16.0 kernel-default-base 6.12.0-160000.8.1.160000.2.5 openSUSE-SU-2025:20172-1

root.io debian 3 releases · 2 packages

fixed 3
linux rootio-linux
root.io debian fixes for CVE-2025-38321
ReleasePackageFixed in
11 linux +1 5.10.251-5.root.io.85
12 linux +1 6.1.172-1.root.io.132
13 rootio-linux 6.12.35-1

root.io ubuntu 2 releases · 1 package

fixed 2
linux
root.io ubuntu fixes for CVE-2025-38321
ReleasePackageFixed in
22.04 linux +1 5.15.0-179.189.root.io.88
24.04 linux +1 6.8.0-100.100

ubuntu 2 releases · 29 packages

fixed 29
linux-lowlatency-hwe-6-8 linux-hwe-6-8 linux-oracle-6-8 linux-ibm-6-8 linux-aws-6-8 linux-azure-fde-6-8 +23
ubuntu fixes for CVE-2025-38321
ReleasePackageFixed in
22.04 linux-lowlatency-hwe-6-8 6.8.0-100.100.1~22.04.1
22.04 linux-hwe-6-8 +1 6.8.0-100.100~22.04.1
22.04 linux-oracle-6-8 6.8.0-1043.44~22.04.1
22.04 linux-ibm-6-8 6.8.0-1044.44~22.04.1
22.04 linux-aws-6-8 +1 6.8.0-1046.49~22.04.1
22.04 linux-azure-fde-6-8 6.8.0-1046.53~22.04.1

23 more rows

References

Show all 33 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.