iommu/mediatek: Fix crash on isr after kexec()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.0.176.1.36.2In the Linux kernel, the following vulnerability has been resolved:
iommu/mediatek: Fix crash on isr after kexec()
If the system is rebooted via isr(), the IRQ handler might be triggered before the domain is initialized. Resulting on an invalid memory access error.
Fix: [ 0.500930] Unable to handle kernel read from unreadable memory at virtual address 0000000000000070 [ 0.501166] Call trace: [ 0.501174] report_iommu_fault+0x28/0xfc [ 0.501180] mtk_iommu_isr+0x10c/0x1c0
[ joro: Fixed spelling in commit message ]
From the CVE record · Linux
The Linux kernel’s MediaTek IOMMU IRQ handler can access invalid memory if it runs before the IOMMU domain is initialized during a reboot via isr(). This can crash the kernel; the input does not specify how an attacker could trigger it or whether access or user interaction is required.
Engineers running Linux kernels with the MediaTek IOMMU driver should check their systems; affected versions are not specified.