powerpc/iommu: Fix the overflow validation in iommu_tce_check_ioba
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'.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.271, 5.15.222, 6.1.189, 6.12.112, 6.18.54, 6.6.158, 7.2.8
- CVEs
- CVE-2026-98282
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 19:37 UTC · Revision 1
Source evidence
powerpc/iommu: Fix the overflow validation in iommu_tce_check_ioba
core-osv · Original sourcePublished 6 Oct 2026, 08:45 UTC
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'.
osv:CVE-2026-98282
Kernel
Fixed versions: 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.112, 6.18.54, 7.2.8
Complete source record
{
"id": "c2e7bbe17b78733a1203ceaf95bdd7e0e6496110f0a82672721bc27d69266d45",
"url": "https://osv.dev/vulnerability/CVE-2026-98282",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "powerpc/iommu: Fix the overflow validation in iommu_tce_check_ioba",
"summary": "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'.",
"evidence": "osv:CVE-2026-98282",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.271",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.222",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.189",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.158",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.112",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.54",
"evidence": "/affected/1/ranges"
},
{
"value": "7.2.8",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2026-98282",
"aliases": [
"CVE-2026-98282"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "b1af23d836f811137d504d14d4cbdd01929dec34"
},
{
"fixed": "98d8dcc4ebd10523507d4478e148809a7771a213"
},
{
"fixed": "9fd9c9bbb05417f468a11fb6d145d7ff61f4a868"
},
{
"fixed": "3776bf56e06980e8a12c8c0565d9e6ac44965f03"
},
{
"fixed": "d6a1779129d936bc1fbab80181165da544eab736"
},
{
"fixed": "d48ceb6e1a6915c7bac4f902554a1047365cdff2"
},
{
"fixed": "0543813753ef5cfbd6fa96694f7acf783fa01af7"
},
{
"fixed": "314091243159f8e3749bc719bb129f423f72fd86"
},
{
"fixed": "0b271f7d7f5ed45bc498a03ce0aa9cfd8402fc71"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98282.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.12.0"
},
{
"fixed": "5.10.271"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.222"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.189"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.158"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.112"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.54"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.2.8"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98282.json"
}
}
],
"modified": "2026-10-28T02:30:38.588722707Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/0543813753ef5cfbd6fa96694f7acf783fa01af7",
"https://git.kernel.org/stable/c/0b271f7d7f5ed45bc498a03ce0aa9cfd8402fc71",
"https://git.kernel.org/stable/c/314091243159f8e3749bc719bb129f423f72fd86",
"https://git.kernel.org/stable/c/3776bf56e06980e8a12c8c0565d9e6ac44965f03",
"https://git.kernel.org/stable/c/98d8dcc4ebd10523507d4478e148809a7771a213",
"https://git.kernel.org/stable/c/9fd9c9bbb05417f468a11fb6d145d7ff61f4a868",
"https://git.kernel.org/stable/c/d48ceb6e1a6915c7bac4f902554a1047365cdff2",
"https://git.kernel.org/stable/c/d6a1779129d936bc1fbab80181165da544eab736",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98282.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-98282",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98282.json"
}
},
"related_cves": [
{
"value": "CVE-2026-98282",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 506250,
"published_at": "2026-10-06T08:45:43.775+00:00"
}