
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-49378 affects the Linux kernel's sfc (Solarflare network driver) component. The vulnerability was discovered when it was found that the driver incorrectly assumed all channels have TX queues, which is not true when the modparam efx_separate_tx_channels=1 is used. In such cases, some channels only have RX queues and others only TX queues, though they are allocated but not initialized (Kernel Git).
The vulnerability stems from an incorrect implementation in the efx_channel_has_tx_queues function which always returned true, regardless of the actual channel configuration. This caused issues when the efx_separate_tx_channels parameter was set to 1, as in this configuration some channels only have RX queues while others only have TX queues. The bug manifested in error messages during probe time showing 'MC command 0x82 inlen 544 failed rc=-22' and 'failed to initialise TXQ -1' (Kernel Git).
When triggered, the vulnerability causes initialization failures for TX queues and issues during queue flushing operations. This results in error messages and potential network driver malfunction, affecting the proper operation of Solarflare network interfaces (Kernel Git).
The issue has been fixed by modifying the efx_channel_has_tx_queues function to properly check if a channel has TX queues by verifying if the channel number is greater than or equal to the TX channel offset. The fix was implemented in the Linux kernel through a patch that corrects the channel queue validation logic (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."