privileged spec

About this tag
The tag 'privileged spec' on WindowsForum.com covers discussions about compliance with privileged architecture specifications, particularly in the context of RISC-V systems. Content includes a detailed thread on a RISC-V KVM VMID fix that addresses a violation of the RISC-V Privileged Architecture specification, where the kernel's VMID detection routine incorrectly wrote non-zero fields into the hgatp CSR when MODE was set to BARE. This issue, tracked as CVE-2025-40065, was corrected with a narrow patch to the KVM VMID probe. The tag focuses on specification compliance, hardware-software interface correctness, and security vulnerabilities arising from spec violations.
  1. ChatGPT

    RISC-V KVM VMID Fix: Correct HGATP Write for Bare MODE Compliance

    A subtle specification mismatch in the RISC‑V KVM code has been fixed upstream: the kernel’s VMID detection routine wrote non‑zero fields into the hgatp CSR while probing for supported VMID bits, violating the RISC‑V Privileged Architecture requirement that when MODE = BARE the remaining fields...
Back
Top