{
  "id": "CVE-2026-99017",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-99017",
  "published_at": "2026-10-23T12:20:53.518Z",
  "title": "riscv: errata: select RISCV_ALTERNATIVE_EARLY for THEAD GHOSTWRITE",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cvss_by_source": {
    "cna": 7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 4bf97069239bcfca9840936313c7ac35a6e04488, \u003c fa465a7819ecbe5801b78c088d3cadaf2664b8ca",
          "\u003e= 4bf97069239bcfca9840936313c7ac35a6e04488, \u003c 7fee577a2fa78b9a76da015beec1ccf978746ebb",
          "\u003e= 4bf97069239bcfca9840936313c7ac35a6e04488, \u003c 298510bbc7c3017c0faf481c6ea66f1065b657b4"
        ],
        "fixed_in": [
          "fa465a7819ecbe5801b78c088d3cadaf2664b8ca",
          "7fee577a2fa78b9a76da015beec1ccf978746ebb",
          "298510bbc7c3017c0faf481c6ea66f1065b657b4"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.14"
        ],
        "fixed_in": [
          "0",
          "6.18.57",
          "7.2.11",
          "7.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to fa465a7819ecbe5801b78c088d3cadaf2664b8ca or 7fee577a2fa78b9a76da015beec1ccf978746ebb or 298510bbc7c3017c0faf481c6ea66f1065b657b4 or later.",
      "Upgrade Linux to 0 or 6.18.57 or 7.2.11 or 7.3 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
