{
  "id": "CVE-2026-98283",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-98283",
  "published_at": "2026-10-06T08:45:44.593Z",
  "title": "KVM: PPC: Book3S HV: fix use-after-free in kvmhv_emulate_tlbie_all_lpid()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/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\nKVM: PPC: Book3S HV: fix use-after-free in kvmhv_emulate_tlbie_all_lpid()\n\nkvmhv_emulate_tlbie_all_lpid() iterates the nested-guest IDR and drops\nmmu_lock before calling kvmhv_emulate_tlbie_lpid(), but does not hold a\nreference on the kvm_nested_guest pointer obtained from the IDR.  A\nconcurrent vCPU issuing a single-LPID tlbie (is=2, ric=2) can race\nthrough kvmhv_flush_nested() -\u003e kvmhv_remove_nested() -\u003e idr_remove /\n--refcnt -\u003e kvmhv_release_nested() -\u003e kfree(gp) in that window, leaving\nthe iterating vCPU with a dangling pointer.  The subsequent\nmutex_lock(\u0026gp-\u003etlb_lock) and accesses to gp-\u003eshadow_pgtable,\ngp-\u003eshadow_lpid and gp-\u003el1_host all touch freed memory.  The free path\nis fully L1-controlled.\n\nFix this by incrementing gp-\u003erefcnt inside the loop before dropping\nmmu_lock, mirroring what kvmhv_get_nested() does, and releasing the\nreference with kvmhv_put_nested() after the per-guest work completes.\nThis is the same get/put discipline already used at every other\ncall site that drops mmu_lock while holding a nested-guest pointer.",
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= e3b6b4661527e821ffbe3db83952fdb1e6e47c49, \u003c 4d8f7b1f586375df8bce23a0909566ad5e852259",
          "\u003e= e3b6b4661527e821ffbe3db83952fdb1e6e47c49, \u003c e37fba1ba69385cff2d0e60b371ee19e7d1852d1",
          "\u003e= e3b6b4661527e821ffbe3db83952fdb1e6e47c49, \u003c 24b634852413229bb8340d908b115c3365f3a247",
          "\u003e= e3b6b4661527e821ffbe3db83952fdb1e6e47c49, \u003c fbf69b7d0555ee83c871f58750770f74b7179ad1",
          "\u003e= e3b6b4661527e821ffbe3db83952fdb1e6e47c49, \u003c ec2d7a52b3996ae81131617b4afc0af31583c1b4",
          "\u003e= e3b6b4661527e821ffbe3db83952fdb1e6e47c49, \u003c 51938dfa8a51a4f85328413fca9b6e21f9d2d088"
        ],
        "fixed_in": [
          "4d8f7b1f586375df8bce23a0909566ad5e852259",
          "e37fba1ba69385cff2d0e60b371ee19e7d1852d1",
          "24b634852413229bb8340d908b115c3365f3a247",
          "fbf69b7d0555ee83c871f58750770f74b7179ad1",
          "ec2d7a52b3996ae81131617b4afc0af31583c1b4",
          "51938dfa8a51a4f85328413fca9b6e21f9d2d088"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "4.20"
        ],
        "fixed_in": [
          "0",
          "6.1.189",
          "6.6.158",
          "6.12.112",
          "6.18.54",
          "7.2.8",
          "7.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 4d8f7b1f586375df8bce23a0909566ad5e852259 or e37fba1ba69385cff2d0e60b371ee19e7d1852d1 or 24b634852413229bb8340d908b115c3365f3a247 or fbf69b7d0555ee83c871f58750770f74b7179ad1 or ec2d7a52b3996ae81131617b4afc0af31583c1b4 or 51938dfa8a51a4f85328413fca9b6e21f9d2d088 or later.",
      "Upgrade Linux to 0 or 6.1.189 or 6.6.158 or 6.12.112 or 6.18.54 or 7.2.8 or 7.3 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
