
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-49625 affects the Linux kernel's sfc driver, specifically when creating Virtual Functions (VFs). The vulnerability was discovered when a kernel panic occurs during the execution of efx_ef10_try_update_nic_stats_vf function. This issue arises when releasing a DMA coherent buffer with Bottom Halves (BH) disabled, which is not allowed in IRQ context (Kernel Commit).
The vulnerability occurs in the sfc driver's ef10.c file. When releasing a DMA coherent buffer, under certain circumstances, it needs to unmap memory with vunmap. However, this operation is disallowed in IRQ context or with BH disabled. The issue triggers a BUG_ON(in_interrupt()) check in vunmap, causing a kernel panic. The bug was introduced by commit d778819609a2 'sfc: DMA the VF stats only when requested' (Kernel Commit).
When exploited, this vulnerability causes a kernel panic, leading to system instability and potential denial of service. The issue specifically affects systems using the sfc network driver when attempting to create Virtual Functions (Kernel Commit).
The vulnerability is triggered during normal system operations when creating VFs on systems using the sfc driver. It requires no special privileges beyond those needed to create VFs, making it relatively easy to trigger under normal operating conditions (Kernel Commit).
The fix involves re-enabling BH before releasing the buffer and re-acquiring it afterward. This is implemented by adding spin_unlock_bh() before calling efx_nic_free_buffer() and spin_lock_bh() after it. The patch has been merged into the Linux kernel (Kernel Commit).
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."