CVE-2024-42145

IB/core: Implement a limit on UMAD receive List

7.5 high EPSS 0.87%

Published 30 Jul 2024 Updated 5 Aug 2026 CNA: Linux

Check your servers for CVE-2024-42145

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-42145 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

7.5 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.87%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 59.9% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 10 Sep 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 1288cf1cceb0e6df276e182f5412370fb4169bcb
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before b4913702419d064ec4c4bbf7270643c95cc89a1b
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 62349fbf86b5e13b02721bdadf98c29afd1e7b5f
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before d73cb8862e4d6760ccc94d3b57b9ef6271400607
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 63d202d948bb6d3a28cd8e8b96b160fa53e18baa
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before b8c5f635997f49c625178d1a0cb32a80ed33abe6
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before a6627fba793cc75b7365d9504a0095fb2902dda4
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before ca0b44e20a6f3032224599f02e7c8fb49525c894
Other versions: unaffected
Linux
affected 2.6.12
unaffected before 2.6.12
unaffected from 4.19.318 up to and including 4.19.*
unaffected from 5.4.280 up to and including 5.4.*
unaffected from 5.10.222 up to and including 5.10.*
unaffected from 5.15.163 up to and including 5.15.*
unaffected from 6.1.98 up to and including 6.1.*
unaffected from 6.6.39 up to and including 6.6.*
unaffected from 6.9.9 up to and including 6.9.*
unaffected 6.10 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-42145 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-42145

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-42145
trivy image --scanners vuln IMAGE | grep CVE-2024-42145

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-42145 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.