iommu/msm: Unwind probe state on registration failure
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 51424c14dbdadc8c2ad4abf842265a50f69d78aa, Kernel 51e37f9179387b6e3fa64a3d3b4fece1a38b3a02, Kernel 535a200220ca2c83bc8bf54bd2cbe045d6ee70c4 and 3 more.
In the Linux kernel, the following vulnerability has been resolved: iommu/msm: Unwind probe state on registration failure msm_iommu_probe() adds its devm-managed IOMMU object to qcom_iommu_devices before adding the IOMMU sysfs device and registering it with the IOMMU core. If iommu_device_sysfs_add() fails, probe returns with the object still on qcom_iommu_devices. The driver core then releases the devm allocation, leaving a dangling list entry that later list walks may dereference. If iommu_device_register() fails, the same dangling list entry remains and the sysfs device is left registered as well. Unwind the sysfs device and global list entry in reverse setup order on the corresponding failure paths.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =4.11, >=42df43b36163ed7d0ab13992e411093252903273 <51424c14dbdadc8c2ad4abf842265a50f69d78aa, >=42df43b36163ed7d0ab13992e411093252903273 <51e37f9179387b6e3fa64a3d3b4fece1a38b3a02, >=42df43b36163ed7d0ab13992e411093252903273 <535a200220ca2c83bc8bf54bd2cbe045d6ee70c4, >=42df43b36163ed7d0ab13992e411093252903273 <6a1ae472113762f794682229a0f233f1ee0f69a4, >=42df43b36163ed7d0ab13992e411093252903273 <7f7074a886c4a93e3d12076ce60a510a1ebe400c, >=42df43b36163ed7d0ab13992e411093252903273 <f532401be9312ecd166f616bb74a65b0b4c150fa | 51424c14dbdadc8c2ad4abf842265a50f69d78aa, 51e37f9179387b6e3fa64a3d3b4fece1a38b3a02, 535a200220ca2c83bc8bf54bd2cbe045d6ee70c4, 6a1ae472113762f794682229a0f233f1ee0f69a4, 7f7074a886c4a93e3d12076ce60a510a1ebe400c, f532401be9312ecd166f616bb74a65b0b4c150fa |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket