CVE-2024-40907
Linux Kernel vulnerability analysis and mitigation

Overview

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).

Technical details

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).

Impact

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.

Exploitability

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).

Mitigation and workarounds

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.

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-68480NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesAug 06, 2026
CVE-2026-64582NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-zfcpdump-modules-extra
NoYesAug 05, 2026
CVE-2026-64579NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-modules-internal
NoYesAug 05, 2026
CVE-2026-64576NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt
NoYesAug 05, 2026
CVE-2026-64575NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.17
NoYesAug 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management