CVE-2022-49323

iommu/arm-smmu: fix possible null-ptr-deref in arm_smmu_device_probe()

Medium · published February 26, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
19.0
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

iommu/arm-smmu: fix possible null-ptr-deref in arm_smmu_device_probe()

It will cause null-ptr-deref when using 'res', if platform_get_resource()

returns NULL, so move using 'res' after devm_ioremap_resource() that

will check it to avoid null-ptr-deref.

And use devm_platform_get_and_ioremap_resource() to simplify code.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00277 · 19.0th percentile
Published
2025-02-26T02:10Z
EPSS history
Timeline
  • 26 FEB 02:10Z
    iommu/arm-smmu: fix possible null-ptr-deref in arm_smmu_device_probe()
    cvelistv5