CVE-2025-38058: debian debian_linux Improper Locking
Vulnerability summary
CVE-2025-38058 is a high (CVSS 7.8) Improper Locking vulnerability in debian debian_linux. EPSS estimates a 0.17% chance of exploitation in the next 30 days, higher than 5.3% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 51 · Related 48Timeline
- 18-06-2025PublishedVulnerability first disclosed.
- 15-10-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: __legitimize_mnt(): check for MNT_SYNC_UMOUNT should be under mount_lock ... or we risk stealing final mntput from sync umount - raising mnt_count after umount(2) has verified that victim is not busy, but before it has set MNT_SYNC_UMOUNT; in that case __legitimize_mnt() doesn't see that it's safe to quietly undo mnt_count increment and leaves dropping the reference to caller, where it'll be a full-blown mntput(). Check under mount_lock is needed; leaving the current one done before taking that makes no sense - it's nowhere near common enough to bother with.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
0.17%
Chance of exploitation in the next 30 days
Percentile
5%
Versus all other CVEs
30-day change
0.00 pp
From 0.17% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Ubuntu145 products
- linuxAll versions (No fix recorded) | < 5.15.0-152.162 | < 6.8.0-100.100
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.15.0-1090.97 | < 6.8.0-1046.49
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian2 products
- linux< 6.1.147-1 | < 6.12.32-1
- debian_linuxEOL11.0
Linux2 products
- linux≥ 48a066e72d970a3e225a9c18690d570c736fc455, < 628fb00195ce21a90cf9e4e3d105cd9e58f77b40 | ≥ 48a066e72d970a3e225a9c18690d570c736fc455, < b89eb56a378b7b2c1176787fc228d0a57172bdd5 | ≥ 48a066e72d970a3e225a9c18690d570c736fc455, < f6d45fd92f62845cbd1eb5128fd8f0ed7d0c5a42 | ≥ 48a066e72d970a3e225a9c18690d570c736fc455, < 9b0915e72b3cf52474dcee0b24a2f99d93e604a3 | ≥ 48a066e72d970a3e225a9c18690d570c736fc455, < d8ece4ced3b051e656c77180df2e69e19e24edc1 | ≥ 48a066e72d970a3e225a9c18690d570c736fc455, < 8cafd7266fa02e0863bacbf872fe635c0b9725eb | ≥ 48a066e72d970a3e225a9c18690d570c736fc455, < b55996939c71a3e1a38f3cdc6a8859797efc9083 | ≥ 48a066e72d970a3e225a9c18690d570c736fc455, < 250cf3693060a5f803c5f1ddc082bb06b16112a9 | 3.13
- linux_kernel< 5.4.294 | ≥ 5.5, < 5.10.238 | ≥ 5.11, < 5.15.185 | ≥ 5.16, < 6.1.141 | ≥ 6.2, < 6.6.93 | ≥ 6.7, < 6.12.31 | ≥ 6.13, < 6.14.9 | 6.15:rc1 | 6.15:rc2 | 6.15:rc3 | 6.15:rc4 | 6.15:rc5
3 vendors · 149 products
References
47 links- lists.debian.org/debian-lts-announce/2025/10/msg00008.htmlThird Party Advisory
- lists.debian.org/debian-lts-announce/2025/10/msg00007.htmlThird Party Advisory