Database/Kernel, userspace & hypervisor
powerpc/iommu: TCE IOBA range check ignores npages, allowing out-of-range table access
Impact
iommu_tce_check_ioba(), the unified IOBA validator for both KVM and VFIO on powerpc, hardcodes a page count of 1 and ignores the caller's npages. H_STUFF_TCE and H_PUT_TCE_INDIRECT legitimately pass npages > 1, so a guest or a VFIO user can submit a range that starts in bounds and runs past the end of the TCE table, with no overflow check on the arithmetic. That is a guest-controlled out-of-bounds access against host IOMMU translation state - the boundary that is supposed to keep a device-assigned VM from reaching other memory. Relevant only to POWER hosts doing KVM or VFIO device passthrough; x86 and arm64 accelerator nodes are unaffected.
Who can reach it
A KVM guest issuing TCE hypercalls, or a local user with VFIO access to a passed-through device, on a powerpc host. Authenticated access to the guest or the VFIO device is required.
What to do
Apply the stable fix that accounts for npages, checks for arithmetic overflow and validates the full requested range against the table size. Kernel update plus host reboot, so drain guests and GPU work from the node. No CVSS score or vendor advisory in the record.
References
Related entries
- KVM PPC Book3S HV: use-after-free on nested guest struct during all-LPID tlbie emulationCVE-2026-98283 · Linux kernel KVM PPC Book3S HV (kvmhv_emulate_tlbie_all_lpid)Unscored
- Xen netfront: backend-supplied short RX slot triggers BUG() in eth_type_trans or an over-readCVE-2026-98375 · Linux kernel xen-netfront (RX slot shorter than ETH_HLEN)Unscored
- Linux kernel bpf: percpu array inner map can be swapped for a smaller one, giving out-of-bounds accessCVE-2026-98376 · Linux kernel BPF percpu array map (inner map replacement in map-of-maps)Unscored
- Linux BPF: link iterator takes a reference to an unsettled link, leading to use-after-freeCVE-2026-98378 · Linux kernel BPF link iterator (bpf_link_get_curr_or_next, unsettled links)Unscored
- Linux BPF: dev-bound-only program can attach to a sibling netdev and run driver-specific kfuncsCVE-2026-98382 · Linux kernel BPF offload matching (__bpf_offload_dev_match, dev-bound programs)Unscored
- Linux BPF: LWT_SEG6LOCAL program can leave a dangling SRH pointer via bpf_skb_pull_data()CVE-2026-98383 · Linux kernel BPF LWT_SEG6LOCAL (bpf_skb_pull_data with cached SRH)Unscored
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.