{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-49323","id":"CVE-2022-49323","title":"iommu/arm-smmu: fix possible null-ptr-deref in arm_smmu_device_probe()","description":"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.","descriptionLong":"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.","published":"2025-02-26T02:10:47.142Z","updated":"2026-10-28T02:31:09.744440542Z","reserved":"2025-02-26T02:08:31.537Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"9648cbc9625b67c91ed1aaf4b8b77f3f0c537496","lessThan":"3660db29b0305f9a1d95979c7af0f5db6ea99f5d","status":"affected","versionType":"git"},{"version":"9648cbc9625b67c91ed1aaf4b8b77f3f0c537496","lessThan":"98dd53a92825747395649f54d23512a13c3ed471","status":"affected","versionType":"git"},{"version":"9648cbc9625b67c91ed1aaf4b8b77f3f0c537496","lessThan":"80776a71340f57d6a4952635fc89f0342072f3ca","status":"affected","versionType":"git"},{"version":"9648cbc9625b67c91ed1aaf4b8b77f3f0c537496","lessThan":"449fc4561762ad9ad85362d5f01f0d0df397457a","status":"affected","versionType":"git"},{"version":"9648cbc9625b67c91ed1aaf4b8b77f3f0c537496","lessThan":"d9ed8af1dee37f181096631fb03729ece98ba816","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.11","status":"affected"},{"version":"0","lessThan":"4.11","status":"unaffected","versionType":"semver"},{"version":"5.10.122","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.47","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.17.15","lessThanOrEqual":"5.17.*","status":"unaffected","versionType":"semver"},{"version":"5.18.4","lessThanOrEqual":"5.18.*","status":"unaffected","versionType":"semver"},{"version":"5.19","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/3660db29b0305f9a1d95979c7af0f5db6ea99f5d","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/98dd53a92825747395649f54d23512a13c3ed471","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/80776a71340f57d6a4952635fc89f0342072f3ca","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/449fc4561762ad9ad85362d5f01f0d0df397457a","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/d9ed8af1dee37f181096631fb03729ece98ba816","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49323.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49323","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00277,"epssPercentile":0.2043,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-49323","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49323","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-49323","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-49323","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}