Bug 2373470 (CVE-2022-50059) - CVE-2022-50059 kernel: ceph: don't leak snap_rwsem in handle_cap_grant
Summary: CVE-2022-50059 kernel: ceph: don't leak snap_rwsem in handle_cap_grant
Keywords:
Status: NEW
Alias: CVE-2022-50059
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-06-18 12:04 UTC by OSIDB Bzimport
Modified: 2025-06-21 12:42 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-06-18 12:04:25 UTC
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.

Comment 1 Avinash Hanwate 2025-06-20 02:28:45 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025061849-CVE-2022-50059-efa6@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.