7.5high
ceph: don't leak snap_rwsem in handle_cap_grant
- Severity
- 7.5high CVSS:3.1 by Linux
- Exploit likelihood
- 0.46% (higher than 41% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 6f05b30ea063a2a05dda47a4105a69267ae5270f before aee18421bda6bf12a7cba6a3d7751c0e1cfd0094, from 6f05b30ea063a2a05dda47a4105a69267ae5270f before f546faa216d0f53a42ca73ba1fd8c48765b22d77, from 6f05b30ea063a2a05dda47a4105a69267ae5270f before a090cc69699ec2d11b5e34cee8c61f0d4b0068cb, from 6f05b30ea063a2a05dda47a4105a69267ae5270f before 58dd4385577ed7969b80cdc9e2a31575aba6c712, 5.8 Not affected: before 5.8, from 5.10.138 up to 5.10.*, from 5.15.63 up to 5.15.*, from 5.19.4 up to 5.19.*, from 6.0 up to * | CVE List |
| linux linux_kernel | from 5.8 before 5.10.138, from 5.11 before 5.15.63, from 5.16 before 5.19.4 | NVD |
All scores
| Linux | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ceph: no filtrar snap_rwsem en handle_cap_grant. Cuando se llama a handle_cap_grant en una operación IMPORT, se retiene el snap_rwsem y se espera que la función lo libere antes de regresar. Actualmente, esto no ocurre en todos los casos, lo que podría provocar un bloqueo.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-50059 changed 2026-10-15 | CVE Terms of Use |
| NVD | CVE-2022-50059 changed 2026-10-15 | Public domain |