{"id":"CVE-2026-98282","summary":"powerpc/iommu: Fix the overflow validation in iommu_tce_check_ioba","details":"In the Linux kernel, the following vulnerability has been resolved:\n\npowerpc/iommu: Fix the overflow validation in iommu_tce_check_ioba\n\nThe commit b1af23d836f8 (\"KVM: PPC: iommu: Unify TCE checking\") unified\nIOBA parameter checking across KVM and VFIO into iommu_tce_check_ioba().\nWhile doing so, the passed in argument npages is ignored and constant\nvalue '1' is used leaving out a possible overflow as the callers can\nlegitimately be using npages \u003e 1 for H_STUFF_TCE or H_PUT_TCE_INDIRECT\ncases.\n\nFix this by accounting for 'npages', checking for arithmetic overflow,\nand verifying that the entire requested range (ioba - offset + npages)\ndoes not exceed the table capacity 'size'.","modified":"2026-10-07T02:47:26.301073245Z","published":"2026-10-06T08:45:43.775Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98282.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0543813753ef5cfbd6fa96694f7acf783fa01af7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0b271f7d7f5ed45bc498a03ce0aa9cfd8402fc71"},{"type":"WEB","url":"https://git.kernel.org/stable/c/314091243159f8e3749bc719bb129f423f72fd86"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3776bf56e06980e8a12c8c0565d9e6ac44965f03"},{"type":"WEB","url":"https://git.kernel.org/stable/c/98d8dcc4ebd10523507d4478e148809a7771a213"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9fd9c9bbb05417f468a11fb6d145d7ff61f4a868"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d48ceb6e1a6915c7bac4f902554a1047365cdff2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d6a1779129d936bc1fbab80181165da544eab736"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98282.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98282"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98282.json"}}],"schema_version":"1.9.0"}