# CVE-2024-38544: RDMA/rxe: Fix seg fault in rxe\_comp\_queue\_pkt

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.10% (percentile 65, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-06-19T13:35:18.676Z
- **Modified:** 2026-08-05T11:32:41.788Z

## Who should check

- Anyone running Linux \>= 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0, \< c91fb72a2ca6480d8d77262eef52dc5b178463a3; \>= 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0, \< de5a059e36657442b5637cc16df5163e435b9cb4; \>= 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0, \< e0e14dd35d4242340c7346aac60c7ff8fbf87ffc; \>= 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0, \< faa8d0ecf6c9c7c2ace3ca3e552180ada6f75e19; \>= 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0, \< 21b4c6d4d89030fd4657a8e7c8110fd941049794; \>= 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0, \< bbad88f111a1829f366c189aa48e7e58e57553fc; \>= 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0, \< 30df4bef8b8e183333e9b6e9d4509d552c7da6eb; \>= 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0, \< 2b23b6097303ed0ba5f4bc036a1c07b6027af5c6
- Anyone running Linux 4.12

## 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.

## Affected and fixed versions

- Linux: \>= 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0, \< c91fb72a2ca6480d8d77262eef52dc5b178463a3; \>= 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0, \< de5a059e36657442b5637cc16df5163e435b9cb4; \>= 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0, \< e0e14dd35d4242340c7346aac60c7ff8fbf87ffc; \>= 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0, \< faa8d0ecf6c9c7c2ace3ca3e552180ada6f75e19; \>= 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0, \< 21b4c6d4d89030fd4657a8e7c8110fd941049794; \>= 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0, \< bbad88f111a1829f366c189aa48e7e58e57553fc; \>= 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0, \< 30df4bef8b8e183333e9b6e9d4509d552c7da6eb; \>= 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0, \< 2b23b6097303ed0ba5f4bc036a1c07b6027af5c6 (cvelist)
- Linux: 4.12 (cvelist)

## Mitigation

- Upgrade Linux to 2b23b6097303ed0ba5f4bc036a1c07b6027af5c6 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-38544. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-38544.md
Affected: Linux >= 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0, < c91fb72a2ca6480d8d77262eef52dc5b178463a3; >= 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0, < de5a059e36657442b5637cc16df5163e435b9cb4; >= 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0, < e0e14dd35d4242340c7346aac60c7ff8fbf87ffc; >= 0b1e5b99a48b5b810e3e38f…
Fixed in: Linux 21b4c6d4d89030fd4657a8e7c8110fd941049794, Linux 30df4bef8b8e183333e9b6e9d4509d552c7da6eb, Linux 2b23b6097303ed0ba5f4bc036a1c07b6027af5c6

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-38544 being exploited?

There is no confirmed exploitation: CVE-2024-38544 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.10% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-38544?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2024-38544?

Linux \>= 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0, \< c91fb72a2ca6480d8d77262eef52dc5b178463a3; \>= 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0, \< de5a059e36657442b5637cc16df5163e435b9cb4; \>= 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0, \< e0e14dd35d4242340c7346aac60c7ff8fbf87ffc; \>= 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0, \< faa8d0ecf6c9c7c2ace3ca3e552180ada6f75e19; \>= 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0, \< 21b4c6d4d89030fd4657a8e7c8110fd941049794; \>= 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0, \< bbad88f111a1829f366c189aa48e7e58e57553fc; \>= 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0, \< 30df4bef8b8e183333e9b6e9d4509d552c7da6eb; \>= 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0, \< 2b23b6097303ed0ba5f4bc036a1c07b6027af5c6; Linux 4.12.

### Is there a fix for CVE-2024-38544?

Yes. Fixed in Linux 21b4c6d4d89030fd4657a8e7c8110fd941049794, Linux 30df4bef8b8e183333e9b6e9d4509d552c7da6eb, Linux 2b23b6097303ed0ba5f4bc036a1c07b6027af5c6. Upgrade Linux to 2b23b6097303ed0ba5f4bc036a1c07b6027af5c6 or later.

### How do I check if I'm affected by CVE-2024-38544?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/c91fb72a2ca6480d8d77262eef52dc5b178463a3>
- patch: <https://git.kernel.org/stable/c/de5a059e36657442b5637cc16df5163e435b9cb4>
- patch: <https://git.kernel.org/stable/c/e0e14dd35d4242340c7346aac60c7ff8fbf87ffc>
- patch: <https://git.kernel.org/stable/c/faa8d0ecf6c9c7c2ace3ca3e552180ada6f75e19>
- patch: <https://git.kernel.org/stable/c/21b4c6d4d89030fd4657a8e7c8110fd941049794>
- patch: <https://git.kernel.org/stable/c/bbad88f111a1829f366c189aa48e7e58e57553fc>
- patch: <https://git.kernel.org/stable/c/30df4bef8b8e183333e9b6e9d4509d552c7da6eb>
- patch: <https://git.kernel.org/stable/c/2b23b6097303ed0ba5f4bc036a1c07b6027af5c6>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-38544>

HTML: <https://flawdb.com/CVE-2024-38544> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-38544>
