All reports
Medium

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

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-50072

Probability of exploitation in the next 30 days: 0.21%

FIRST EPSS · 2026-11-21

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.

A flaw was found in the Linux kernel's parallel NFS (pNFS) client implementation. When an in-flight file open Remote Procedure Call (RPC) operation is cancelled, the kernel prematurely frees memory structures that remain in use by the pending request. A local user can exploit this use-after-free condition to potentially escalate privileges or crash the system, causing a Denial of Service (DoS).