powerpc/iommu: Fix the overflow validation in iommu_tce_check_ioba (Linux Linux)

CVE-2026-98282
HIGH 8.8

En bref

Source
NVD
EPSS
EPSS 0.13 % · centile 3 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

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

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 8.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected b1af23d836f811137d504d14d4cbdd01929dec34 < 98d8dcc4ebd10523507d4478e148809a7771a213 ; affected b1af23d836f811137d504d14d4cbdd01929dec34 < 9fd9c9bbb05417f468a11fb6d145d7ff61f4a868 ; affected b1af23d836f811137d504d14d4cbdd01929dec34 < 3776bf56e06980e8a12c8c0565d9e6ac44965f03 ; affected b1af23d836f811137d504d14d4cbdd01929dec34 < d6a1779129d936bc1fbab80181165da544eab736 ; affected b1af23d836f811137d504d14d4cbdd01929dec34 < d48ceb6e1a6915c7bac4f902554a1047365cdff2 ; affected b1af23d836f811137d504d14d4cbdd01929dec34 < 0543813753ef5cfbd6fa96694f7acf783fa01af7
Linux · Linuxaffected 4.12 ; unaffected 0 < 4.12 ; unaffected 5.10.271 ≤ 5.10.* ; unaffected 5.15.222 ≤ 5.15.* ; unaffected 6.1.189 ≤ 6.1.* ; unaffected 6.6.158 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD