CVE-2025-40065
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
28/10/2025
Last modified:
30/10/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
RISC-V: KVM: Write hgatp register with valid mode bits<br />
<br />
According to the RISC-V Privileged Architecture Spec, when MODE=Bare<br />
is selected,software must write zero to the remaining fields of hgatp.<br />
<br />
We have detected the valid mode supported by the HW before, So using a<br />
valid mode to detect how many vmid bits are supported.



