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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 15, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2025-06-18T11:02:16.658Z
- **Modified:** 2026-08-05T08:57:19.571Z

## Who should check

- Anyone running Linux \>= 6b3fc1496e7227cd6a39a80bbfb7588ef7c7a010, \< 0fffb46ff3d5ed4668aca96441ec7a25b793bd6f; \>= a2b3be930e79cc5d9d829f158e31172b2043f0cd, \< f7ee3b772d9de87387a725caa04bc041ac7fe5ec; \>= 0ee5b9644f06b4d3cdcd9544f43f63312e425a4c, \< 76ffd2042438769298f34b76102b40dea89de616; \>= d4c2a041ed3ba114502d5ed6ace5b1a48d637a8e, \< a4cf3dadd1fa43609f7c6570c9116b0e0a9923d1; \>= 6949493884fe88500de4af182588e071cf1544ee, \< b03d1117e9be7c7da60e466eaf9beed85c5916c8; \>= 6949493884fe88500de4af182588e071cf1544ee, \< 2135e5d56278ffdb1c2e6d325dc6b87f669b9dac; 08d7a26d115cc7892668baa9750f64bd8baca29b; ea759ae0a9ae5acee677d722129710ac89cc59c1; \>= 4.19.247, \< 4.19.256; \>= 5.4.198, \< 5.4.211; …
- Anyone running 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.

## Affected and fixed versions

- Linux: \>= 6b3fc1496e7227cd6a39a80bbfb7588ef7c7a010, \< 0fffb46ff3d5ed4668aca96441ec7a25b793bd6f; \>= a2b3be930e79cc5d9d829f158e31172b2043f0cd, \< f7ee3b772d9de87387a725caa04bc041ac7fe5ec; \>= 0ee5b9644f06b4d3cdcd9544f43f63312e425a4c, \< 76ffd2042438769298f34b76102b40dea89de616; \>= d4c2a041ed3ba114502d5ed6ace5b1a48d637a8e, \< a4cf3dadd1fa43609f7c6570c9116b0e0a9923d1; \>= 6949493884fe88500de4af182588e071cf1544ee, \< b03d1117e9be7c7da60e466eaf9beed85c5916c8; \>= 6949493884fe88500de4af182588e071cf1544ee, \< 2135e5d56278ffdb1c2e6d325dc6b87f669b9dac; 08d7a26d115cc7892668baa9750f64bd8baca29b; ea759ae0a9ae5acee677d722129710ac89cc59c1; \>= 4.19.247, \< 4.19.256; \>= 5.4.198, \< 5.4.211; … (cvelist)
- Linux: 5.19 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-50072. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50072.md
Affected: Linux >= 6b3fc1496e7227cd6a39a80bbfb7588ef7c7a010, < 0fffb46ff3d5ed4668aca96441ec7a25b793bd6f; >= a2b3be930e79cc5d9d829f158e31172b2043f0cd, < f7ee3b772d9de87387a725caa04bc041ac7fe5ec; >= 0ee5b9644f06b4d3cdcd9544f43f63312e425a4c, < 76ffd2042438769298f34b76102b40dea89de616; >= d4c2a041ed3ba114502d5ed…
Fixed in: Linux 0fffb46ff3d5ed4668aca96441ec7a25b793bd6f, Linux 76ffd2042438769298f34b76102b40dea89de616, Linux 2135e5d56278ffdb1c2e6d325dc6b87f669b9dac, Linux 4.19.256, Linux 5.4.211

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-50072 being exploited?

There is no confirmed exploitation: CVE-2022-50072 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-50072?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-50072?

Linux \>= 6b3fc1496e7227cd6a39a80bbfb7588ef7c7a010, \< 0fffb46ff3d5ed4668aca96441ec7a25b793bd6f; \>= a2b3be930e79cc5d9d829f158e31172b2043f0cd, \< f7ee3b772d9de87387a725caa04bc041ac7fe5ec; \>= 0ee5b9644f06b4d3cdcd9544f43f63312e425a4c, \< 76ffd2042438769298f34b76102b40dea89de616; \>= d4c2a041ed3ba114502d5ed6ace5b1a48d637a8e, \< a4cf3dadd1fa43609f7c6570c9116b0e0a9923d1; \>= 6949493884fe88500de4af182588e071cf1544ee, \< b03d1117e9be7c7da60e466eaf9beed85c5916c8; \>= 6949493884fe88500de4af182588e071cf1544ee, \< 2135e5d56278ffdb1c2e6d325dc6b87f669b9dac; 08d7a26d115cc7892668baa9750f64bd8baca29b; ea759ae0a9ae5acee677d722129710ac89cc59c1; \>= 4.19.247, \< 4.19.256; \>= 5.4.198, \< 5.4.211; …; Linux 5.19.

### Is there a fix for CVE-2022-50072?

Yes. Fixed in Linux 0fffb46ff3d5ed4668aca96441ec7a25b793bd6f, Linux 76ffd2042438769298f34b76102b40dea89de616, Linux 2135e5d56278ffdb1c2e6d325dc6b87f669b9dac, Linux 4.19.256, Linux 5.4.211. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2022-50072?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-50072>

HTML: <https://flawdb.com/CVE-2022-50072> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-50072>
