CVE-2024-39293

MEDIUM

Linux Kernel 6.9-6.9.4 - Race Condition in AF_XDP Socket Rx Ring Access

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: Revert "xsk: Support redirect to any socket bound to the same umem" This reverts commit 2863d665ea41282379f108e4da6c8a2366ba66db. This patch introduced a potential kernel crash when multiple napi instances redirect to the same AF_XDP socket. By removing the queue_index check, it is possible for multiple napi instances to access the Rx ring at the same time, which will result in a corrupted ring state which can lead to a crash when flushing the rings in __xsk_flush(). This can happen when the linked list of sockets to flush gets corrupted by concurrent accesses. A quick and small fix is not possible, so let us revert this for now.

Scores

CVSS v3 4.7
EPSS 0.0014
EPSS Percentile 3.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-362
Status published
Products (9)
linux/Kernel 6.9.0 - 6.9.5linux
Linux/Linux < 6.9
Linux/Linux 2863d665ea41282379f108e4da6c8a2366ba66db - 19cb40b1064566ea09538289bfcf5bc7ecb9b6f5
Linux/Linux 2863d665ea41282379f108e4da6c8a2366ba66db - 7fcf26b315bbb728036da0862de6b335da83dff2
Linux/Linux 6.10
Linux/Linux 6.9
Linux/Linux 6.9.5 - 6.9.*
linux/linux_kernel 6.10 rc1 (2 CPE variants)
linux/linux_kernel 6.9 - 6.9.5
Published Jun 25, 2024
Tracked Since Feb 18, 2026