
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-49433 addresses a vulnerability in the Linux kernel's RDMA/hfi1 driver where a lock (sdma_map_lock) could be used before it is properly initialized. This issue occurs during the probe of hfi1 when there is a failure before the sdma_map_lock initialization, causing the hfi1_free_devdata() function to attempt using an uninitialized lock (Kernel Git).
The vulnerability manifests when the locking correctness validator is enabled, triggering an INFO message and stack trace. The issue stems from sdma_clean() attempting to use sdma_map_lock for freeing sdma_map memory, but sdma_map is not allocated/initialized until after sdma_map_lock has been initialized. The problematic code path occurs during the initialization sequence in the call chain: pci_device_probe -> init_one -> hfi1_free_devdata -> sdma_clean (Kernel Git).
When triggered, the vulnerability causes the system to display an INFO message and stack trace, indicating a potential security issue with lock initialization. This could lead to system instability or unpredictable behavior in the RDMA/hfi1 driver functionality (Kernel Git).
The vulnerability requires access to a system with the RDMA/hfi1 driver and can be triggered during the driver's initialization phase. It specifically occurs when there is a failure during the probe of hfi1 before proper lock initialization (Kernel Git).
The issue has been fixed by adding a condition to check if sdma_map is not NULL before attempting to use the lock. The fix ensures that the lock operations are only performed when sdma_map has been properly allocated and initialized (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."