iommu/s390: Fix NULL dereference in iova_to_phys() with ZPCI_TABLE_TYPE_RFX
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 20db6573301e66cd65ebf6c130b6563c69374d9d, Kernel 41b5e0ce6801bf04d8fd3bca46e8c393349ebd5c, Kernel d0502ed0a1aae97e2ab7a21545903ba612d9f02e and 2 more.
In the Linux kernel, the following vulnerability has been resolved: iommu/s390: Fix NULL dereference in iova_to_phys() with ZPCI_TABLE_TYPE_RFX When using a 5-level translation table via ZPCI_TABLE_TYPE_RFX get_rso_from_iova() returns NULL when the region-first entry is invalid. Yet in get_rto_from_iova() the region-second origin rso is not checked to be non-NULL before accessing rso[rsx] leading to a NULL pointer dereference instead of a NULL return when iova_to_phys() is called on a unmapped IOVA. Fix this by adding the missing NULL check.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.16, >=81244074b518aeb90de5f68e7e825564c29c5c50 <20db6573301e66cd65ebf6c130b6563c69374d9d, >=81244074b518aeb90de5f68e7e825564c29c5c50 <41b5e0ce6801bf04d8fd3bca46e8c393349ebd5c, >=81244074b518aeb90de5f68e7e825564c29c5c50 <d0502ed0a1aae97e2ab7a21545903ba612d9f02e | 20db6573301e66cd65ebf6c130b6563c69374d9d, 41b5e0ce6801bf04d8fd3bca46e8c393349ebd5c, d0502ed0a1aae97e2ab7a21545903ba612d9f02e |
| linux-kernel: Kernel | >=6.16.0 <6.18.53, >=6.19.0 <7.2.7 | 6.18.53, 7.2.7 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket