CVE-2026-98283

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

8.8 high EPSS 0.17%

Published 6 Oct 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-98283

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98283 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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.

Severity (CVSS)

8.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
changed: the damage reaches other components, such as the host of a container or other users
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.75% of all scored CVEs. Scores of 29 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from e3b6b4661527e821ffbe3db83952fdb1e6e47c49, before 4d8f7b1f586375df8bce23a0909566ad5e852259
affected from e3b6b4661527e821ffbe3db83952fdb1e6e47c49, before e37fba1ba69385cff2d0e60b371ee19e7d1852d1
affected from e3b6b4661527e821ffbe3db83952fdb1e6e47c49, before 24b634852413229bb8340d908b115c3365f3a247
affected from e3b6b4661527e821ffbe3db83952fdb1e6e47c49, before fbf69b7d0555ee83c871f58750770f74b7179ad1
affected from e3b6b4661527e821ffbe3db83952fdb1e6e47c49, before ec2d7a52b3996ae81131617b4afc0af31583c1b4
affected from e3b6b4661527e821ffbe3db83952fdb1e6e47c49, before 51938dfa8a51a4f85328413fca9b6e21f9d2d088
Other versions: unaffected
Linux
affected 4.20
unaffected before 4.20
unaffected from 6.1.189 up to and including 6.1.*
unaffected from 6.6.158 up to and including 6.6.*
unaffected from 6.12.112 up to and including 6.12.*
unaffected from 6.18.54 up to and including 6.18.*
unaffected from 7.2.8 up to and including 7.2.*
unaffected 7.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98283 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98283

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-98283
trivy image --scanners vuln IMAGE | grep CVE-2026-98283

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-98283 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.