# CVE-2022-49316: NFSv4: Don't hold the layoutget locks across multiple RPC calls

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2025-02-26T02:10:43.569Z
- Modified: 2026-06-17T05:17:41.700Z
- Weaknesses: CWE-667
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 56f487f8c8fc5d6e582b79a86fc132d050129e15 before 6b3fc1496e7227cd6a39a80bbfb7588ef7c7a010; from 56f487f8c8fc5d6e582b79a86fc132d050129e15 before a2b3be930e79cc5d9d829f158e31172b2043f0cd; from 56f487f8c8fc5d6e582b79a86fc132d050129e15 before 0ee5b9644f06b4d3cdcd9544f43f63312e425a4c; from 56f487f8c8fc5d6e582b79a86fc132d050129e15 before d4c2a041ed3ba114502d5ed6ace5b1a48d637a8e; from 56f487f8c8fc5d6e582b79a86fc132d050129e15 before 08d7a26d115cc7892668baa9750f64bd8baca29b; from 56f487f8c8fc5d6e582b79a86fc132d050129e15 before ea759ae0a9ae5acee677d722129710ac89cc59c1; from 56f487f8c8fc5d6e582b79a86fc132d050129e15 before 6949493884fe88500de4af182588e071cf1544ee; 4.18 (not affected: before 4.18; from 4.19.247 up to 4.19.*; from 5.4.198 up to 5.4.*; from 5.10.122 up to 5.10.*; from 5.15.47 up to 5.15.*; from 5.17.15 up to 5.17.*; from 5.18.4 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: before 4.19.247; from 4.20 before 5.4.198; from 5.5 before 5.10.122; from 5.11 before 5.15.47; from 5.16 before 5.17.15; from 5.18 before 5.18.4

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/6b3fc1496e7227cd6a39a80bbfb7588ef7c7a010> (patch)
- <https://git.kernel.org/stable/c/a2b3be930e79cc5d9d829f158e31172b2043f0cd> (patch)
- <https://git.kernel.org/stable/c/0ee5b9644f06b4d3cdcd9544f43f63312e425a4c> (patch)
- <https://git.kernel.org/stable/c/d4c2a041ed3ba114502d5ed6ace5b1a48d637a8e> (patch)
- <https://git.kernel.org/stable/c/08d7a26d115cc7892668baa9750f64bd8baca29b> (patch)
- <https://git.kernel.org/stable/c/ea759ae0a9ae5acee677d722129710ac89cc59c1> (patch)
- <https://git.kernel.org/stable/c/6949493884fe88500de4af182588e071cf1544ee> (patch)

## Sources

- CVE List: [CVE-2022-49316](https://www.cve.org/CVERecord?id=CVE-2022-49316), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49316](https://nvd.nist.gov/vuln/detail/CVE-2022-49316), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49316 · Whole record: https://cve.day/CVE-2022-49316.json · Rebuilt by cve.day 2026-11-25T22:58:20.396Z
