# CVE-2022-49323: iommu/arm-smmu: fix possible null-ptr-deref in arm_smmu_device_probe()

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-01)
- Published: 2025-02-26T02:10:47.142Z
- Modified: 2026-06-17T05:17:42.990Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 9648cbc9625b67c91ed1aaf4b8b77f3f0c537496 before 3660db29b0305f9a1d95979c7af0f5db6ea99f5d; from 9648cbc9625b67c91ed1aaf4b8b77f3f0c537496 before 98dd53a92825747395649f54d23512a13c3ed471; from 9648cbc9625b67c91ed1aaf4b8b77f3f0c537496 before 80776a71340f57d6a4952635fc89f0342072f3ca; from 9648cbc9625b67c91ed1aaf4b8b77f3f0c537496 before 449fc4561762ad9ad85362d5f01f0d0df397457a; from 9648cbc9625b67c91ed1aaf4b8b77f3f0c537496 before d9ed8af1dee37f181096631fb03729ece98ba816; 4.11 (not affected: before 4.11; from 5.10.122 up to 5.10.*; from 5.15.47 up to 5.15.*; from 5.17.15 up to 5.17.*; from 5.18.4 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: before 5.10.122; from 5.11 before 5.15.47; from 5.16 before 5.17.15; from 5.18 before 5.18.4

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/3660db29b0305f9a1d95979c7af0f5db6ea99f5d> (patch)
- <https://git.kernel.org/stable/c/98dd53a92825747395649f54d23512a13c3ed471> (patch)
- <https://git.kernel.org/stable/c/80776a71340f57d6a4952635fc89f0342072f3ca> (patch)
- <https://git.kernel.org/stable/c/449fc4561762ad9ad85362d5f01f0d0df397457a> (patch)
- <https://git.kernel.org/stable/c/d9ed8af1dee37f181096631fb03729ece98ba816> (patch)

## Sources

- CVE List: [CVE-2022-49323](https://www.cve.org/CVERecord?id=CVE-2022-49323), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49323](https://nvd.nist.gov/vuln/detail/CVE-2022-49323), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49323 · Whole record: https://cve.day/CVE-2022-49323.json · Rebuilt by cve.day 2026-11-25T22:58:20.405Z
