CVE-2022-49323

Source
https://cve.org/CVERecord?id=CVE-2022-49323
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49323.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49323
Downstream
Related
Published
2025-02-26T02:10:47.142Z
Modified
2026-04-11T12:43:53.917310Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
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:

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

It will cause null-ptr-deref when using 'res', if platformgetresource() returns NULL, so move using 'res' after devmioremapresource() that will check it to avoid null-ptr-deref. And use devmplatformgetandioremap_resource() to simplify code.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49323.json"
}
References

Affected packages

Git / 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/osv-test-cve-osv-conversion/osv-output/CVE-2022-49323.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.11.0
Fixed
5.10.122
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.47
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
5.17.15
Type
ECOSYSTEM
Events
Introduced
5.18.0
Fixed
5.18.4

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49323.json"