Lucene search

K
osvGoogleOSV:CVE-2024-42145
HistoryJul 30, 2024 - 8:15 a.m.

CVE-2024-42145

2024-07-3008:15:06
Google
osv.dev
11
linux kernel
vulnerability
ib/core
umad receive list
risk
list overflow
size limit
opensm processing
packets
timeout
user-space

AI Score

8.3

Confidence

High

In the Linux kernel, the following vulnerability has been resolved:

IB/core: Implement a limit on UMAD receive List

The existing behavior of ib_umad, which maintains received MAD
packets in an unbounded list, poses a risk of uncontrolled growth.
As user-space applications extract packets from this list, the rate
of extraction may not match the rate of incoming packets, leading
to potential list overflow.

To address this, we introduce a limit to the size of the list. After
considering typical scenarios, such as OpenSM processing, which can
handle approximately 100k packets per second, and the 1-second retry
timeout for most packets, we set the list size limit to 200k. Packets
received beyond this limit are dropped, assuming they are likely timed
out by the time they are handled by user-space.

Notably, packets queued on the receive list due to reasons like
timed-out sends are preserved even when the list is full.