NFSv4: Don't hold the layoutget locks across multiple RPC calls (Linux Linux)

CVE-2022-49316
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 11 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: NFSv4: Don't hold the layoutget locks across multiple RPC calls When doing layoutget as part of the open() compound, we have to be careful to release the layout locks before we can call any further RPC calls, such as setattr(). The reason is that those calls could trigger a recall, which could deadlock.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
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)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 56f487f8c8fc5d6e582b79a86fc132d050129e15 < 6b3fc1496e7227cd6a39a80bbfb7588ef7c7a010 ; affected 56f487f8c8fc5d6e582b79a86fc132d050129e15 < a2b3be930e79cc5d9d829f158e31172b2043f0cd ; affected 56f487f8c8fc5d6e582b79a86fc132d050129e15 < 0ee5b9644f06b4d3cdcd9544f43f63312e425a4c ; affected 56f487f8c8fc5d6e582b79a86fc132d050129e15 < d4c2a041ed3ba114502d5ed6ace5b1a48d637a8e ; affected 56f487f8c8fc5d6e582b79a86fc132d050129e15 < 08d7a26d115cc7892668baa9750f64bd8baca29b ; affected 56f487f8c8fc5d6e582b79a86fc132d050129e15 < ea759ae0a9ae5acee677d722129710ac89cc59c1
Linux · Linuxaffected 4.18 ; unaffected 0 < 4.18 ; unaffected 4.19.247 ≤ 4.19.* ; unaffected 5.4.198 ≤ 5.4.* ; unaffected 5.10.122 ≤ 5.10.* ; unaffected 5.15.47 ≤ 5.15.*

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