# CVE-2026-98283: KVM: PPC: Book3S HV: fix use-after-free in kvmhv\_emulate\_tlbie\_all\_lpid()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-28)
- **Published:** 2026-10-06T08:45:44.593Z
- **Modified:** 2026-10-19T10:18:29.817Z

## Who should check

- Anyone running Linux \>= e3b6b4661527e821ffbe3db83952fdb1e6e47c49, \< 4d8f7b1f586375df8bce23a0909566ad5e852259; \>= e3b6b4661527e821ffbe3db83952fdb1e6e47c49, \< e37fba1ba69385cff2d0e60b371ee19e7d1852d1; \>= e3b6b4661527e821ffbe3db83952fdb1e6e47c49, \< 24b634852413229bb8340d908b115c3365f3a247; \>= e3b6b4661527e821ffbe3db83952fdb1e6e47c49, \< fbf69b7d0555ee83c871f58750770f74b7179ad1; \>= e3b6b4661527e821ffbe3db83952fdb1e6e47c49, \< ec2d7a52b3996ae81131617b4afc0af31583c1b4; \>= e3b6b4661527e821ffbe3db83952fdb1e6e47c49, \< 51938dfa8a51a4f85328413fca9b6e21f9d2d088
- Anyone running Linux 4.20

## 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.

## Affected and fixed versions

- Linux: \>= e3b6b4661527e821ffbe3db83952fdb1e6e47c49, \< 4d8f7b1f586375df8bce23a0909566ad5e852259; \>= e3b6b4661527e821ffbe3db83952fdb1e6e47c49, \< e37fba1ba69385cff2d0e60b371ee19e7d1852d1; \>= e3b6b4661527e821ffbe3db83952fdb1e6e47c49, \< 24b634852413229bb8340d908b115c3365f3a247; \>= e3b6b4661527e821ffbe3db83952fdb1e6e47c49, \< fbf69b7d0555ee83c871f58750770f74b7179ad1; \>= e3b6b4661527e821ffbe3db83952fdb1e6e47c49, \< ec2d7a52b3996ae81131617b4afc0af31583c1b4; \>= e3b6b4661527e821ffbe3db83952fdb1e6e47c49, \< 51938dfa8a51a4f85328413fca9b6e21f9d2d088 (cvelist)
- Linux: 4.20 (cvelist)

## Mitigation

- Upgrade Linux to 51938dfa8a51a4f85328413fca9b6e21f9d2d088 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98283. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98283.md
Affected: Linux >= e3b6b4661527e821ffbe3db83952fdb1e6e47c49, < 4d8f7b1f586375df8bce23a0909566ad5e852259; >= e3b6b4661527e821ffbe3db83952fdb1e6e47c49, < e37fba1ba69385cff2d0e60b371ee19e7d1852d1; >= e3b6b4661527e821ffbe3db83952fdb1e6e47c49, < 24b634852413229bb8340d908b115c3365f3a247; >= e3b6b4661527e821ffbe3db…
Fixed in: Linux 4d8f7b1f586375df8bce23a0909566ad5e852259, Linux 24b634852413229bb8340d908b115c3365f3a247, Linux 51938dfa8a51a4f85328413fca9b6e21f9d2d088

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98283 being exploited?

There is no confirmed exploitation: CVE-2026-98283 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-98283?

High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-98283?

Linux \>= e3b6b4661527e821ffbe3db83952fdb1e6e47c49, \< 4d8f7b1f586375df8bce23a0909566ad5e852259; \>= e3b6b4661527e821ffbe3db83952fdb1e6e47c49, \< e37fba1ba69385cff2d0e60b371ee19e7d1852d1; \>= e3b6b4661527e821ffbe3db83952fdb1e6e47c49, \< 24b634852413229bb8340d908b115c3365f3a247; \>= e3b6b4661527e821ffbe3db83952fdb1e6e47c49, \< fbf69b7d0555ee83c871f58750770f74b7179ad1; \>= e3b6b4661527e821ffbe3db83952fdb1e6e47c49, \< ec2d7a52b3996ae81131617b4afc0af31583c1b4; \>= e3b6b4661527e821ffbe3db83952fdb1e6e47c49, \< 51938dfa8a51a4f85328413fca9b6e21f9d2d088; Linux 4.20.

### Is there a fix for CVE-2026-98283?

Yes. Fixed in Linux 4d8f7b1f586375df8bce23a0909566ad5e852259, Linux 24b634852413229bb8340d908b115c3365f3a247, Linux 51938dfa8a51a4f85328413fca9b6e21f9d2d088. Upgrade Linux to 51938dfa8a51a4f85328413fca9b6e21f9d2d088 or later.

### How do I check if I'm affected by CVE-2026-98283?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/4d8f7b1f586375df8bce23a0909566ad5e852259>
- other: <https://git.kernel.org/stable/c/e37fba1ba69385cff2d0e60b371ee19e7d1852d1>
- other: <https://git.kernel.org/stable/c/24b634852413229bb8340d908b115c3365f3a247>
- other: <https://git.kernel.org/stable/c/fbf69b7d0555ee83c871f58750770f74b7179ad1>
- other: <https://git.kernel.org/stable/c/ec2d7a52b3996ae81131617b4afc0af31583c1b4>
- other: <https://git.kernel.org/stable/c/51938dfa8a51a4f85328413fca9b6e21f9d2d088>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98283>

HTML: <https://flawdb.com/CVE-2026-98283> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98283>
