CVE-2026-99017: riscv: errata: select RISCV_ALTERNATIVE_EARLY for THEAD GHOSTWRITE

Published Oct 23, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

riscv: errata: select RISCVALTERNATIVEEARLY for THEAD GHOSTWRITE

errataprobeghostwrite() only marks the CPU as vulnerable when it is called at the RISCVALTERNATIVESEARLYBOOT stage, and the mitigation in ghostwriteenablemitigation() only takes effect if the vulnerable state was recorded before the boot alternatives are patched.

The early boot stage is only executed when CONFIGRISCVALTERNATIVEEARLY is enabled, which currently is only selected by ERRATATHEADMAE. In a kernel built with ERRATATHEADGHOSTWRITE=y but ERRATATHEADMAE=n, the early alternatives never run, so ghostwritestate is never set to VULNERABLE: ghostwriteenablemitigation() returns false, xtheadvector remains enabled, and sysfs reports "Not affected" on a vulnerable T-Head C9xx CPU.

Select RISCVALTERNATIVEEARLY from ERRATATHEADGHOSTWRITE so that the vulnerability is detected in the early boot stage and the default mitigation is applied.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Select RISCV_ALTERNATIVE_EARLY from ERRATA_THEAD_GHOSTWRITE so early boot alternatives run and the T-Head C9xx Ghostwrite mitigation is applied.

    Linux kernel RISC-V errata configuration RISCV_ALTERNATIVE_EARLY = enabled when ERRATA_THEAD_GHOSTWRITE is enabled

Event History

Oct 23, 2026
CVE Published
via MITRE·12:20 PM
Data Sourced
via MITRE·12:20 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203