Bug 2301511 (CVE-2024-42145) - CVE-2024-42145 kernel: IB/core: Implement a limit on UMAD receive List
Summary: CVE-2024-42145 kernel: IB/core: Implement a limit on UMAD receive List
Keywords:
Status: NEW
Alias: CVE-2024-42145
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2302006
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-30 08:38 UTC by OSIDB Bzimport
Modified: 2024-08-16 15:34 UTC (History)
4 users (show)

Fixed In Version: kernel 4.19.318, kernel 5.4.280, kernel 5.10.222, kernel 5.15.163, kernel 6.1.98, kernel 6.6.39, kernel 6.9.9, kernel 6.10
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-07-30 08:38:38 UTC
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.

Comment 1 Mauro Matteo Cascella 2024-07-31 10:38:28 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024073032-CVE-2024-42145-5c7b@gregkh/T

Comment 2 Mauro Matteo Cascella 2024-07-31 10:38:47 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2302006]


Note You need to log in before you can comment on or make changes to this bug.