CVE-2025-40065: RISC-V: KVM: Write hgatp register with valid mode bits

Deferred
AliasesUBUNTU-CVE-2025-40065DEBIAN-CVE-2025-40065
Published 28-10-2025Last modified 30-10-2026

Vulnerability summary

CVE-2025-40065 is a vulnerability in linux with no CVSS score yet. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 14.8% of scored vulnerabilities.

Priority
Insufficient evidence

No CVSS vector published; no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
Not scored
010
No CVSS score recorded
EPSS score
0.24%
0%100%
Low · +0.05 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 7 · Related 7

Timeline

  1. 28-10-2025
    PublishedVulnerability first disclosed.
  2. 30-10-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: RISC-V: KVM: Write hgatp register with valid mode bits According to the RISC-V Privileged Architecture Spec, when MODE=Bare is selected,software must write zero to the remaining fields of hgatp. We have detected the valid mode supported by the HW before, So using a valid mode to detect how many vmid bits are supported.

CVSS metrics

Risk metrics not yet published.

EPSS trend

Probability

0.24%

Chance of exploitation in the next 30 days

Percentile

15%

Versus all other CVEs

30-day change

Increase +0.05 pp

From 0.19% 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: not stated in public data.

Ubuntu129 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
  • linuxAll versions (No fix recorded) | < 6.12.115-2 | < 6.17.6-1
Linux1 product
  • linux≥ fd7bb4a251dfc1da3496bf59a4793937c13e8c1f, < feb64ca53d97b3ac8ba9ecbeae5f9426f1513650 | ≥ fd7bb4a251dfc1da3496bf59a4793937c13e8c1f, < 8b6e327736db013b9e385c3f6f9f0b04ddf26e43 | ≥ fd7bb4a251dfc1da3496bf59a4793937c13e8c1f, < 5cba8ae00279296a586d0596443109d601b1d116 | ≥ fd7bb4a251dfc1da3496bf59a4793937c13e8c1f, < d00b61cd37f4c183ce0edbc9f8ccf6d5430ea357 | ≥ fd7bb4a251dfc1da3496bf59a4793937c13e8c1f, < 2b351e3d04be9e1533f26c3464f1e44a5beace30 | 5.16

3 vendors · 131 products

References

14 links
Show all 14 references