7.8

CVE-2025-38058: debian debian_linux Improper Locking

CVSS: 7.8v3.1HighModified
AliasesUBUNTU-CVE-2025-38058DEBIAN-CVE-2025-38058
Published 18-06-2025Last modified 15-10-2026

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.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.17%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 51 · Related 48

Timeline

  1. 18-06-2025
    PublishedVulnerability first disclosed.
  2. 15-10-2026
    Last 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

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

19-09-202619-10-2026
EPSS score
0.17%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected 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
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
Show all 47 references