CVE-2025-71071

Summary

In the Linux kernel, the following vulnerability has been resolved:

iommu/mediatek: fix use-after-free on probe deferral

The driver is dropping the references taken to the larb devices during probe after successful lookup as well as on errors. This can potentially lead to a use-after-free in case a larb device has not yet been bound to its driver so that the iommu driver probe defers.

Fix this by keeping the references as expected while the iommu driver is bound.

Affected Software

VendorProductVersion RangeStatus
LinuxLinux8412e5dd24ffc8bc21a00bfaa0b80d4596cdc9da < 896ec55da3b90bdb9fc04fedc17ad8c359b2eee5affected
LinuxLinux26593928564cf5b576ff05d3cbd958f57c9534bb < 5c04217d06a1161aaf36267e9d971ab6f847d5a7affected
LinuxLinux26593928564cf5b576ff05d3cbd958f57c9534bb < 1ef70a0b104ae8011811f60bcfaa55ff49385171affected
LinuxLinux26593928564cf5b576ff05d3cbd958f57c9534bb < f6c08d3aa441bbc1956e9d65f1cbb89113a5aa8aaffected
LinuxLinux26593928564cf5b576ff05d3cbd958f57c9534bb < de83d4617f9fe059623e97acf7e1e10d209625b5affected
LinuxLinux51080de72e26771f0ed9d44982974279ccbc92b8affected
LinuxLinux6.1.2 < 6.1.160affected
LinuxLinux6.0.16 < 6.1affected
LinuxLinux6.2affected
LinuxLinux0 < 6.2unaffected
LinuxLinux6.1.160 <= 6.1.*unaffected
LinuxLinux6.6.120 <= 6.6.*unaffected
LinuxLinux6.12.64 <= 6.12.*unaffected
LinuxLinux6.18.3 <= 6.18.*unaffected
LinuxLinux6.19 <= *unaffected

Weaknesses

References