# CVE-2026-99017: riscv: errata: select RISCV\_ALTERNATIVE\_EARLY for THEAD GHOSTWRITE

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.15% (percentile 2, 2026-11-26)
- **Published:** 2026-10-23T12:20:53.518Z
- **Modified:** 2026-10-24T14:16:52.790Z

## Who should check

- Anyone running Linux \>= 4bf97069239bcfca9840936313c7ac35a6e04488, \< fa465a7819ecbe5801b78c088d3cadaf2664b8ca; \>= 4bf97069239bcfca9840936313c7ac35a6e04488, \< 7fee577a2fa78b9a76da015beec1ccf978746ebb; \>= 4bf97069239bcfca9840936313c7ac35a6e04488, \< 298510bbc7c3017c0faf481c6ea66f1065b657b4
- Anyone running Linux 6.14

## Description

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.

## Affected and fixed versions

- Linux: \>= 4bf97069239bcfca9840936313c7ac35a6e04488, \< fa465a7819ecbe5801b78c088d3cadaf2664b8ca; \>= 4bf97069239bcfca9840936313c7ac35a6e04488, \< 7fee577a2fa78b9a76da015beec1ccf978746ebb; \>= 4bf97069239bcfca9840936313c7ac35a6e04488, \< 298510bbc7c3017c0faf481c6ea66f1065b657b4 (cvelist)
- Linux: 6.14 (cvelist)

## Mitigation

- Upgrade Linux to 298510bbc7c3017c0faf481c6ea66f1065b657b4 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99017. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99017.md
Affected: Linux >= 4bf97069239bcfca9840936313c7ac35a6e04488, < fa465a7819ecbe5801b78c088d3cadaf2664b8ca; >= 4bf97069239bcfca9840936313c7ac35a6e04488, < 7fee577a2fa78b9a76da015beec1ccf978746ebb; >= 4bf97069239bcfca9840936313c7ac35a6e04488, < 298510bbc7c3017c0faf481c6ea66f1065b657b4; Linux 6.14
Fixed in: Linux 7fee577a2fa78b9a76da015beec1ccf978746ebb, Linux 298510bbc7c3017c0faf481c6ea66f1065b657b4

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99017 being exploited?

There is no confirmed exploitation: CVE-2026-99017 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.15% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-99017?

High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-99017?

Linux \>= 4bf97069239bcfca9840936313c7ac35a6e04488, \< fa465a7819ecbe5801b78c088d3cadaf2664b8ca; \>= 4bf97069239bcfca9840936313c7ac35a6e04488, \< 7fee577a2fa78b9a76da015beec1ccf978746ebb; \>= 4bf97069239bcfca9840936313c7ac35a6e04488, \< 298510bbc7c3017c0faf481c6ea66f1065b657b4; Linux 6.14.

### Is there a fix for CVE-2026-99017?

Yes. Fixed in Linux 7fee577a2fa78b9a76da015beec1ccf978746ebb, Linux 298510bbc7c3017c0faf481c6ea66f1065b657b4. Upgrade Linux to 298510bbc7c3017c0faf481c6ea66f1065b657b4 or later.

### How do I check if I'm affected by CVE-2026-99017?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/fa465a7819ecbe5801b78c088d3cadaf2664b8ca>
- other: <https://git.kernel.org/stable/c/7fee577a2fa78b9a76da015beec1ccf978746ebb>
- other: <https://git.kernel.org/stable/c/298510bbc7c3017c0faf481c6ea66f1065b657b4>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99017>

HTML: <https://flawdb.com/CVE-2026-99017> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99017>
