CVE-2024-38544

MEDIUM

Linux Kernel 4.12-6.9.3 - Use-After-Free in rxe_comp_queue_pkt

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 6.3
EPSS 0.0025
EPSS Percentile 16.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-416
Status published
Products (26)
linux/Kernel 4.12.0 - 5.4.285linux
linux/Kernel 5.11.0 - 5.15.168linux
linux/Kernel 5.16.0 - 6.1.93linux
linux/Kernel 5.5.0 - 5.10.227linux
linux/Kernel 6.2.0 - 6.6.33linux
linux/Kernel 6.7.0 - 6.8.12linux
linux/Kernel 6.9.0 - 6.9.3linux
Linux/Linux < 4.12
Linux/Linux 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0 - 21b4c6d4d89030fd4657a8e7c8110fd941049794
Linux/Linux 0b1e5b99a48b5b810e3e38f1d6e0d39306b99ec0 - 2b23b6097303ed0ba5f4bc036a1c07b6027af5c6
... and 16 more
Published Jun 19, 2024
Tracked Since Feb 18, 2026