CVE-2026-99017·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: riscv: errata: select RISCV_ALTERNATIVE_EARLY for THEAD GHOSTWRITE errata_probe_ghostwrite() only marks the CPU as vulnerable when it is called at the RISCV_ALTERNATIVES_EARLY_BOOT stage, and the mitigation in ghostwrite_enable_mitigation() only takes effect if the vulnerable state was recorded before the boot alternatives are patched. The early boot stage is only executed when CONFIG_RISCV_ALTERNATIVE_EARLY is enabled, which currently is only selected by ERRATA_THEAD_MAE. In a kernel built with ERRATA_THEAD_GHOSTWRITE=y but ERRATA_THEAD_MAE=n, the early alternatives never run, so ghostwrite_state is never set to VULNERABLE: ghostwrite_enable_mitigation() returns false, xtheadvector remains enabled, and sysfs reports "Not affected" on a vulnerable T-Head C9xx CPU. Select RISCV_ALTERNATIVE_EARLY from ERRATA_THEAD_GHOSTWRITE so that the vulnerability is detected in the early boot stage and the default mitigation is applied.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.18.57, 7.2.11, 7.3
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.16% — higher than 5% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-99017 scores 7 on CVSS, so a successful attack would be serious — but at 0.16%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
How to fix this CVE
CVE-2026-99017 affects RISC-V systems with T-Head C9xx processors where the GHOSTWRITE vulnerability mitigation may fail to activate if CONFIG_RISCV_ALTERNATIVE_EARLY is not enabled. Update to kernel 6.18.57, 7.2.11, or 7.3+ depending on your current branch to ensure the early boot vulnerability detection and mitigation are properly applied. Contact your Linux distribution for their patched kernel release, as they may provide backported fixes to your stable branch.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version: uname -r
- Step 2: Verify if you are running on a T-Head C9xx RISC-V processor: cat /proc/cpuinfo | grep -i thead
- Step 3: Check if RISCV_ALTERNATIVE_EARLY is enabled in your kernel config: cat /boot/config-$(uname -r) | grep RISCV_ALTERNATIVE_EARLY
- Step 4: Verify the mitigation is active post-patch: cat /sys/devices/system/cpu/vulnerabilities/ghostwrite (should not report 'Not affected' on vulnerable hardware after the fix)
FAQ
What is CVE-2026-99017?
This is a Linux kernel vulnerability affecting RISC-V T-Head C9xx processors where the GHOSTWRITE CPU errata mitigation fails to activate during early boot if RISCV_ALTERNATIVE_EARLY is not explicitly selected. This allows a potentially malicious local process to bypass the intended security mitigation.
Is CVE-2026-99017 being actively exploited?
No, this vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog, and no public exploit code is currently available.
What versions of Kernel are affected by CVE-2026-99017?
The vulnerability affects kernels prior to 6.18.57, 7.2.11, and 7.3+ depending on the stable branch you use. The impact is specific to RISC-V systems with T-Head C9xx processors built with ERRATA_THEAD_GHOSTWRITE enabled.
How do I check if my server is vulnerable to CVE-2026-99017?
Run 'uname -r' to check your kernel version against the fixed versions listed, and 'cat /proc/cpuinfo | grep vendor_id' to confirm you have a T-Head processor. If you find a vulnerable kernel version on T-Head hardware and RISCV_ALTERNATIVE_EARLY is not enabled, your system needs the patch.
Does Defensia detect CVE-2026-99017?
Yes — Defensia's CVE advisory scanner compares installed kernel package versions against the NVD database. If the Linux kernel is installed on a monitored RISC-V system, CVE-2026-99017 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-99017. Free for 1 server.
Get started free