CVE-2025-40065RISC-V: KVM: Write hgatp register with valid mode bits
- —Not scoredno CVSS score yet
- 0.24%Exploitation in 30 daysEPSS · top 85% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
- 7 months later
· 7 months later
Published
- 12 months later
· 12 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
No CVSS score yet: neither the CNA, CISA nor NVD has scored this CVE. NVD status: Deferred.
- EPSS (exploitation in 30 days)
- 0.24% · top 85% of all CVEs (16 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Not scored.
Affected products
- affected fd7bb4a251dfc1da3496bf59a4793937c13e8c1f – < feb64ca53d97b3ac8ba9ecbeae5f9426f1513650
- affected fd7bb4a251dfc1da3496bf59a4793937c13e8c1f – < 8b6e327736db013b9e385c3f6f9f0b04ddf26e43
- affected fd7bb4a251dfc1da3496bf59a4793937c13e8c1f – < 5cba8ae00279296a586d0596443109d601b1d116
- affected fd7bb4a251dfc1da3496bf59a4793937c13e8c1f – < d00b61cd37f4c183ce0edbc9f8ccf6d5430ea357
- affected fd7bb4a251dfc1da3496bf59a4793937c13e8c1f – < 2b351e3d04be9e1533f26c3464f1e44a5beace30
- affected 5.16
- unaffected < 5.16
- unaffected 6.1.191 – ≤ 6.1.*
- unaffected 6.6.160 – ≤ 6.6.*
- unaffected 6.12.114 – ≤ 6.12.*
- unaffected 6.17.3 – ≤ 6.17.*
- unaffected 6.18 – ≤ *
References
References5
- https://git.kernel.org/stable/c/feb64ca53d97b3ac8ba9ecbeae5f9426f1513650 (opens in a new tab)
- https://git.kernel.org/stable/c/8b6e327736db013b9e385c3f6f9f0b04ddf26e43 (opens in a new tab)
- https://git.kernel.org/stable/c/5cba8ae00279296a586d0596443109d601b1d116 (opens in a new tab)
- https://git.kernel.org/stable/c/d00b61cd37f4c183ce0edbc9f8ccf6d5430ea357 (opens in a new tab)
- https://git.kernel.org/stable/c/2b351e3d04be9e1533f26c3464f1e44a5beace30 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-36463 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-40065)Record last updated .