7.5high
IB/core: Implement a limit on UMAD receive List
- Severity
- 7.5high CVSS:3.1 by Linux
- Exploit likelihood
- 0.87% (higher than 59% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 1288cf1cceb0e6df276e182f5412370fb4169bcb, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before b4913702419d064ec4c4bbf7270643c95cc89a1b, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 62349fbf86b5e13b02721bdadf98c29afd1e7b5f, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before d73cb8862e4d6760ccc94d3b57b9ef6271400607, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 63d202d948bb6d3a28cd8e8b96b160fa53e18baa, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before b8c5f635997f49c625178d1a0cb32a80ed33abe6, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before a6627fba793cc75b7365d9504a0095fb2902dda4, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before ca0b44e20a6f3032224599f02e7c8fb49525c894 and 1 more Not affected: before 2.6.12, from 4.19.318 up to 4.19.*, from 5.4.280 up to 5.4.*, from 5.10.222 up to 5.10.*, from 5.15.163 up to 5.15.*, from 6.1.98 up to 6.1.* | CVE List |
| linux linux_kernel | before 4.19.318, from 4.20 before 5.4.280, from 5.5 before 5.10.222, from 5.11 before 5.15.163, from 5.16 before 6.1.98, from 6.2 before 6.6.39, from 6.7 before 6.9.9 | NVD |
All scores
| Linux | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: IB/core: implementar un límite en la lista de recepción de UMAD El comportamiento existente de ib_umad, que mantiene los paquetes MAD recibidos en una lista ilimitada, plantea un riesgo de crecimiento incontrolado. A medida que las aplicaciones del espacio de usuario extraen paquetes de esta lista, es posible que la tasa de extracción no coincida con la tasa de paquetes entrantes, lo que puede provocar un posible desbordamiento de la lista. Para solucionar esto, introducimos un límite al tamaño de la lista. Después de considerar escenarios típicos, como el procesamiento OpenSM, que puede manejar aproximadamente 100 000 paquetes por segundo, y el tiempo de espera de reintento de 1 segundo para la mayoría de los paquetes, establecemos el límite de tamaño de la lista en 200 000. Los paquetes recibidos más allá de este límite se descartan, suponiendo que probablemente se agote el tiempo de espera cuando sean manejados por el espacio de usuario. En particular, los paquetes en cola en la lista de recepción debido a motivos como el tiempo de espera de envío se conservan incluso cuando la lista está llena.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-42145 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2024-42145 changed 2026-08-04 | Public domain |