# CVE-2026-98282: powerpc/iommu: Fix the overflow validation in iommu_tce_check_ioba

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-10-06T08:45:43.775Z
- Modified: 2026-10-19T10:18:29.667Z
- Assigned by: Linux

## Description

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

(As written by CVE List.)

## Affected

- Linux Linux: from b1af23d836f811137d504d14d4cbdd01929dec34 before 98d8dcc4ebd10523507d4478e148809a7771a213; from b1af23d836f811137d504d14d4cbdd01929dec34 before 9fd9c9bbb05417f468a11fb6d145d7ff61f4a868; from b1af23d836f811137d504d14d4cbdd01929dec34 before 3776bf56e06980e8a12c8c0565d9e6ac44965f03; from b1af23d836f811137d504d14d4cbdd01929dec34 before d6a1779129d936bc1fbab80181165da544eab736; from b1af23d836f811137d504d14d4cbdd01929dec34 before d48ceb6e1a6915c7bac4f902554a1047365cdff2; from b1af23d836f811137d504d14d4cbdd01929dec34 before 0543813753ef5cfbd6fa96694f7acf783fa01af7; from b1af23d836f811137d504d14d4cbdd01929dec34 before 314091243159f8e3749bc719bb129f423f72fd86; from b1af23d836f811137d504d14d4cbdd01929dec34 before 0b271f7d7f5ed45bc498a03ce0aa9cfd8402fc71; 4.12 (not affected: before 4.12; from 5.10.271 up to 5.10.*; from 5.15.222 up to 5.15.*; from 6.1.189 up to 6.1.*; from 6.6.158 up to 6.6.*; from 6.12.112 up to 6.12.*; from 6.18.54 up to 6.18.*; from 7.2.8 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/98d8dcc4ebd10523507d4478e148809a7771a213>
- <https://git.kernel.org/stable/c/9fd9c9bbb05417f468a11fb6d145d7ff61f4a868>
- <https://git.kernel.org/stable/c/3776bf56e06980e8a12c8c0565d9e6ac44965f03>
- <https://git.kernel.org/stable/c/d6a1779129d936bc1fbab80181165da544eab736>
- <https://git.kernel.org/stable/c/d48ceb6e1a6915c7bac4f902554a1047365cdff2>
- <https://git.kernel.org/stable/c/0543813753ef5cfbd6fa96694f7acf783fa01af7>
- <https://git.kernel.org/stable/c/314091243159f8e3749bc719bb129f423f72fd86>
- <https://git.kernel.org/stable/c/0b271f7d7f5ed45bc498a03ce0aa9cfd8402fc71>

## Sources

- CVE List: [CVE-2026-98282](https://www.cve.org/CVERecord?id=CVE-2026-98282), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98282](https://nvd.nist.gov/vuln/detail/CVE-2026-98282), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98282 · Whole record: https://cve.day/CVE-2026-98282.json · Rebuilt by cve.day 2026-11-25T22:59:42.315Z
