CVE-2022-48894

MEDIUM

Linux Kernel 6.1-6.1.6 - NULL Pointer Dereference in IOMMU ARM-SMMUv3 Shutdown

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: iommu/arm-smmu-v3: Don't unregister on shutdown Similar to SMMUv2, this driver calls iommu_device_unregister() from the shutdown path, which removes the IOMMU groups with no coordination whatsoever with their users - shutdown methods are optional in device drivers. This can lead to NULL pointer dereferences in those drivers' DMA API calls, or worse. Instead of calling the full arm_smmu_device_remove() from arm_smmu_device_shutdown(), let's pick only the relevant function call - arm_smmu_device_disable() - more or less the reverse of arm_smmu_device_reset() - and call just that from the shutdown path.

Scores

CVSS v3 5.5
EPSS 0.0021
EPSS Percentile 10.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-476
Status published
Products (9)
linux/Kernel 6.1.0 - 6.1.7linux
Linux/Linux < 6.1
Linux/Linux 57365a04c92126525a58bf7a1599ddfa832415e9 - 32ea2c57dc216b6ad8125fa680d31daa5d421c95
Linux/Linux 57365a04c92126525a58bf7a1599ddfa832415e9 - ead3e6c79479890444c777fd329afc125fecde48
Linux/Linux 6.1
Linux/Linux 6.1.7 - 6.1.*
Linux/Linux 6.2
linux/linux_kernel 6.2 rc1 (3 CPE variants)
linux/linux_kernel 6.1 - 6.1.7
Published Aug 21, 2024
Tracked Since Feb 18, 2026