CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's IOMMU subsystem, specifically in the msm_iommu_probe() function, where a failure in device registration can lead to a dangling list entry in qcom_iommu_devices. This flaw may result in dereferencing invalid memory during subsequent list operations, potentially causing system instability or crashes. Organizations using affected Linux kernel versions, particularly those relying on IOMMU for device management, should prioritize addressing this vulnerability to maintain system integrity and reliability.
Original NVD Description
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.