
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-50059 is a vulnerability discovered in the Linux kernel's Ceph filesystem component. The issue was identified in the handle_cap_grant function when called during an IMPORT operation, where the snap_rwsem semaphore is not properly released in all code paths (NVD, Wiz).
The vulnerability occurs specifically in the Ceph filesystem's handle_cap_grant function. When this function is called during an IMPORT operation, it acquires the snap_rwsem (read-write semaphore) but fails to release it consistently before returning from the function. This improper semaphore management creates conditions where a deadlock can occur (Wiz).
The primary impact of this vulnerability is the potential for system deadlocks. When triggered, the vulnerability can cause the system to become unresponsive due to the deadlock condition in the Ceph filesystem operations (Wiz).
The vulnerability has been resolved in the Linux kernel through a patch that ensures proper release of the snap_rwsem semaphore in all code paths within the handle_cap_grant function (Wiz).
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."