
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-49096 affects the Linux kernel's SFC network driver, specifically related to XDP (eXpress Data Path) queue handling. The vulnerability was discovered when a kernel panic occurs during XDP_TX or XDP_REDIRECT operations after changing rx/tx ring buffer sizes. The issue stems from the sfc driver failing to reinitialize XDP queues (efx->xdp_tx_queues) after buffer size changes (Kernel Git).
The vulnerability occurs in the SFC network driver when tx/rx ring buffer size is modified using ethtool -G command. While the driver reallocates and reinitializes rx and tx queues and their buffers (tx_queue->buffer), it fails to reinitialize the XDP queues (efx->xdp_tx_queues). This leads to the use of uninitialized tx_queue->buffer during XDP_TX or XDP_REDIRECT operations, resulting in a kernel NULL pointer dereference at address 0x2a (Kernel Git).
When exploited, this vulnerability causes a kernel panic, leading to system instability and potential denial of service. The issue specifically manifests when attempting XDP_TX or XDP_REDIRECT operations after modifying ring buffer sizes, affecting system reliability and network operations (Kernel Git).
The fix involves adding a new function efx_set_xdp_channels() that properly handles XDP queue reinitialization. This function is separated from efx_set_channels() to specifically manage XDP queues. The patch ensures proper reinitialization of XDP queues after ring buffer size changes (Kernel Git).
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."