CVE-2024-42145

IB/core: Implement a limit on UMAD receive List

State
Published
Severity
7.5 High
Published
Jul 30, 2024
Updated
Aug 5, 2026
Reserved
Jul 29, 2024

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 1288cf1cceb0e6df276e182f5412370fb4169bcbAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before b4913702419d064ec4c4bbf7270643c95cc89a1bAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 62349fbf86b5e13b02721bdadf98c29afd1e7b5fAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before d73cb8862e4d6760ccc94d3b57b9ef6271400607Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 63d202d948bb6d3a28cd8e8b96b160fa53e18baaAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before b8c5f635997f49c625178d1a0cb32a80ed33abe6Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before a6627fba793cc75b7365d9504a0095fb2902dda4Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before ca0b44e20a6f3032224599f02e7c8fb49525c894Affected
LinuxLinux
  • 2.6.12Affected
  • before 2.6.12Not affected
  • 4.19.318 through 4.19.*Not affected
  • 5.4.280 through 5.4.*Not affected
  • 5.10.222 through 5.10.*Not affected
  • 5.15.163 through 5.15.*Not affected
  • 6.1.98 through 6.1.*Not affected
  • 6.6.39 through 6.6.*Not affected
  • 6.9.9 through 6.9.*Not affected
  • 6.10 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.