{"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-10-28T02:30:37.201843295Z","published":"2025-09-15T14:45:57.924Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50302.json"},"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":"5.15.56"},{"fixed":"5.15.86"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"5.18.13"},{"fixed":"5.19"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"58c3f48a540b821b3253e2dc31c8fa237293ffc9"}]}],"versions":["v5.15.85","v5.15.84","v5.15.83","v5.15.82","v5.15.81","v5.15.80","v5.15.79","v5.15.78","v5.15.77","v5.15.76","v5.15.75","v5.15.74","v5.15.73","v5.15.72","v5.15.71","v5.15.70","v5.15.69","v5.15.68","v5.15.67","v5.15.66","v5.15.65","v5.15.64","v5.15.63","v5.15.62","v5.15.61","v5.15.60","v5.15.59","v5.15.58","v5.15.57","v5.15.56","v5.18.19","v5.18.18","v5.18.17","v5.18.16","v5.18.15","v5.18.14","v5.18.13"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50302.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.15.86"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.0.16"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.19.0"},{"fixed":"6.1.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50302.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}