← CVE Intelligence

CVE-2026-89452

iommu/msm: Unwind probe state on registration failure PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 42df43b36163ed7d0ab13992e411093252903273 before 6a1ae472113762f794682229a0f233f1ee0f69a4; affected 42df43b36163ed7d0ab13992e411093252903273 before 51e37f9179387b6e3fa64a3d3b4fece1a38b3a02; affected 42df43b36163ed7d0ab13992e411093252903273 before f532401be9312ecd166f616bb74a65b0b4c150fa; affected 42df43b36163ed7d0ab13992e411093252903273 before 7f7074a886c4a93e3d12076ce60a510a1ebe400c; affected 42df43b36163ed7d0ab13992e411093252903273 before 535a200220ca2c83bc8bf54bd2cbe045d6ee70c4
Linux / Linuxaffected 4.11; unaffected 0 before 4.11; unaffected 6.6.160 through 6.6.*; unaffected 6.12.112 through 6.12.*; unaffected 6.18.50 through 6.18.*; unaffected 7.2.4 through 7.2.*; unaffected 7.3 through *

CWE

No CWE identifiers supplied.

References