CVE-2022-50302

lockd: set other missing fields when unlocking files

State
Published
Severity
7.5 High
Published
Sep 15, 2025
Updated
Aug 5, 2026
Reserved
Sep 15, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 486c1acf14233b1ff7b37e6f026a737a2f7f53f1 to before 31c93ee5f1e4dc278b562e20f3c3274ac34997f3Affected
  • 9c3eef773cf4a8a18f959234bbb4c0a55c31ab71 to before 95d42a8d3d4ae84a0bd3ee23e1fee240cdf0a9f0Affected
  • aec158242b87a43d83322e99bc71ab4428e5ab79 to before 688575aef211b0986fc51010116f5888a99d76a2Affected
  • aec158242b87a43d83322e99bc71ab4428e5ab79 to before d7aa9f7778316beb690f6e2763b6d672ad8b256fAffected
  • aec158242b87a43d83322e99bc71ab4428e5ab79 to before 18ebd35b61b4693a0ddc270b6d4f18def232e770Affected
  • 58c3f48a540b821b3253e2dc31c8fa237293ffc9Affected
  • 5.15.56 to before 5.15.86Affected
  • 5.18.13 to before 5.19Affected
LinuxLinux
  • 5.19Affected
  • before 5.19Not affected
  • 5.15.86 through 5.15.*Not affected
  • 6.0.16 through 6.0.*Not affected
  • 6.1.2 through 6.1.*Not affected
  • 6.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.