VDB

CVE-2026-98283

CVE-2026-98283 PUBLISHED CVSS 8.8 HIGH

KVM: PPC: Book3S HV: fix use-after-free in kvmhv_emulate_tlbie_all_lpid()

Reported by linux · Published October 6, 2026

In the Linux kernel, the following vulnerability has been resolved: KVM: PPC: Book3S HV: fix use-after-free in kvmhv_emulate_tlbie_all_lpid() kvmhv_emulate_tlbie_all_lpid() iterates the nested-guest IDR and drops mmu_lock before calling kvmhv_emulate_tlbie_lpid(), but does not hold a reference on the kvm_nested_guest pointer obtained from the IDR. A concurrent vCPU issuing a single-LPID tlbie (is=2, ric=2) can race through kvmhv_flush_nested() -> kvmhv_remove_nested() -> idr_remove / --refcnt -> kvmhv_release_nested() -> kfree(gp) in that window, leaving the iterating vCPU with a dangling pointer. The subsequent mutex_lock(&gp->tlb_lock) and accesses to gp->shadow_pgtable, gp->shadow_lpid and gp->l1_host all touch freed memory. The free path is fully L1-controlled. Fix this by incrementing gp->refcnt inside the loop before dropping mmu_lock, mirroring what kvmhv_get_nested() does, and releasing the reference with kvmhv_put_nested() after the per-guest work completes. This is the same get/put discipline already used at every other call site that drops mmu_lock while holding a nested-guest pointer.

EPSS 0.13% · 2.2th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinuxfbf69b7d0555ee83c871f58750770f74b7179ad1, ec2d7a52b3996ae81131617b4afc0af31583c1b4, e37fba1ba69385cff2d0e60b371ee19e7d1852d1, 51938dfa8a51a4f85328413fca9b6e21f9d2d088, 4d8f7b1f586375df8bce23a0909566ad5e852259, 24b634852413229bb8340d908b115c3365f3a247

Risk scores

CVSS 3.1
8.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS Score
0.13%
2.2th percentile

Affected products

VendorProductVersions
LinuxLinuxe3b6b4661527e821ffbe3db83952fdb1e6e47c49, e3b6b4661527e821ffbe3db83952fdb1e6e47c49, e3b6b4661527e821ffbe3db83952fdb1e6e47c49
LinuxLinux4.20, 0, 6.1.189
LinuxLinux7.3, 0, 6.1.189
linuxlinux_kernel4.20, 4.20, 4.20

Timeline

  • Oct 6, 2026 EPSS Score (4 in total, the first dated here)
  • Oct 6, 2026 Coalition ESS Score
  • Oct 6, 2026 CVE Published
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-98283
vulnetix vdb fixes CVE-2026-98283

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98283/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›