CVE Catalog

CVE-2024-39293

CriticalCVSS 9.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.14%

4th percentile - higher than 4% of all known CVEs

Summary

In the Linux kernel, a revert was made to a patch that allowed redirecting to any AF_XDP socket bound to the same umem. The patch introduced a potential kernel crash when multiple NAPI instances redirect to the same socket, corrupting the Rx ring state.

Risk Assessment

Risk of system crash (kernel panic) in environments using AF_XDP with multiple NAPI instances, potentially causing service disruptions.

Recommendation

Apply available Linux kernel updates that include the revert. If possible, avoid configurations with multiple NAPI instances redirecting to the same AF_XDP socket.

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS