Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: iommu/mediatek: Fix NULL pointer deference in mtk_iommu_device_group Currently, mtk_iommu calls during probe iommu_device_register before the hw_list from driver data is initialized. Since iommu probing issue fix, it leads to NULL pointer dereference in mtk_iommu_device_group when hw_list is accessed with list_first_entry (not null safe). So, change the call order to ensure iommu_device_register is called after the driver data are initialized.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 9e3a2a64365318a743e3c0b028952d2cdbaf2b0c before 2f75cb27bef43c8692b0f5e471e5632f6a9beb99; affected 9e3a2a64365318a743e3c0b028952d2cdbaf2b0c before 6abd09bed43b8d83d461e0fb5b9a200a06aa8a27; affected 9e3a2a64365318a743e3c0b028952d2cdbaf2b0c before a0842539e8ef9386c070156103aff888e558a60c; affected 9e3a2a64365318a743e3c0b028952d2cdbaf2b0c before ce7d3b2f6f393fa35f0ea12861b83a1ca28b295c; affected 9e3a2a64365318a743e3c0b028952d2cdbaf2b0c before 69f9d2d37d1207c5a73dac52a4ce1361ead707f5; affected 9e3a2a64365318a743e3c0b028952d2cdbaf2b0c before 38e8844005e6068f336a3ad45451a562a0040ca1 |
| Linux / Linux | affected 5.19; unaffected 0 before 5.19; unaffected 6.1.135 through 6.1.*; unaffected 6.6.88 through 6.6.*; unaffected 6.12.24 through 6.12.*; unaffected 6.13.12 through 6.13.*; unaffected 6.14.3 through 6.14.*; unaffected 6.15 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/2f75cb27bef43c8692b0f5e471e5632f6a9beb99
- https://git.kernel.org/stable/c/6abd09bed43b8d83d461e0fb5b9a200a06aa8a27
- https://git.kernel.org/stable/c/a0842539e8ef9386c070156103aff888e558a60c
- https://git.kernel.org/stable/c/ce7d3b2f6f393fa35f0ea12861b83a1ca28b295c
- https://git.kernel.org/stable/c/69f9d2d37d1207c5a73dac52a4ce1361ead707f5
- https://git.kernel.org/stable/c/38e8844005e6068f336a3ad45451a562a0040ca1
ADP enrichment
No English description supplied.