Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
8412e5dd24ffc8bc21a00bfaa0b80d4596cdc9da to < 896ec55da3b90bdb9fc04fedc17ad8c359b2eee5affected26593928564cf5b576ff05d3cbd958f57c9534bb to < 5c04217d06a1161aaf36267e9d971ab6f847d5a7affected26593928564cf5b576ff05d3cbd958f57c9534bb to < 1ef70a0b104ae8011811f60bcfaa55ff49385171affected26593928564cf5b576ff05d3cbd958f57c9534bb to < f6c08d3aa441bbc1956e9d65f1cbb89113a5aa8aaffected26593928564cf5b576ff05d3cbd958f57c9534bb to < de83d4617f9fe059623e97acf7e1e10d209625b5affected51080de72e26771f0ed9d44982974279ccbc92b8affected6.1.2 to < 6.1.160affected6.0.16 to < 6.1affected
Linux Linux
Default version status: affected
6.2affected0 to < 6.2unaffected6.1.160 to ≤ 6.1.*unaffected6.6.120 to ≤ 6.6.*unaffected6.12.64 to ≤ 6.12.*unaffected6.18.3 to ≤ 6.18.*unaffected6.19 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/896ec55da3b90bdb9fc04fedc17ad8c359b2eee5 ↗
- https://git.kernel.org/stable/c/5c04217d06a1161aaf36267e9d971ab6f847d5a7 ↗
- https://git.kernel.org/stable/c/1ef70a0b104ae8011811f60bcfaa55ff49385171 ↗
- https://git.kernel.org/stable/c/f6c08d3aa441bbc1956e9d65f1cbb89113a5aa8a ↗
- https://git.kernel.org/stable/c/de83d4617f9fe059623e97acf7e1e10d209625b5 ↗