KernelScan.io

HIGH Introduced in 4.12

powerpc TceCheck Overflow

CVE-2026-98282

CVSS 8.8 / 10.0 NVD

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

KernelScan AI9.3CRITICAL

01

In the Linux kernel, the following vulnerability has been resolved: powerpc/iommu: Fix the overflow validation in iommu_tce_check_ioba The commit b1af23d836f8 ("KVM: PPC: iommu: Unify TCE checking") unified IOBA parameter checking across KVM and VFIO into iommu_tce_check_ioba(). While doing so, the passed in argument npages is ignored and constant value '1' is used leaving out a possible overflow as the callers can legitimately be using npages > 1 for H_STUFF_TCE or H_PUT_TCE_INDIRECT cases. Fix this by accounting for 'npages', checking for arithmetic overflow, and verifying that the entire requested range (ioba - offset + npages) does not exceed the table capacity 'size'.

02

Engine v0.7.0

Risk summary

A VM guest on a PowerPC KVM host can bypass IOMMU table bounds validation by issuing TCE update hypercalls with a large page count, causing the host kernel to access memory beyond the IOMMU table. This can lead to host kernel memory corruption, information disclosure, or a crash. The vulnerability requires no special guest privileges and is reachable from any guest configured with IOMMU/TCE access.

Affectedarch/powerpc/kernel/iommu.c (powerpc iommu)

Vulnerability analysis

The IOMMU translation table bounds check on PowerPC ignores the page count parameter and validates only a single page, so a request spanning many pages can extend past the end of the table without being rejected. A malicious VM guest can exploit this by issuing TCE update hypercalls with a large page count, causing the host kernel to read or write memory beyond the IOMMU table boundary. The fix accounts for the full requested range, checks for arithmetic overflow in the address calculation, and rejects any request whose end exceeds the table capacity. This is reachable from a VM guest on a PowerPC KVM host without any special guest privileges, and also from a local process with VFIO device access.

03

BranchIntroducedFixed inPatch commit
5.104.125.10.27198d8dcc4ebd1
5.154.125.15.2229fd9c9bbb054
6.14.126.1.1893776bf56e069
6.124.126.12.112d48ceb6e1a69
6.184.126.18.540543813753ef
6.64.126.6.158d6a1779129d9
7.24.127.2.8314091243159
mainline4.127.30b271f7d7f5e
cip/4.194.124.19.325-cip1374138d5777883
cip/4.19-rt4.124.19.325-cip137-rt514138d5777883
cip/5.104.125.10.271-cip7898d8dcc4ebd1
cip/5.10-rt4.125.10.272-cip79-rt3598d8dcc4ebd1
cip/6.14.126.1.189-cip613776bf56e069
cip/6.1-rt4.126.1.189-cip61-rt323776bf56e069
cip/6.124.126.12.112-cip33d48ceb6e1a69

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.112-cip33
cip/6.1Fixed in 6.1.189-cip61
cip/6.1-rtFixed in 6.1.189-cip61-rt32
cip/5.10Fixed in 5.10.271-cip78
cip/5.10-rtFixed in 5.10.272-cip79-rt35
cip/4.19Fixed in 4.19.325-cip137
cip/4.19-rtFixed in 4.19.325-cip137-rt51