CVE-2026-98282

powerpc/iommu: Fix the overflow validation in iommu_tce_check_ioba

State
Published
Severity
8.8 High
Published
Oct 6, 2026
Updated
Oct 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • b1af23d836f811137d504d14d4cbdd01929dec34 to before 98d8dcc4ebd10523507d4478e148809a7771a213Affected
  • b1af23d836f811137d504d14d4cbdd01929dec34 to before 9fd9c9bbb05417f468a11fb6d145d7ff61f4a868Affected
  • b1af23d836f811137d504d14d4cbdd01929dec34 to before 3776bf56e06980e8a12c8c0565d9e6ac44965f03Affected
  • b1af23d836f811137d504d14d4cbdd01929dec34 to before d6a1779129d936bc1fbab80181165da544eab736Affected
  • b1af23d836f811137d504d14d4cbdd01929dec34 to before d48ceb6e1a6915c7bac4f902554a1047365cdff2Affected
  • b1af23d836f811137d504d14d4cbdd01929dec34 to before 0543813753ef5cfbd6fa96694f7acf783fa01af7Affected
  • b1af23d836f811137d504d14d4cbdd01929dec34 to before 314091243159f8e3749bc719bb129f423f72fd86Affected
  • b1af23d836f811137d504d14d4cbdd01929dec34 to before 0b271f7d7f5ed45bc498a03ce0aa9cfd8402fc71Affected
LinuxLinux
  • 4.12Affected
  • before 4.12Not affected
  • 5.10.271 through 5.10.*Not affected
  • 5.15.222 through 5.15.*Not affected
  • 6.1.189 through 6.1.*Not affected
  • 6.6.158 through 6.6.*Not affected
  • 6.12.112 through 6.12.*Not affected
  • 6.18.54 through 6.18.*Not affected
  • 7.2.8 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.