CVE-2024-39293

Source
https://cve.org/CVERecord?id=CVE-2024-39293
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-39293.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-39293
Downstream
Published
2024-06-25T14:22:39Z
Modified
2026-08-12T03:51:16Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Revert "xsk: Support redirect to any socket bound to the same umem"
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39293.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2863d665ea41282379f108e4da6c8a2366ba66db
Fixed
19cb40b1064566ea09538289bfcf5bc7ecb9b6f5
Fixed
7fcf26b315bbb728036da0862de6b335da83dff2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-39293.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.9.0
Fixed
6.9.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-39293.json"