CVE-2022-50072
NFSv4/pnfs: Fix a use-after-free bug in open
Mitigation
- No fix listed yet: follow the vendor advisory.
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
Vulnerability facts
- Affected
- 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
- Fixed in
- Linux 0fffb46ff3d5ed4668aca96441ec7a25b793bd6f, Linux 76ffd2042438769298f34b76102b40dea89de616, Linux 2135e5d56278ffdb1c2e6d325dc6b87f669b9dac, Linux 4.19.256, Linux 5.4.211
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.29% chance of exploitation in 30 days (percentile 15, 2026-11-26)
- CWE
- CWE-416
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| 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 |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Patches
- 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
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.