CVE-2025-40065
Awaiting Analysis
Awaiting Analysis - Queue
BaseFortify
Publication date: 2025-10-28
Last updated on: 2025-10-30
Assigner: kernel.org
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
Currently, no data is known.
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability involves the Linux kernel's handling of the hgatp register in the RISC-V KVM (Kernel-based Virtual Machine). According to the RISC-V Privileged Architecture Specification, when the MODE field is set to Bare, software must write zero to the remaining fields of the hgatp register. The vulnerability arises because the system previously detected the valid mode supported by the hardware and used a valid mode to determine how many VMID bits are supported, which does not comply with the specification.
Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70