CVE Database›CVE-2025-40065

CVE-2025-40065

kernel: RISC-V: KVM: Write hgatp register with valid mode bits

Loading…

Severity

Unknown

Red Hat Product Security

—

CVSS

Review impact separately from score.

Published · October 28, 2025

Updated · June 30, 2026

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.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CWE not specified