Bug 2406737 (CVE-2025-40065) - CVE-2025-40065 kernel: RISC-V: KVM: Write hgatp register with valid mode bits
Summary: CVE-2025-40065 kernel: RISC-V: KVM: Write hgatp register with valid mode bits
Keywords:
Status: NEW
Alias: CVE-2025-40065
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-28 12:02 UTC by OSIDB Bzimport
Modified: 2025-10-28 19:14 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-10-28 12:02:51 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.