
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2021-46925 is a race condition vulnerability in the Linux kernel's SMC (Shared Memory Communication) networking component. The issue occurs when smc_cdc_tx_handler() attempts to access smc_sock after smc_release() has already freed it, leading to a kernel panic. This vulnerability affects Linux kernel versions from 4.11.0 up to (excluding) 5.10.90 and from 5.11.0 up to (excluding) 5.15.13 (NVD).
The vulnerability stems from a race condition in the net/smc subsystem where concurrent execution using shared resources is improperly synchronized (CWE-362). The issue manifests when smc_cdc_tx_handler() checks for the existence of an SMC connection, but smc_release() may have already dismissed and released the SMC socket before smc_cdc_tx_handler() can access it further. This results in a page fault when attempting to access the freed memory, causing a kernel panic (Kernel Patch).
When exploited, this vulnerability can cause a kernel panic, resulting in a denial of service condition. The vulnerability has a CVSS v3.1 base score of 4.7 (Medium) with the vector string AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H, indicating that while local access is required and exploitation is complex, it can lead to a complete system availability impact (NVD).
The issue has been fixed by adding a refcount on the smc_connection for inflight CDC messages and ensuring proper synchronization. The fix includes replacing smc_ib_modify_qp_reset() with smc_ib_modify_qp_error() to ensure all CQEs are properly handled, and implementing a wait mechanism for pending WQEs completion (Kernel Patch).
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."