# CVE-2024-38544: RDMA/rxe: Fix seg fault in rxe_comp_queue_pkt

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.81%, higher than 58% of CVEs (2026-12-01)
- Published: 2024-06-19T13:35:18.676Z
- Modified: 2026-08-05T11:32:41.788Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0 before c91fb72a2ca6480d8d77262eef52dc5b178463a3; from 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0 before de5a059e36657442b5637cc16df5163e435b9cb4; from 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0 before e0e14dd35d4242340c7346aac60c7ff8fbf87ffc; from 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0 before faa8d0ecf6c9c7c2ace3ca3e552180ada6f75e19; from 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0 before 21b4c6d4d89030fd4657a8e7c8110fd941049794; from 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0 before bbad88f111a1829f366c189aa48e7e58e57553fc; from 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0 before 30df4bef8b8e183333e9b6e9d4509d552c7da6eb; from 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0 before 2b23b6097303ed0ba5f4bc036a1c07b6027af5c6; 4.12 (not affected: before 4.12; from 5.4.285 up to 5.4.*; from 5.10.227 up to 5.10.*; from 5.15.168 up to 5.15.*; from 6.1.93 up to 6.1.*; from 6.6.33 up to 6.6.*; from 6.8.12 up to 6.8.*; from 6.9.3 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: from 4.12 before 5.4.285; from 5.5 before 5.10.227; from 5.11 before 5.15.168; from 5.16 before 6.1.93; from 6.2 before 6.6.33; from 6.7 before 6.8.12; from 6.9 before 6.9.3

## Every score

- Linux: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H`
- NVD: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H`

## References

- <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> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>

## Sources

- CVE List: [CVE-2024-38544](https://www.cve.org/CVERecord?id=CVE-2024-38544), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-38544](https://nvd.nist.gov/vuln/detail/CVE-2024-38544), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-38544 · Whole record: https://cve.day/CVE-2024-38544.json · Rebuilt by cve.day 2026-11-25T22:58:42.008Z
