Unrated severityNVD Advisory· Published Oct 28, 2025· Updated Oct 30, 2026
CVE-2025-40065
CVE-2025-40065
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
4- osv-coords3 versionspkg:rpm/opensuse/kernel-source&distro=openSUSE%20Tumbleweedpkg:linux/kernelpkg:rpm/opensuse/kernel-source-longterm&distro=openSUSE%20Tumbleweed
< 6.17.7-1.1+ 2 more
- (no CPE)range: < 6.17.7-1.1
- (no CPE)range: >= 5.16.0, < 6.1.191
- (no CPE)range: < 6.18.16-1.1
Patches
Vulnerability mechanics
References
5- git.kernel.org/stable/c/2b351e3d04be9e1533f26c3464f1e44a5beace30nvd
- git.kernel.org/stable/c/5cba8ae00279296a586d0596443109d601b1d116nvd
- git.kernel.org/stable/c/8b6e327736db013b9e385c3f6f9f0b04ddf26e43nvd
- git.kernel.org/stable/c/d00b61cd37f4c183ce0edbc9f8ccf6d5430ea357nvd
- git.kernel.org/stable/c/feb64ca53d97b3ac8ba9ecbeae5f9426f1513650nvd
News mentions
0No linked articles in our index yet.