CVE-2022-50059
kernel: ceph: don't leak snap_rwsem in handle_cap_grant
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · June 18, 2025
Updated · August 19, 2026
Description
A flaw was found in the Linux kernel. When the handle_cap_grant function is called during an IMPORT operation, the snap_rwsem (a semaphore for snapshot read-write operations) is acquired but not always released. This resource leak can lead to a system deadlock, resulting in a Denial of Service (DoS) for affected systems.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-833 · Deadlock