Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-39293

published critical CVSS 3.1 · 9.8

Revert "xsk: Support redirect to any socket bound to the same umem"

Published
25 Jun 2024, 14:22:39 UTC
Updated
05 Aug 2026, 11:33:23 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux2863d665ea41282379f108e4da6c8a2366ba66db to < 19cb40b1064566ea09538289bfcf5bc7ecb9b6f5 · 2863d665ea41282379f108e4da6c8a2366ba66db to < 7fcf26b315bbb728036da0862de6b335da83dff2 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.9 (affected) · 0 to < 6.9 (unaffected · semver) · 6.9.5 through 6.9.* (unaffected · semver) · 6.10 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.8 / 10
Severity
critical
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:N - The vulnerable code is `xsk_rcv_check()` on the XDP packet-receive path in net/xdp/, reached solely by inbound network frames being redirected via `bpf_redirect_map()` into an XSKMAP. The corruption is driven entirely by remote traffic arriving on multiple RX queues, with no local access required. AC:L - The attacker controls both sides of the race by flooding the interface — RSS hashes distinct 5-tuples across RX queues, so varying source ports deterministically puts multiple NAPI instances on multiple CPUs into the same socket's Rx ring and flush node simultaneously. The reporter hit this reliably with ordinary production traffic, and the race window recurs on every packet. PR:N - Triggering requires only sending packets to the target; the redirect and ring-producer path runs before any authentication or authorization in the network stack. The attacker needs no account, credential, or capability on the victim system. UI:N - The corruption occurs in softirq/NAPI context on packet arrival with no victim action required. No user must open, mount, or configure anything at exploit time. S:U - The concurrent ring, buffer-pool, and flush-list corruption is confined to kernel memory managed by the same security authority. No VM, IOMMU, or sandbox boundary is crossed. C:H - The flush-list corruption produces a type-confused `struct xdp_sock *` derived from a per-CPU list head, giving reads through wild pointers, and the corrupted producer index leaks stale ring/umem contents to userspace. Additionally the new `dev->_rx[qid]` dereference with cpumap's uninitialized `queue_index` is an unbounded out-of-bounds kernel read. I:H - The same list corruption yields writes through attacker-influenceable wild pointers (`xs->rx->ring->producer`, `xs->pool->fq`), `__list_del_clearprev()` writes into stale/freed neighbours, and use-after-free on sockets left linked past `xskq_destroy()`/`sock_put()`. `sock_def_readable()` then walks a wait queue on the confused object, providing an indirect-call control-flow hijack primitive. A:H - The maintainer's revert states the change "introduced a potential kernel crash," with the corrupted flush list leading to a crash in `__xsk_flush()`. NULL dereference in the unchecked `xsk_buff_alloc()` multi-frag path and list-corruption oopses give a reliably reachable kernel panic.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 2863d665ea41282379f108e4da6c8a2366ba66db to < 19cb40b1064566ea09538289bfcf5bc7ecb9b6f5 (affected · git)2863d665ea41282379f108e4da6c8a2366ba66db to < 7fcf26b315bbb728036da0862de6b335da83dff2 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.9 (affected)0 to < 6.9 (unaffected · semver)6.9.5 through 6.9.* (unaffected · semver)6.10 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

3

Linux · cna

Revert "xsk: Support redirect to any socket bound to the same umem"

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
5d3093a1629d127024d5615132deeaf97d1b703a8cc3a0b790d932d8c889d566
Ingested
23 Sep 2026, 08:25:04 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected