Advisory
UBUNTU-CVE-2025-38321
Also known as: CVE-2025-38321
Summary
The record has no summary.
Details
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.
Severity
Medium Basis: CVSS v3 score 5.5, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Dates
- Published
- 2025-07-10 09:15 UTC
- Modified
- 2026-11-12 17:24 UTC
Affected packages and fixes
| Package | System | Affected | Fix |
|---|---|---|---|
| linux-hwe-edge | Debian packages (deb) · Ubuntu 16.04 | introduced 0 | No fixed version is listed. |
| linux-aws-5.0 | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-aws-5.3 | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-azure | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-azure-5.3 | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-azure-edge | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-gcp | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-gcp-5.3 | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-gke-4.15 | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-gke-5.4 | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-gkeop-5.4 | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-hwe | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-hwe-edge | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-oem | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-oracle-5.0 | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-oracle-5.3 | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-aws-5.11 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-aws-5.13 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-aws-5.8 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-azure-5.11 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-azure-5.13 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-azure-5.8 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-azure-fde | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-gcp-5.11 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-gcp-5.13 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-gcp-5.8 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-gke | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-gke-5.15 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-gkeop | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-gkeop-5.15 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-hwe-5.11 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-hwe-5.13 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-hwe-5.8 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-intel-5.13 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-oem-5.10 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-oem-5.13 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-oem-5.14 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-oem-5.6 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-oracle-5.11 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-oracle-5.13 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-oracle-5.8 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-raspi2 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-riscv | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-riscv-5.11 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-riscv-5.8 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-allwinner-5.19 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-aws-5.19 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-aws-6.2 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-aws-6.5 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-aws-6.8 | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-azure-5.19 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-azure-6.2 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-azure-6.5 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-azure-6.8 | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-azure-fde-5.19 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-azure-fde-6.2 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-azure-fde-6.8 | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-gcp-5.19 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-gcp-6.2 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-gcp-6.5 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-gcp-6.8 | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-hwe-5.19 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-hwe-6.2 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-hwe-6.5 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-hwe-6.8 | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-ibm-6.8 | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-intel-iot-realtime | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-lowlatency-hwe-5.19 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-lowlatency-hwe-6.2 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-lowlatency-hwe-6.5 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-lowlatency-hwe-6.8 | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-nvidia-6.2 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-nvidia-6.5 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-nvidia-6.8 | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-oem-5.17 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-oem-6.0 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-oem-6.1 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-oem-6.5 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-oracle-6.5 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-oracle-6.8 | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-realtime | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-riscv | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-riscv-5.19 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-riscv-6.5 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-riscv-6.8 | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-starfive-5.19 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-starfive-6.2 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-starfive-6.5 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-aws | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-aws-6.14 | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-azure | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-azure-6.11 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-azure-6.14 | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-azure-fde | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-azure-nvidia | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-azure-nvidia-6.14 | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-gcp | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-gcp-6.11 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-gcp-6.14 | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-gke | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-gkeop | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-hwe-6.11 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-ibm | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-intel | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-lowlatency | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-lowlatency-hwe-6.11 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-nvidia | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-nvidia-6.11 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-nvidia-lowlatency | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-nvidia-tegra | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-oem-6.11 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-oem-6.14 | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-oem-6.8 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-oracle | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-oracle-6.14 | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-raspi | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-raspi-realtime | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-realtime | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-riscv | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-riscv-6.14 | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-xilinx | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-azure-fde | Debian packages (deb) · Ubuntu 25.10 | introduced 0 | No fixed version is listed. |
Some commands upgrade the distribution's packages. Compare the fixed version with the version you have installed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Links
- https://ubuntu.com/security/CVE-2025-38321
- https://www.cve.org/CVERecord?id=CVE-2025-38321
- https://git.kernel.org/linus/a2182743a8b4969481f64aec4908ff162e8a206c
- https://git.kernel.org/stable/c/43f26094d6702e494e800532c3f1606e7a68eb30
- https://git.kernel.org/stable/c/4479db143390bdcadc1561292aab579cdfa9f6c6
- https://git.kernel.org/stable/c/a2182743a8b4969481f64aec4908ff162e8a206c
- https://git.kernel.org/stable/c/b8ced2b9a23a1a2c1e0ed8d0d02512e51bdf38da
- https://ubuntu.com/security/notices/USN-7833-1
- https://ubuntu.com/security/notices/USN-7834-1
- https://ubuntu.com/security/notices/USN-7833-2
- https://ubuntu.com/security/notices/USN-7833-3
- https://ubuntu.com/security/notices/USN-7833-4
- https://ubuntu.com/security/notices/USN-7856-1
- https://ubuntu.com/security/notices/USN-8028-1
- https://ubuntu.com/security/notices/USN-8028-2
- https://ubuntu.com/security/notices/USN-8031-1
- https://ubuntu.com/security/notices/USN-8028-3
- https://ubuntu.com/security/notices/USN-8028-4
- https://ubuntu.com/security/notices/USN-8028-5
- https://ubuntu.com/security/notices/USN-8031-2
- https://ubuntu.com/security/notices/USN-8028-6
- https://ubuntu.com/security/notices/USN-8031-3
- https://ubuntu.com/security/notices/USN-8052-1
- https://ubuntu.com/security/notices/USN-8028-7
- https://ubuntu.com/security/notices/USN-8028-8
- https://ubuntu.com/security/notices/USN-8052-2
- https://ubuntu.com/security/notices/USN-8074-1
- https://ubuntu.com/security/notices/USN-8074-2
- https://ubuntu.com/security/notices/USN-8126-1
Source
Source: Ubuntu Security Notices · CC BY-SA 4.0