RISC-V: KVM: Write hgatp register with valid mode bits
Priority LOW 22Published · Updated
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
Summary
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.
Why it matters now
EPSS 0.00238 14th percentileScored 2026-11-07
Fix Fixed Linux (Linux): 6.1.191, 6.6.160, 6.12.114 +2
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
- Fix · CNA Linux (Linux) Fixed in 6.1.191, 6.6.160, 6.12.114, 6.17.3, 6.18
Vendor assessments
Red Hat
Not affected: 5 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2025-40065
- 2026-10-03 Alias added: GHSA-m7w6-fmw8-2v8x
- 2026-10-21 Fix available: Linux/Linux@5cba8ae00279296a586d0596443109d601b1d116, Linux/[email protected], Linux/[email protected] +1 · CNA
- 2026-10-21 2 new references · CNA
- 2026-10-30 Fix available: Linux/[email protected], Linux/Linux@feb64ca53d97b3ac8ba9ecbeae5f9426f1513650 · CNA
- 2026-10-30 1 new reference · CNA
References
Other 5
- https://git.kernel.org/stable/c/feb64ca53d97b3ac8ba9ecbeae5f9426f1513650
- https://git.kernel.org/stable/c/8b6e327736db013b9e385c3f6f9f0b04ddf26e43
- https://git.kernel.org/stable/c/5cba8ae00279296a586d0596443109d601b1d116
- https://git.kernel.org/stable/c/d00b61cd37f4c183ce0edbc9f8ccf6d5430ea357
- https://git.kernel.org/stable/c/2b351e3d04be9e1533f26c3464f1e44a5beace30
More Linux vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Incorrect authorization in Ubuntu linux kernel KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2025-40065 · CVE Program
- CVE-2025-40065 · NVD
- FIRST EPSS
- GHSA-m7w6-fmw8-2v8x · GitHub Advisory Database · CC BY 4.0
- CVE-2025-40065 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences