CVE-2022-50059
published 2025-06-18CVE-2022-50059: 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…
PriorityP418medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.36%
29.2th percentile
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
13 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.0.2-1 (bookworm) | linux 6.0.2-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 6f05b30ea063a2a05dda47a4105a69267ae5270f < aee18421bda6bf12a7cba6a3d7751c0e1cfd0094 | aee18421bda6bf12a7cba6a3d7751c0e1cfd0094 |
| linux | linux | >= 6f05b30ea063a2a05dda47a4105a69267ae5270f < f546faa216d0f53a42ca73ba1fd8c48765b22d77 | f546faa216d0f53a42ca73ba1fd8c48765b22d77 |
| linux | linux | >= 6f05b30ea063a2a05dda47a4105a69267ae5270f < a090cc69699ec2d11b5e34cee8c61f0d4b0068cb | a090cc69699ec2d11b5e34cee8c61f0d4b0068cb |
| linux | linux | >= 6f05b30ea063a2a05dda47a4105a69267ae5270f < 58dd4385577ed7969b80cdc9e2a31575aba6c712 | 58dd4385577ed7969b80cdc9e2a31575aba6c712 |
| linux | linux_kernel | >= 0 < 5.10.140-1 | 5.10.140-1 |
| linux | linux_kernel | >= 0 < 6.0.2-1 | 6.0.2-1 |
| linux | linux_kernel | >= 0 < 6.0.2-1 | 6.0.2-1 |
| linux | linux_kernel | >= 0 < 6.0.2-1 | 6.0.2-1 |
| linux | linux_kernel | >= 5.11 < 5.15.63 | 5.15.63 |
| linux | linux_kernel | >= 5.16 < 5.19.4 | 5.19.4 |
| linux | linux_kernel | >= 5.8 < 5.10.138 | 5.10.138 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: ceph: don't leak snap_rwsem in handle_cap_grant
vendor_redhat·2025-06-18·CVSS 5.5
CVE-2022-50059 [MEDIUM] CWE-833 kernel: ceph: don't leak snap_rwsem in handle_cap_grant
kernel: ceph: don't leak snap_rwsem in handle_cap_grant
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.
Package: kernel (Red Hat Enterprise Linux 10) - Fix deferred
Package: kernel (Red Hat Enterprise Linux 6) - Out of support scope
Package: kernel (Red Hat Enterprise Linux 7) - Fix deferred
Package: kernel-rt (Red Hat Enterprise Linux 7) - Fix deferred
Package: kernel (Red Hat Enterprise Linux 8) - Fix deferred
Package: kernel-rt (Red Hat Enterprise Linux 8) - Fix deferred
Package: kernel (Red Hat Enterpr
Debian
CVE-2022-50059: linux - In the Linux kernel, the following vulnerability has been resolved: ceph: don't...
vendor_debian·2022·CVSS 5.5
CVE-2022-50059 [MEDIUM] CVE-2022-50059: linux - In the Linux kernel, the following vulnerability has been resolved: ceph: don't...
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.
Scope: local
bookworm: resolved (fixed in 6.0.2-1)
bullseye: resolved (fixed in 5.10.140-1)
forky: resolved (fixed in 6.0.2-1)
sid: resolved (fixed in 6.0.2-1)
trixie: resolved (fixed in 6.0.2-1)
OSV
CVE-2022-50059: 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
osv·2025-06-18·CVSS 5.5
CVE-2022-50059 [MEDIUM] CVE-2022-50059: 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
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.
GHSA
GHSA-99r2-mp2r-q25r: 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
ghsa_unreviewed·2025-06-18
CVE-2022-50059 [MEDIUM] GHSA-99r2-mp2r-q25r: 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
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.
No detection rules found.
No public exploits indexed.
2025-06-18
Published