Lucene search

K
osvGoogleOSV:UBUNTU-CVE-2024-39293
HistoryJun 25, 2024 - 3:15 p.m.

UBUNTU-CVE-2024-39293

2024-06-2515:15:00
Google
osv.dev
linux
kernel
vulnerability
revert
xsk
socket
umem
crash
napi
af_xdp
patch
queue_index
corrupted
ring state
flush
linked list
concurrent accesses

AI Score

7

Confidence

High

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.

AI Score

7

Confidence

High