{"id":"CVE-2026-99017","published":"2026-10-23T12:20:53Z","modified":"2026-10-24T14:10:04Z","title":"riscv: errata: select RISCV_ALTERNATIVE_EARLY for THEAD GHOSTWRITE","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nriscv: errata: select RISCV_ALTERNATIVE_EARLY for THEAD GHOSTWRITE\n\nerrata_probe_ghostwrite() only marks the CPU as vulnerable when it is\ncalled at the RISCV_ALTERNATIVES_EARLY_BOOT stage, and the mitigation\nin ghostwrite_enable_mitigation() only takes effect if the vulnerable\nstate was recorded before the boot alternatives are patched.\n\nThe early boot stage is only executed when CONFIG_RISCV_ALTERNATIVE_EARLY\nis enabled, which currently is only selected by ERRATA_THEAD_MAE. In a\nkernel built with ERRATA_THEAD_GHOSTWRITE=y but ERRATA_THEAD_MAE=n, the\nearly alternatives never run, so ghostwrite_state is never set to\nVULNERABLE: ghostwrite_enable_mitigation() returns false, xtheadvector\nremains enabled, and sysfs reports \"Not affected\" on a vulnerable\nT-Head C9xx CPU.\n\nSelect RISCV_ALTERNATIVE_EARLY from ERRATA_THEAD_GHOSTWRITE so that the\nvulnerability is detected in the early boot stage and the default\nmitigation is applied.","provenance":"source","from":"CVE.org"},"cvss":{"score":7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00163,"percentile":0.05482,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/fa465a7819ecbe5801b78c088d3cadaf2664b8ca","tags":[]},{"url":"https://git.kernel.org/stable/c/7fee577a2fa78b9a76da015beec1ccf978746ebb","tags":[]},{"url":"https://git.kernel.org/stable/c/298510bbc7c3017c0faf481c6ea66f1065b657b4","tags":[]}],"priority":{"score":6.0,"factors":[{"name":"EPSS percentile","points":1.1},{"name":"CVSS severity","points":4.9}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 4bf97069239bcfca9840936313c7ac35a6e04488, < fa465a7819ecbe5801b78c088d3cadaf2664b8ca",">= 4bf97069239bcfca9840936313c7ac35a6e04488, < 7fee577a2fa78b9a76da015beec1ccf978746ebb",">= 4bf97069239bcfca9840936313c7ac35a6e04488, < 298510bbc7c3017c0faf481c6ea66f1065b657b4"]},{"vendor":"Linux","product":"Linux","versions":["6.14"]}],"euvd":{"id":"EUVD-2026-108811","exploited":false,"provenance":"source"}}