Skip to main content

In the Linux kernel, the following vulnerability has been resolved: riscv: errata: select RISCV_ALTERNATIVE_EARLY for THEAD GHOSTWRITE… (CVE-2026-99017)

0
Medium
Published: 10/23/2026 (10/23/2026, 15:31:34 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel related to the RISCV architecture's ghostwrite errata has been resolved. The issue involved improper detection and mitigation of the ghostwrite vulnerability during early boot stages when certain kernel configuration options were set inconsistently. This could cause the system to incorrectly report that a vulnerable CPU was not affected and fail to apply the necessary mitigation. The fix ensures that the vulnerability is detected early and mitigated properly by selecting RISCV_ALTERNATIVE_EARLY in the kernel configuration.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/23/2026, 18:56:19 UTC

Technical Analysis

The Linux kernel vulnerability CVE-2026-99017 concerns the RISCV architecture's handling of the ghostwrite errata. Specifically, the function errata_probe_ghostwrite() only marks the CPU as vulnerable if called during the RISCV_ALTERNATIVES_EARLY_BOOT stage, which is executed only if CONFIG_RISCV_ALTERNATIVE_EARLY is enabled. This configuration is currently selected only by ERRATA_THEAD_MAE. In kernels built with ERRATA_THEAD_GHOSTWRITE=y but ERRATA_THEAD_MAE=n, the early boot stage does not run, so the vulnerable state is never recorded. Consequently, ghostwrite_enable_mitigation() returns false, leaving the mitigation disabled and sysfs incorrectly reporting the CPU as not affected. The resolution is to select RISCV_ALTERNATIVE_EARLY from ERRATA_THEAD_GHOSTWRITE to ensure early detection and application of the mitigation.

Potential Impact

Without the fix, systems running a Linux kernel configured with ERRATA_THEAD_GHOSTWRITE=y but ERRATA_THEAD_MAE=n on vulnerable T-Head C9xx CPUs may fail to detect the ghostwrite vulnerability and not apply the mitigation. This could leave the CPU exposed to the ghostwrite errata, potentially impacting system security. The sysfs interface would also incorrectly report the CPU as not affected, misleading administrators.

Mitigation Recommendations

A fix is available that ensures the kernel configuration selects RISCV_ALTERNATIVE_EARLY from ERRATA_THEAD_GHOSTWRITE, enabling early detection and mitigation of the ghostwrite vulnerability. Users should update their Linux kernel to a version including this fix or ensure their kernel configuration includes this selection. No other mitigation steps are indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-67f9-vvv7-wpq7
Osv Schema Version
1.4.0
Aliases
["CVE-2026-99017"]

Threat ID: 6adbaacfd73cc49347b2055c

Added to database: 10/23/2026, 18:43:27 UTC

Last enriched: 10/23/2026, 18:56:19 UTC

Last updated: 10/23/2026, 23:05:11 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses