5.7

CVE-2025-40332: drm/amdkfd: Fix mmap write lock not release

Deferred
AliasesUBUNTU-CVE-2025-40332DEBIAN-CVE-2025-40332
Published 09-12-2025Last modified 23-05-2026

Vulnerability summary

CVE-2025-40332 is a medium (CVSS 5.7) vulnerability in linux. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 12.4% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.7, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.7/10
010
Medium · v4.0 (OSV · Ubuntu), selected by version preference
EPSS score
0.22%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 13 · Related 13

Timeline

  1. 09-12-2025
    PublishedVulnerability first disclosed.
  2. 23-05-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Fix mmap write lock not release If mmap write lock is taken while draining retry fault, mmap write lock is not released because svm_range_restore_pages calls mmap_read_unlock then returns. This causes deadlock and system hangs later because mmap read or write lock cannot be taken. Downgrade mmap write lock to read lock if draining retry fault fix this bug.

CVSS metrics

1 score · 1 source · 1 version

EPSS trend

Probability

0.22%

Chance of exploitation in the next 30 days

Percentile

12%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.22% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu156 products
  • linuxAll versions (No fix recorded) | < 6.17.0-14.14
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 6.17.0-1007.7
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Debian1 product
  • linux< 6.12.63-1 | < 6.17.8-1
Linux1 product
  • linux≥ e64be12f8401819662e608efa247638b61d023cd, < e2105ba1c262dcaa9573f11844b6e1e1ca762c3f | ≥ f844732e3ad9c4b78df7436232949b8d2096d1a6, < f7569ef1cf978aa87aa81b5e9bf40a77497f3685 | ≥ f844732e3ad9c4b78df7436232949b8d2096d1a6, < 7574f30337e19045f03126b4c51f525b84e5049e | 177660d7ecb34298dab5f0d1efc7e8b02f934551 | 5a3c09bd25cc0a55ec9c048710d379fa2c84b4e7 | ≥ 6.12.24, < 6.12.58 | ≥ 6.13.12, < 6.14 | ≥ 6.14.3, < 6.15 | 6.15

3 vendors · 158 products

References

12 links
Show all 12 references