Skip to main content
← All vulnerabilities
CVE-2022-50059

ceph: don't leak snap_rwsem in handle_cap_grant

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.10.138, 5.15.63, 5.19.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From 6f05b30ea063a2a05dda47a4105a69267ae5270f · fixed in aee18421bda6bf12a7cba6a3d7751c0e1cfd0094; From 6f05b30ea063a2a05dda47a4105a69267ae5270f · fixed in f546faa216d0f53a42ca73ba1fd8c48765b22d77; From 6f05b30ea063a2a05dda47a4105a69267ae5270f · fixed in a090cc69699ec2d11b5e34cee8c61f0d4b0068cb; From 6f05b30ea063a2a05dda47a4105a69267ae5270f · fixed in 58dd4385577ed7969b80cdc9e2a31575aba6c712

  • Linux Linux

    5.8

  • KernelLinux

    From 5.8.0 · fixed in 5.10.138; From 5.11.0 · fixed in 5.15.63; From 5.16.0 · fixed in 5.19.4

References 4

git.kernel.org