CVE-2024-38544
RDMA/rxe: Fix seg fault in rxe_comp_queue_pkt
Check your servers for CVE-2024-38544
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-38544 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.
Description
In the Linux kernel, the following vulnerability has been resolved:
RDMA/rxe: Fix seg fault in rxe_comp_queue_pkt
In rxe_comp_queue_pkt() an incoming response packet skb is enqueued to the resp_pkts queue and then a decision is made whether to run the completer task inline or schedule it. Finally the skb is dereferenced to bump a 'hw' performance counter. This is wrong because if the completer task is already running in a separate thread it may have already processed the skb and freed it which can cause a seg fault. This has been observed infrequently in testing at high scale.
This patch fixes this by changing the order of enqueuing the packet until after the counter is accessed.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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 high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.82%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 58.2% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 20 Jun 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.
| Product | Versions |
|---|---|
| Linux |
affected from 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0, before c91fb72a2ca6480d8d77262eef52dc5b178463a3 affected from 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0, before de5a059e36657442b5637cc16df5163e435b9cb4 affected from 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0, before e0e14dd35d4242340c7346aac60c7ff8fbf87ffc affected from 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0, before faa8d0ecf6c9c7c2ace3ca3e552180ada6f75e19 affected from 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0, before 21b4c6d4d89030fd4657a8e7c8110fd941049794 affected from 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0, before bbad88f111a1829f366c189aa48e7e58e57553fc affected from 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0, before 30df4bef8b8e183333e9b6e9d4509d552c7da6eb affected from 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0, before 2b23b6097303ed0ba5f4bc036a1c07b6027af5c6
Other versions: unaffected
|
| Linux |
affected 4.12 unaffected before 4.12 unaffected from 5.4.285 up to and including 5.4.* unaffected from 5.10.227 up to and including 5.10.* unaffected from 5.15.168 up to and including 5.15.* unaffected from 6.1.93 up to and including 6.1.* unaffected from 6.6.33 up to and including 6.6.* unaffected from 6.8.12 up to and including 6.8.* unaffected from 6.9.3 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-38544 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-38544
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-38544
trivy image --scanners vuln IMAGE | grep CVE-2024-38544
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
- https://git.kernel.org/stable/c/c91fb72a2ca6480d8d77262eef52dc5b178463a3 git.kernel.org
- https://git.kernel.org/stable/c/de5a059e36657442b5637cc16df5163e435b9cb4 git.kernel.org
- https://git.kernel.org/stable/c/e0e14dd35d4242340c7346aac60c7ff8fbf87ffc git.kernel.org
- https://git.kernel.org/stable/c/faa8d0ecf6c9c7c2ace3ca3e552180ada6f75e19 git.kernel.org
- https://git.kernel.org/stable/c/21b4c6d4d89030fd4657a8e7c8110fd941049794 git.kernel.org
- https://git.kernel.org/stable/c/bbad88f111a1829f366c189aa48e7e58e57553fc git.kernel.org
- https://git.kernel.org/stable/c/30df4bef8b8e183333e9b6e9d4509d552c7da6eb git.kernel.org
- https://git.kernel.org/stable/c/2b23b6097303ed0ba5f4bc036a1c07b6027af5c6 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html lists.debian.org
Source: the record CVE-2024-38544 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.
Vulnpocalypse