Linux Kernel IOMMU Shift-Out-Of-Bounds Vulnerability in IOVA Bitmap Handling

Vulnerability

A shift-out-of-bounds vulnerability has been identified in the Linux kernel's IOMMU fault handling, specifically within the IOVA bitmap management. This issue arises in the 'iova_bitmap_offset_to_index()' function, where the constant '1' (treated as a 32-bit integer) is shifted by 'bitmap->mapped.pgshift', an unsigned long value. If 'pgshift' exceeds 31, the operation can overflow, leading to undefined behavior. The vulnerability affects several versions of the Linux kernel.

Impact

Exploitation of this vulnerability could lead to undefined behavior in the kernel, potentially causing memory corruption or other unintended consequences.

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.