CVE-2022-50072

NFSv4/pnfs: Fix a use-after-free bug in open

HIGH
7.8
CVSS Score
Published: June 18, 2025 at 11:02 AM UTC
Updated: August 5, 2026 at 09:24 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
HIGH7.8
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: NFSv4/pnfs: Fix a use-after-free bug in open If someone cancels the open RPC call, then we must not try to free either the open slot or the layoutget operation arguments, since they are likely still in use by the hung RPC call.

Affected

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

v ≥ 5.17.15v ≥ 5.18.44.19.247 ≤ v < 4.19.2565.10.122 ≤ v < 5.10.1385.15.47 ≤ v < 5.15.635.17.15 ≤ v < 5.185.18.4 ≤ v < 5.195.18.4 ≤ v < 5.19.45.19 ≤ v < 5.19.45.19 ≤ v < 6.05.4.198 ≤ v < 5.4.2110ee5b9644f06b4d3cdcd9544f43f63312e425a4c4.19.2475.10.1225.15.475.17.155.18.45.195.4.1986949493884fe88500de4af182588e071cf1544ee6b3fc1496e7227cd6a39a80bbfb7588ef7c7a0108d7a26d115cc7892668baa9750f64bd8baca29ba2b3be930e79cc5d9d829f158e31172b2043f0cdd4c2a041ed3ba114502d5ed6ace5b1a48d637a8eea759ae0a9ae5acee677d722129710ac89cc59c1
Vendor states this is fixed in 0fffb46ff3d5ed4668aca96441ec7a25b793bd6f (fixed)
Vendor states this is fixed in 2135e5d56278ffdb1c2e6d325dc6b87f669b9dac (fixed)
Vendor states this is fixed in 76ffd2042438769298f34b76102b40dea89de616 (fixed)
Vendor states this is fixed in a4cf3dadd1fa43609f7c6570c9116b0e0a9923d1 (fixed)
Vendor states this is fixed in b03d1117e9be7c7da60e466eaf9beed85c5916c8 (fixed)
Vendor states this is fixed in f7ee3b772d9de87387a725caa04bc041ac7fe5ec (fixed)
Vendor states this is fixed in 4.19.256 (unaffected)
Vendor states this is fixed in 5.10.138 (unaffected)
Vendor states this is fixed in 5.15.63 (unaffected)
Affected range stops below 5.18, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 5.19.4 (unaffected)
Vendor states this is fixed in 5.4.211 (unaffected)
Vendor states this is fixed in 6.0 (unaffected)

References (6)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0fffb46ff3d5ed4668aca96441ec7a25b793bd6f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2135e5d56278ffdb1c2e6d325dc6b87f669b9dac
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/76ffd2042438769298f34b76102b40dea89de616
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a4cf3dadd1fa43609f7c6570c9116b0e0a9923d1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b03d1117e9be7c7da60e466eaf9beed85c5916c8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f7ee3b772d9de87387a725caa04bc041ac7fe5ec

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

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