CVE-2022-48894

Medium

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.

SeverityMedium
CVSS5.5
Exploit probability—
ProductLinux Kernel
PublishedAug 21, 2024
First seenAug 21, 2024

How to fix

Update
  • linux linux_kernel6.1.7 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel6.1 ≤ v < 6.1.7, 6.26.1.7

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.