CVE-2022-49323

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

MEDIUM
5.5
CVSS Score
Published: February 26, 2025 at 02:10 AM UTC
Updated: June 17, 2026 at 05:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.10.1224.11 ≤ v < 5.10.1224.11 ≤ v < 5.15.474.11 ≤ v < 5.17.154.11 ≤ v < 5.18.44.11 ≤ v < 5.195.11 ≤ v < 5.15.475.16 ≤ v < 5.17.155.18 ≤ v < 5.18.44.119648cbc9625b67c91ed1aaf4b8b77f3f0c537496
Vendor states this is fixed in 3660db29b0305f9a1d95979c7af0f5db6ea99f5d (fixed)
Vendor states this is fixed in 449fc4561762ad9ad85362d5f01f0d0df397457a (fixed)
Vendor states this is fixed in 80776a71340f57d6a4952635fc89f0342072f3ca (fixed)
Vendor states this is fixed in 98dd53a92825747395649f54d23512a13c3ed471 (fixed)
Vendor states this is fixed in d9ed8af1dee37f181096631fb03729ece98ba816 (fixed)
Vendor states this is fixed in 4.11 (unaffected)
Vendor states this is fixed in 5.10.122 (unaffected)
Vendor states this is fixed in 5.15.47 (unaffected)
Vendor states this is fixed in 5.17.15 (unaffected)
Vendor states this is fixed in 5.18.4 (unaffected)
Vendor states this is fixed in 5.19 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3660db29b0305f9a1d95979c7af0f5db6ea99f5d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/449fc4561762ad9ad85362d5f01f0d0df397457a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/80776a71340f57d6a4952635fc89f0342072f3ca
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/98dd53a92825747395649f54d23512a13c3ed471
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d9ed8af1dee37f181096631fb03729ece98ba816

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card