
Cloud Vulnerability DB
A community-led vulnerabilities database
A use-after-free vulnerability was discovered in the Linux kernel's ionic driver (CVE-2024-40907). The issue occurs in the XDP_TX path where the ionic driver sends a packet to the TX path with rx page and corresponding dma address. After tx is done, ionic_tx_clean() frees that page, but the RX ring buffer isn't reset to NULL, leading to the use of a freed page (Kernel Patch).
The vulnerability is caused by a missing NULL assignment after freeing a page in the XDP_TX path. When ionic_tx_clean() frees the page, the RX ring buffer's page pointer remains set, leading to a use-after-free condition. The issue was introduced in commit 8eeed8373e1c ("ionic: Add XDP_TX support"). The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).
When exploited, this vulnerability results in a kernel panic due to accessing freed memory. This can lead to system crashes and potential denial of service conditions. The issue specifically manifests when handling XDP_TX operations in the ionic driver, affecting system stability and availability.
The vulnerability requires local access and can be triggered through the XDP_TX path in the ionic driver. The issue has been confirmed to cause kernel panics in affected versions, as demonstrated by the provided crash dump in the vulnerability report (Kernel Patch).
The vulnerability has been fixed by adding a NULL assignment to buf_info->page after the page is passed to the TX path. The fix is included in the Linux kernel patch that adds 'buf_info->page = NULL' before incrementing the xdp_tx statistics counter (Kernel Patch). Users should update to a patched version of the Linux kernel.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."