{"id":"CVE-2022-50302","summary":"lockd: set other missing fields when unlocking files","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nlockd: set other missing fields when unlocking files\n\nvfs_lock_file() expects the struct file_lock to be fully initialised by\nthe caller. Re-exported NFSv3 has been seen to Oops if the fl_file field\nis NULL.","modified":"2026-04-02T08:28:23.790518Z","published":"2025-09-15T14:45:57.924Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50302.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/18ebd35b61b4693a0ddc270b6d4f18def232e770"},{"type":"WEB","url":"https://git.kernel.org/stable/c/31c93ee5f1e4dc278b562e20f3c3274ac34997f3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/688575aef211b0986fc51010116f5888a99d76a2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/95d42a8d3d4ae84a0bd3ee23e1fee240cdf0a9f0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d7aa9f7778316beb690f6e2763b6d672ad8b256f"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50302.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50302"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"486c1acf14233b1ff7b37e6f026a737a2f7f53f1"},{"fixed":"31c93ee5f1e4dc278b562e20f3c3274ac34997f3"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"9c3eef773cf4a8a18f959234bbb4c0a55c31ab71"},{"fixed":"95d42a8d3d4ae84a0bd3ee23e1fee240cdf0a9f0"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"aec158242b87a43d83322e99bc71ab4428e5ab79"},{"fixed":"688575aef211b0986fc51010116f5888a99d76a2"},{"fixed":"d7aa9f7778316beb690f6e2763b6d672ad8b256f"},{"fixed":"18ebd35b61b4693a0ddc270b6d4f18def232e770"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"58c3f48a540b821b3253e2dc31c8fa237293ffc9"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50302.json"}}],"schema_version":"1.7.5"}