CVE-2024-50297: net: xilinx: axienet: Enqueue Tx packets in dql before dmaengine starts
In the Linux kernel, the following vulnerability has been resolved:
net: xilinx: axienet: Enqueue Tx packets in dql before dmaengine starts
Enqueue packets in dql after dma engine starts causes race condition.
Tx transfer starts once dma engine is started and may execute dql dequeue
in completion before it gets queued. It results in following kernel crash
while running iperf stress test:
kernel BUG at lib/dynamic_queue_limits.c:99!
<snip>
Internal error: Oops - BUG: 00000000f2000800 [#1] SMP
pc : dql_completed+0x238/0x248
lr : dql_completed+0x3c/0x248
Call trace:
dql_completed+0x238/0x248
axienet_dma_tx_cb+0xa0/0x170
xilinx_dma_do_tasklet+0xdc/0x290
tasklet_action_common+0xf8/0x11c
tasklet_action+0x30/0x3c
handle_softirqs+0xf8/0x230
<snip>
Start dmaengine after enqueue in dql fixes the crash.
Security readout for executives and security teams
Plain-English summary
A race condition in the Linux Xilinx AXI Ethernet transmit path can crash the kernel during heavy network traffic. The documented impact is loss of availability; the sources do not report data theft or modification.
Executive priority
Treat as a high-priority availability issue where affected Xilinx networking is used, especially on externally reachable or operationally critical systems. Scope the specialized driver exposure first, then patch confirmed systems through supported kernel channels.
Technical view
The driver starts the DMA engine before recording transmitted packets in Dynamic Queue Limits. A completion callback can therefore dequeue an unrecorded packet, triggering a kernel BUG in dql_completed. The correction queues the packet in DQL before starting DMA.
Likely exposure
Exposure is limited to Linux systems using the affected Xilinx AXI Ethernet driver and vulnerable kernel builds. The supplied record lists affected 6.8-era through 6.12-related versions, but its version notation is ambiguous; verify exact vendor build applicability.
Exploitation context
The CVSS 3.1 assessment is 7.5 for remotely reachable denial of service without privileges or user interaction. The source demonstrates a crash during iperf stress testing. This CVE is not listed as KEV, and the bundle provides no evidence of active exploitation.
Researcher notes
This is CWE-362 race-condition behavior in transmit completion accounting. The documented failure is a kernel Oops caused by DMA completion preceding DQL enqueue. The sources support denial of service under stress but do not establish reliable remote triggering, exploitation in the wild, or confidentiality and integrity impact.
Mitigation direction
Update to a vendor-supported kernel containing one of the cited stable fixes.
Prioritize network-facing systems using the Xilinx AXI Ethernet driver.
Consult the Linux or distribution vendor for exact fixed package versions.
If immediate updating is impossible, reduce exposure and monitor affected systems for kernel crashes.
Validation and detection
Determine whether each system uses the Xilinx AXI Ethernet driver.
Record the running kernel and distribution package versions.
Confirm the installed build contains the cited correction through vendor changelogs or commit ancestry.
Review kernel logs for dql_completed BUG traces involving axienet_dma_tx_cb.
After updating, perform controlled network-load testing during an approved maintenance window.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-362: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-362 · source CWE mapping
Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.