What’s Vulnerable › Vulnerabilities
CVE-2022-50302: lockd: set other missing fields when unlocking files
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-09-15 · updated 2026-08-04
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.
Affected products
- Linux kernel: from 5.15.56 before 5.15.86; from 5.18.13 before 5.19; from 5.19.1 before 6.0.16; from 6.1 before 6.1.2; 5.19, 5.19-rc7, 5.19-rc8 — fixed in 5.15.86, 5.19, 6.0.16, 6.1.2
How to fix
Upgrade to a fixed version: Linux kernel 5.15.86, 5.19, 6.0.16, 6.1.2. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/18ebd35b61b4693a0ddc270b6d4f18def232e770
- https://git.kernel.org/stable/c/31c93ee5f1e4dc278b562e20f3c3274ac34997f3
- https://git.kernel.org/stable/c/688575aef211b0986fc51010116f5888a99d76a2
- https://git.kernel.org/stable/c/95d42a8d3d4ae84a0bd3ee23e1fee240cdf0a9f0
- https://git.kernel.org/stable/c/d7aa9f7778316beb690f6e2763b6d672ad8b256f
Get alerted when CVE-2022-50302 or the next vulnerability affects your stack