Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99017

published high CVSS 3.1 · 7.0

riscv: errata: select RISCV_ALTERNATIVE_EARLY for THEAD GHOSTWRITE

Published
23 Oct 2026, 12:20:53 UTC
Updated
24 Oct 2026, 14:10:04 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux4bf97069239bcfca9840936313c7ac35a6e04488 to < fa465a7819ecbe5801b78c088d3cadaf2664b8ca · 4bf97069239bcfca9840936313c7ac35a6e04488 to < 7fee577a2fa78b9a76da015beec1ccf978746ebb · 4bf97069239bcfca9840936313c7ac35a6e04488 to < 298510bbc7c3017c0faf481c6ea66f1065b657b4 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.14 (affected) · 0 to < 6.14 (unaffected · semver) · 6.18.57 through 6.18.* (unaffected · semver) · 7.2.11 through 7.2.* (unaffected · semver) · 7.3 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Ubuntu noble linux-aws-7.0 Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-aws-7.0-cloud-tools-7.0.0-1017 Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-aws-7.0-headers-7.0.0-1017 Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-aws-7.0-tools-7.0.0-1017 Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu noble linux-azure-7.0 Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-azure-7.0-cloud-tools-7.0.0-1020 Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-azure-7.0-headers-7.0.0-1020 Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-azure-7.0-tools-7.0.0-1020 Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-azure-fde-7.0 Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-azure-fde-7.0-cloud-tools-7.0.0-1019 Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-azure-fde-7.0-headers-7.0.0-1019 Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-azure-fde-7.0-tools-7.0.0-1019 Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1016-oracle Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1016-oracle-64k Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1017-aws Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1017-aws-64k Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1017-gcp Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1017-gcp-64k Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1019-azure-fde Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1020-azure Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-buildinfo-7.0.0-1020-azure-64k Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-buildinfo-7.0.0-43-generic Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-buildinfo-7.0.0-43-generic-64k Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-cloud-tools-7.0.0-1017-aws Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-cloud-tools-7.0.0-1017-aws-64k Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-cloud-tools-7.0.0-1019-azure-fde Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-cloud-tools-7.0.0-1020-azure Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-cloud-tools-7.0.0-1020-azure-64k Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-cloud-tools-7.0.0-43-generic Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-gcp-7.0 Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-gcp-7.0-headers-7.0.0-1017 Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-gcp-7.0-tools-7.0.0-1017 Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1016-oracle Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1016-oracle-64k Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1017-aws Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1017-aws-64k Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1017-gcp Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1017-gcp-64k Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1019-azure-fde Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1020-azure Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-headers-7.0.0-1020-azure-64k Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-headers-7.0.0-43-generic Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-headers-7.0.0-43-generic-64k Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-hwe-7.0 Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-hwe-7.0-cloud-tools-7.0.0-43 Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-hwe-7.0-headers-7.0.0-43 Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-hwe-7.0-tools-7.0.0-43 Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-image-7.0.0-43-generic Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-image-unsigned-7.0.0-1016-oracle Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-image-unsigned-7.0.0-1016-oracle-64k Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-image-unsigned-7.0.0-1017-aws Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-image-unsigned-7.0.0-1017-aws-64k Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-image-unsigned-7.0.0-1017-gcp Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-image-unsigned-7.0.0-1017-gcp-64k Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-image-unsigned-7.0.0-1019-azure-fde Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-image-unsigned-7.0.0-1020-azure Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-image-unsigned-7.0.0-1020-azure-64k Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-image-unsigned-7.0.0-43-generic Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-image-unsigned-7.0.0-43-generic-64k Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-lib-rust-7.0.0-43-generic Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-modules-7.0.0-1016-oracle Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-modules-7.0.0-1016-oracle-64k Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-modules-7.0.0-1017-aws Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-modules-7.0.0-1017-aws-64k Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-modules-7.0.0-1017-gcp Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-modules-7.0.0-1017-gcp-64k Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-modules-7.0.0-1019-azure-fde Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-modules-7.0.0-1020-azure Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-modules-7.0.0-1020-azure-64k Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-modules-7.0.0-43-generic Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-modules-7.0.0-43-generic-64k Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-modules-iwlwifi-7.0.0-1019-azure-fde Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-modules-iwlwifi-7.0.0-1020-azure Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-oracle-7.0 Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-oracle-7.0-headers-7.0.0-1016 Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-oracle-7.0-tools-7.0.0-1016 Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1016-oracle Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1016-oracle-64k Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1017-aws Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1017-aws-64k Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1017-gcp Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1017-gcp-64k Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1019-azure-fde Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1020-azure Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-tools-7.0.0-1020-azure-64k Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-tools-7.0.0-43-generic Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu noble linux-tools-7.0.0-43-generic-64k Advisory build 7.0.0-43.43~24.04.1 USN-9018-2
Ubuntu resolute bpftool Advisory build 7.7.0+7.0.0-43.43 USN-9018-1
Ubuntu resolute linux Advisory build 7.0.0-43.43 USN-9018-1
Ubuntu resolute linux-aws Advisory build 7.0.0-1017.18 USN-9018-1
Ubuntu resolute linux-aws-cloud-tools-7.0.0-1017 Advisory build 7.0.0-1017.18 USN-9018-1
Ubuntu resolute linux-aws-headers-7.0.0-1017 Advisory build 7.0.0-1017.18 USN-9018-1
Ubuntu resolute linux-aws-tools-7.0.0-1017 Advisory build 7.0.0-1017.18 USN-9018-1
Ubuntu resolute linux-azure Advisory build 7.0.0-1020.21 USN-9019-1
Ubuntu resolute linux-azure-cloud-tools-7.0.0-1020 Advisory build 7.0.0-1020.21 USN-9019-1
Ubuntu resolute linux-azure-fde Advisory build 7.0.0-1019.19 USN-9020-1
Ubuntu resolute linux-azure-fde-cloud-tools-7.0.0-1019 Advisory build 7.0.0-1019.19 USN-9020-1
Ubuntu resolute linux-azure-fde-headers-7.0.0-1019 Advisory build 7.0.0-1019.19 USN-9020-1
Ubuntu resolute linux-azure-fde-tools-7.0.0-1019 Advisory build 7.0.0-1019.19 USN-9020-1
Ubuntu resolute linux-azure-headers-7.0.0-1020 Advisory build 7.0.0-1020.21 USN-9019-1

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

7

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.0 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - A local process executes the GhostWrite vector sequence; its first vector instruction follows handle_exception() through do_trap_insn_illegal() to riscv_v_first_use_handler(), after which the faulty store executes in U-mode. No network protocol carries the causal input. AC:H - Exposure requires a vulnerable T-Head C9xx with xtheadvector and the unusual build combination ERRATA_THEAD_GHOSTWRITE=y plus ERRATA_THEAD_MAE=n; both errata options default to y, and an attacker cannot create this kernel configuration. PR:L - riscv_v_first_use_handler() and riscv_v_vstate_ctrl_set_current() contain no capability check, so an ordinary local user can enable vector state and execute the sequence; no administrative privilege or user namespace is required. UI:N - The attacking process itself enables or first-uses vector state and executes the faulty store; no victim must mount media, open a file, or perform another action. S:U - The missed disable_xtheadvector() call lets a user process escalate into the kernel on the same host; this is a local user-to-kernel privilege escalation under the host's existing security authority. C:H - Leaving xtheadvector enabled exposes GhostWrite's arbitrary physical-write primitive; overwriting a PTE's page-frame number creates an arbitrary physical-read mapping covering kernel and other-process memory. I:H - Because ghostwrite_enable_mitigation() returns false without the early VULNERABLE state, faulty high-order vector stores remain usable for attacker-chosen byte writes to physical memory, including PTEs and kernel or machine-mode code. A:H - The same unrestricted physical writes can corrupt kernel text, page tables, or device MMIO, causing an unrecoverable kernel crash or system hang.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 4bf97069239bcfca9840936313c7ac35a6e04488 to < fa465a7819ecbe5801b78c088d3cadaf2664b8ca (affected · git)4bf97069239bcfca9840936313c7ac35a6e04488 to < 7fee577a2fa78b9a76da015beec1ccf978746ebb (affected · git)4bf97069239bcfca9840936313c7ac35a6e04488 to < 298510bbc7c3017c0faf481c6ea66f1065b657b4 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.14 (affected)0 to < 6.14 (unaffected · semver)6.18.57 through 6.18.* (unaffected · semver)7.2.11 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

1

Linux · cna

riscv: errata: select RISCV_ALTERNATIVE_EARLY for THEAD GHOSTWRITE

Provenance

Schema
5.2
Searchable
yes
Content hash
89e1a118b3a9c07e2287652a47725a606ce32b46e71634f944420ccff3a96cf3
Ingested
24 Oct 2026, 14:14:52 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected