CVE-2022-50302Published Sep 15, 2025 · Sep 15Updated 2d ago
lockd: set other missing fields when unlocking files
Linux
High7.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Original 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.
From the CVE record · Linux
References
- git.kernel.org/stable/c/31c93ee5f1e4dc278b562e20f3c3274ac34997f3Patch
- git.kernel.org/stable/c/95d42a8d3d4ae84a0bd3ee23e1fee240cdf0a9f0Patch
- git.kernel.org/stable/c/688575aef211b0986fc51010116f5888a99d76a2Patch
- git.kernel.org/stable/c/d7aa9f7778316beb690f6e2763b6d672ad8b256fPatch
- git.kernel.org/stable/c/18ebd35b61b4693a0ddc270b6d4f18def232e770Patch
- github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50302.json
- nvd.nist.gov/vuln/detail/CVE-2022-50302
- git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git