What’s Vulnerable › Vulnerabilities

CVE-2022-50059: ceph: don't leak snap_rwsem in handle_cap_grant

Description

In the Linux kernel, the following vulnerability has been resolved: ceph: don't leak snap_rwsem in handle_cap_grant When handle_cap_grant is called on an IMPORT op, then the snap_rwsem is held and the function is expected to release it before returning. It currently fails to do that in all cases which could lead to a deadlock.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.138, 5.15.63, 5.19.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-50059 or the next vulnerability affects your stack