CVE-2022-50059

published 18 Jun 2025 · updated 15 Oct 2026

ceph: don't leak snap_rwsem in handle_cap_grant

7.5HighCVSS 7.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 58dd4385577ed7969b80cdc9e2a31575aba6c712, Kernel a090cc69699ec2d11b5e34cee8c61f0d4b0068cb, Kernel aee18421bda6bf12a7cba6a3d7751c0e1cfd0094 and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.8, >=6f05b30ea063a2a05dda47a4105a69267ae5270f <58dd4385577ed7969b80cdc9e2a31575aba6c712, >=6f05b30ea063a2a05dda47a4105a69267ae5270f <a090cc69699ec2d11b5e34cee8c61f0d4b0068cb, >=6f05b30ea063a2a05dda47a4105a69267ae5270f <aee18421bda6bf12a7cba6a3d7751c0e1cfd0094, >=6f05b30ea063a2a05dda47a4105a69267ae5270f <f546faa216d0f53a42ca73ba1fd8c48765b22d7758dd4385577ed7969b80cdc9e2a31575aba6c712, a090cc69699ec2d11b5e34cee8c61f0d4b0068cb, aee18421bda6bf12a7cba6a3d7751c0e1cfd0094, f546faa216d0f53a42ca73ba1fd8c48765b22d77

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50059 severity on Zeptric[![CVE-2022-50059](https://zeptric.io/badge/cve/CVE-2022-50059.svg)](https://zeptric.io/cve/CVE-2022-50059)