CVE-2025-37748

iommu/mediatek: Fix NULL pointer deference in mtk_iommu_device_group

MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.19 % · percentile 8 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

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.

Weaknesses (CWE)

  • CWE-476 — NULL Pointer Dereference

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 9e3a2a64365318a743e3c0b028952d2cdbaf2b0c < 2f75cb27bef43c8692b0f5e471e5632f6a9beb99 ; affected 9e3a2a64365318a743e3c0b028952d2cdbaf2b0c < 6abd09bed43b8d83d461e0fb5b9a200a06aa8a27 ; affected 9e3a2a64365318a743e3c0b028952d2cdbaf2b0c < a0842539e8ef9386c070156103aff888e558a60c ; affected 9e3a2a64365318a743e3c0b028952d2cdbaf2b0c < ce7d3b2f6f393fa35f0ea12861b83a1ca28b295c ; affected 9e3a2a64365318a743e3c0b028952d2cdbaf2b0c < 69f9d2d37d1207c5a73dac52a4ce1361ead707f5 ; affected 9e3a2a64365318a743e3c0b028952d2cdbaf2b0c < 38e8844005e6068f336a3ad45451a562a0040ca1
Linux · Linuxaffected 5.19 ; unaffected 0 < 5.19 ; unaffected 6.1.135 ≤ 6.1.* ; unaffected 6.6.88 ≤ 6.6.* ; unaffected 6.12.24 ≤ 6.12.* ; unaffected 6.13.12 ≤ 6.13.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD