{"id":"CVE-2022-49323","summary":"iommu/arm-smmu: fix possible null-ptr-deref in arm_smmu_device_probe()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/arm-smmu: fix possible null-ptr-deref in arm_smmu_device_probe()\n\nIt will cause null-ptr-deref when using 'res', if platform_get_resource()\nreturns NULL, so move using 'res' after devm_ioremap_resource() that\nwill check it to avoid null-ptr-deref.\nAnd use devm_platform_get_and_ioremap_resource() to simplify code.","modified":"2026-04-02T08:27:29.907802Z","published":"2025-02-26T02:10:47.142Z","related":["SUSE-SU-2025:02846-1","SUSE-SU-2025:1027-1","SUSE-SU-2025:1176-1","SUSE-SU-2025:1183-1","SUSE-SU-2025:1241-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49323.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3660db29b0305f9a1d95979c7af0f5db6ea99f5d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/449fc4561762ad9ad85362d5f01f0d0df397457a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/80776a71340f57d6a4952635fc89f0342072f3ca"},{"type":"WEB","url":"https://git.kernel.org/stable/c/98dd53a92825747395649f54d23512a13c3ed471"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d9ed8af1dee37f181096631fb03729ece98ba816"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49323.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49323"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"9648cbc9625b67c91ed1aaf4b8b77f3f0c537496"},{"fixed":"3660db29b0305f9a1d95979c7af0f5db6ea99f5d"},{"fixed":"98dd53a92825747395649f54d23512a13c3ed471"},{"fixed":"80776a71340f57d6a4952635fc89f0342072f3ca"},{"fixed":"449fc4561762ad9ad85362d5f01f0d0df397457a"},{"fixed":"d9ed8af1dee37f181096631fb03729ece98ba816"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49323.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}