Linux Kernel Null Pointer Dereference Vulnerability in IOMMU/ARM-SMMU

Vulnerability

A null pointer dereference vulnerability has been identified in the Linux kernel's IOMMU/ARM-SMMU component. The issue arises in the 'arm_smmu_device_probe()' function when 'platform_get_resource()' returns NULL. This can lead to a null pointer dereference when the 'res' variable is used. The vulnerability has been addressed by modifying the code to use 'res' only after 'devm_ioremap_resource()' has checked it, and by employing 'devm_platform_get_and_ioremap_resource()' to streamline the code.

Impact

Exploitation of this vulnerability can lead to a null pointer dereference, causing a crash or undefined behavior in the kernel.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.0
remediation
0.0
relevance
0.0
threat
3.2
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.