Skip to content
CVE PROGRAM SOURCE RECORD7.5 High

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 6f05b30ea063a2a05dda47a4105a69267ae5270f to < aee18421bda6bf12a7cba6a3d7751c0e1cfd0094affected
  • 6f05b30ea063a2a05dda47a4105a69267ae5270f to < f546faa216d0f53a42ca73ba1fd8c48765b22d77affected
  • 6f05b30ea063a2a05dda47a4105a69267ae5270f to < a090cc69699ec2d11b5e34cee8c61f0d4b0068cbaffected
  • 6f05b30ea063a2a05dda47a4105a69267ae5270f to < 58dd4385577ed7969b80cdc9e2a31575aba6c712affected

Linux Linux

Default version status: affected

  • 5.8affected
  • 0 to < 5.8unaffected
  • 5.10.138 to ≤ 5.10.*unaffected
  • 5.15.63 to ≤ 5.15.*unaffected
  • 5.19.4 to ≤ 5.19.*unaffected
  • 6.0 to ≤ *unaffected

References