CVE-2022-49316

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

MEDIUM
5.5
CVSS Score
Published: February 26, 2025 at 02:10 AM UTC
Updated: June 17, 2026 at 05:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 4.19.2474.18 ≤ v < 4.19.2474.18 ≤ v < 5.10.1224.18 ≤ v < 5.15.474.18 ≤ v < 5.17.154.18 ≤ v < 5.18.44.18 ≤ v < 5.194.18 ≤ v < 5.4.1984.20 ≤ v < 5.4.1985.11 ≤ v < 5.15.475.16 ≤ v < 5.17.155.18 ≤ v < 5.18.45.5 ≤ v < 5.10.1224.1856f487f8c8fc5d6e582b79a86fc132d050129e15
Vendor states this is fixed in 0ee5b9644f06b4d3cdcd9544f43f63312e425a4c (fixed)
Vendor states this is fixed in 6949493884fe88500de4af182588e071cf1544ee (fixed)
Vendor states this is fixed in 6b3fc1496e7227cd6a39a80bbfb7588ef7c7a010 (fixed)
Vendor states this is fixed in 8d7a26d115cc7892668baa9750f64bd8baca29b (fixed)
Vendor states this is fixed in a2b3be930e79cc5d9d829f158e31172b2043f0cd (fixed)
Vendor states this is fixed in d4c2a041ed3ba114502d5ed6ace5b1a48d637a8e (fixed)
Vendor states this is fixed in ea759ae0a9ae5acee677d722129710ac89cc59c1 (fixed)
Vendor states this is fixed in 4.18 (unaffected)
Vendor states this is fixed in 4.19.247 (unaffected)
Vendor states this is fixed in 5.10.122 (unaffected)
Vendor states this is fixed in 5.15.47 (unaffected)
Vendor states this is fixed in 5.17.15 (unaffected)
Vendor states this is fixed in 5.18.4 (unaffected)
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 5.4.198 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/08d7a26d115cc7892668baa9750f64bd8baca29b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0ee5b9644f06b4d3cdcd9544f43f63312e425a4c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6949493884fe88500de4af182588e071cf1544ee
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6b3fc1496e7227cd6a39a80bbfb7588ef7c7a010
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a2b3be930e79cc5d9d829f158e31172b2043f0cd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d4c2a041ed3ba114502d5ed6ace5b1a48d637a8e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ea759ae0a9ae5acee677d722129710ac89cc59c1

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-667

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card