{"id":"CVE-2022-50059","aliases":["CVE-2022-50059"],"related":[],"kind":"vulnerability","state":"published","title":"ceph: don't leak snap_rwsem in handle_cap_grant","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nceph: don't leak snap_rwsem in handle_cap_grant\n\nWhen handle_cap_grant is called on an IMPORT op, then the snap_rwsem is\nheld and the function is expected to release it before returning. It\ncurrently fails to do that in all cases which could lead to a deadlock.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nceph: don't leak snap_rwsem in handle_cap_grant\n\nWhen handle_cap_grant is called on an IMPORT op, then the snap_rwsem is\nheld and the function is expected to release it before returning. It\ncurrently fails to do that in all cases which could lead to a deadlock.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-06-18T11:02:07.945Z","modified":"2026-10-15T22:17:27.010Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"6f05b30ea063a2a05dda47a4105a69267ae5270f","fixed":"aee18421bda6bf12a7cba6a3d7751c0e1cfd0094","status":"affected"},{"type":"git","introduced":"6f05b30ea063a2a05dda47a4105a69267ae5270f","fixed":"f546faa216d0f53a42ca73ba1fd8c48765b22d77","status":"affected"},{"type":"git","introduced":"6f05b30ea063a2a05dda47a4105a69267ae5270f","fixed":"a090cc69699ec2d11b5e34cee8c61f0d4b0068cb","status":"affected"},{"type":"git","introduced":"6f05b30ea063a2a05dda47a4105a69267ae5270f","fixed":"58dd4385577ed7969b80cdc9e2a31575aba6c712","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.8","status":"unaffected"},{"type":"semver","introduced":"5.10.138","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.63","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.19.4","lastAffected":"5.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.8","fixed":"5.10.138"},{"status":"affected","introduced":"5.11","fixed":"5.15.63"},{"status":"affected","introduced":"5.16","fixed":"5.19.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/aee18421bda6bf12a7cba6a3d7751c0e1cfd0094","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f546faa216d0f53a42ca73ba1fd8c48765b22d77","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a090cc69699ec2d11b5e34cee8c61f0d4b0068cb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/58dd4385577ed7969b80cdc9e2a31575aba6c712","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-15T21:30:09.490Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50059","url":"https://www.cve.org/CVERecord?id=CVE-2022-50059","licence":"CVE Terms of Use","modified":"2026-10-15T21:31:18.312Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50059","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50059","licence":"Public domain","modified":"2026-10-15T22:17:27.010Z"}],"updatedAt":"2026-11-25T22:58:21.032Z","epss":{"score":0.00462,"percentile":0.41748,"date":"2026-12-01T12:00:22.000Z"}}