IB/core: Implement a limit on UMAD receive List (Linux Linux)

CVE-2024-42145
HIGH 7.5

At a glance

Source
NVD
EPSS
EPSS 0.87 % · percentile 59 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-770 — Allocation of Resources Without Limits or Throttling

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 1288cf1cceb0e6df276e182f5412370fb4169bcb ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < b4913702419d064ec4c4bbf7270643c95cc89a1b ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 62349fbf86b5e13b02721bdadf98c29afd1e7b5f ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < d73cb8862e4d6760ccc94d3b57b9ef6271400607 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 63d202d948bb6d3a28cd8e8b96b160fa53e18baa ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < b8c5f635997f49c625178d1a0cb32a80ed33abe6
Linux · Linuxaffected 2.6.12 ; unaffected 0 < 2.6.12 ; unaffected 4.19.318 ≤ 4.19.* ; unaffected 5.4.280 ≤ 5.4.* ; unaffected 5.10.222 ≤ 5.10.* ; unaffected 5.15.163 ≤ 5.15.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD