ceph: don't leak snap_rwsem in handle_cap_grant (Linux Linux)

CVE-2022-50059
HIGH 7.5

En bref

Source
NVD
EPSS
EPSS 0.44 % · centile 39 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 6f05b30ea063a2a05dda47a4105a69267ae5270f < aee18421bda6bf12a7cba6a3d7751c0e1cfd0094 ; affected 6f05b30ea063a2a05dda47a4105a69267ae5270f < f546faa216d0f53a42ca73ba1fd8c48765b22d77 ; affected 6f05b30ea063a2a05dda47a4105a69267ae5270f < a090cc69699ec2d11b5e34cee8c61f0d4b0068cb ; affected 6f05b30ea063a2a05dda47a4105a69267ae5270f < 58dd4385577ed7969b80cdc9e2a31575aba6c712
Linux · Linuxaffected 5.8 ; unaffected 0 < 5.8 ; unaffected 5.10.138 ≤ 5.10.* ; unaffected 5.15.63 ≤ 5.15.* ; unaffected 5.19.4 ≤ 5.19.* ; unaffected 6.0 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD