Linux Kernel RDMA/core ib Block Iterator Counter Overflow Vulnerability

Vulnerability

A vulnerability in the Linux kernel's RDMA/core component has been addressed, concerning a counter overflow in the ib block iterator. This issue arises when registering a new DMA memory region after selecting the optimal alignment for the page size. The process involves iterating over the scatter-gather list to divide each entry into smaller, aligned DMA blocks. In certain scenarios where the scatter-gather entry and page size align in specific ways, an unaligned entry can require covering a total size of aligned pages of 4GB or more. This misalignment can cause the counter, which tracks progress through the scatter-gather entry, to overflow, leading to an infinite loop in the iterator function. The vulnerability has been fixed by modifying the advancement condition to prevent the counter from exceeding the entry size.

Impact

The vulnerability could cause an infinite loop in the ib block iterator, disrupting normal operations and potentially leading to a denial-of-service condition.

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
5.3
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.