Bug 2363298 (CVE-2025-37748) - CVE-2025-37748 kernel: iommu/mediatek: Fix NULL pointer deference in mtk_iommu_device_group
Summary: CVE-2025-37748 kernel: iommu/mediatek: Fix NULL pointer deference in mtk_iomm...
Keywords:
Status: NEW
Alias: CVE-2025-37748
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-01 14:02 UTC by OSIDB Bzimport
Modified: 2025-05-02 03:40 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-01 14:02:46 UTC
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.

Comment 1 Avinash Hanwate 2025-05-02 03:28:05 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025050136-CVE-2025-37748-56c8@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.