CVE-2022-50302: lockd: set other missing fields when unlocking files

Published Sep 15, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

lockd: set other missing fields when unlocking files

vfslockfile() expects the struct filelock to be fully initialised by the caller. Re-exported NFSv3 has been seen to Oops if the flfile field is NULL.

Affected Software

8 affected components
Linux Linux kernel
Linux Linux kernel>=5.15.56<5.15.86
Linux Linux kernel>=5.18.13<5.19
Linux Linux kernel>=5.19.1<6.0.16
Linux Linux kernel>=6.1<6.1.2
Linux Linux kernel=5.19
Linux Linux kernel=5.19-rc7
Linux Linux kernel=5.19-rc8

Event History

Sep 15, 2025
CVE Published
via MITRE·02:45 PM
Data Sourced
via MITRE·02:45 PM
DescriptionSeverity
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-50302?

CVE-2022-50302 is classified as a medium-severity vulnerability in the Linux kernel.

2

How do I fix CVE-2022-50302?

To fix CVE-2022-50302, update your Linux kernel to the latest version that includes the patch for this vulnerability.

3

What are the potential impacts of CVE-2022-50302?

CVE-2022-50302 can lead to system instability and crashes when re-exported NFSv3 encounters a NULL fl_file field.

4

Which versions of Linux kernel are affected by CVE-2022-50302?

CVE-2022-50302 affects specific versions of the Linux kernel where the vfs_lock_file() function is improperly handling file locks.

5

Is CVE-2022-50302 under active exploitation?

As of now, there is no public evidence suggesting that CVE-2022-50302 is actively being exploited in the wild.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203