CVE-2025-40065
Last modified
CVE-2025-40065 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
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.
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= fd7bb4a251dfc1da3496bf59a4793937c13e8c1f, < d00b61cd37f4c183ce0edbc9f8ccf6d5430ea357; >= fd7bb4a251dfc1da3496bf59a4793937c13e8c1f, < 2b351e3d04be9e1533f26c3464f1e44a5beace30 |
| Linux | Linux | 5.16 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-40065?
How severe is CVE-2025-40065?
How do I fix CVE-2025-40065?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-4006A vulnerability classified as critical has been found in you…5.1
- CVE-2025-40060In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40061In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-40062In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40063In the Linux kernel, the following vulnerability has been re…7
- CVE-2025-40064In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-40066In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40067In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-40068In the Linux kernel, the following vulnerability has been re…8.4
- CVE-2025-40069In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-4007A vulnerability classified as critical was found in Tenda W1…8.8
- CVE-2025-40070In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2025-40065?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
