CVE-2022-50302

published 15 Sep 2025 · updated 17 Nov 2026

lockd: set other missing fields when unlocking files

7.5HighCVSS 7.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel d7aa9f7778316beb690f6e2763b6d672ad8b256f, Kernel 5.19, Kernel 95d42a8d3d4ae84a0bd3ee23e1fee240cdf0a9f0 and 6 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=aec158242b87a43d83322e99bc71ab4428e5ab79 <d7aa9f7778316beb690f6e2763b6d672ad8b256f, >=5.18.13 <5.19, >=9c3eef773cf4a8a18f959234bbb4c0a55c31ab71 <95d42a8d3d4ae84a0bd3ee23e1fee240cdf0a9f0, >=aec158242b87a43d83322e99bc71ab4428e5ab79 <18ebd35b61b4693a0ddc270b6d4f18def232e770, >=aec158242b87a43d83322e99bc71ab4428e5ab79 <688575aef211b0986fc51010116f5888a99d76a2, =5.19, =58c3f48a540b821b3253e2dc31c8fa237293ffc9, >=486c1acf14233b1ff7b37e6f026a737a2f7f53f1 <31c93ee5f1e4dc278b562e20f3c3274ac34997f3, >=5.15.56 <5.15.86d7aa9f7778316beb690f6e2763b6d672ad8b256f, 5.19, 95d42a8d3d4ae84a0bd3ee23e1fee240cdf0a9f0, 18ebd35b61b4693a0ddc270b6d4f18def232e770, 688575aef211b0986fc51010116f5888a99d76a2, 31c93ee5f1e4dc278b562e20f3c3274ac34997f3, 5.15.86
linux-kernel: Kernel>=5.18.13 <5.19, >=5.19.0 <6.0.16, >=6.1.0 <6.1.2, >=5.15.56 <5.15.865.19, 6.0.16, 6.1.2, 5.15.86

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50302 severity on Zeptric[![CVE-2022-50302](https://zeptric.io/badge/cve/CVE-2022-50302.svg)](https://zeptric.io/cve/CVE-2022-50302)