CVE-2022-50302

lockd: set other missing fields when unlocking files

MEDIUM
5.5
CVSS Score
Published: September 15, 2025 at 02:45 PM UTC
Updated: August 5, 2026 at 09:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.4%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 5.18.135.15.56 ≤ v < 5.15.865.18.13 ≤ v < 5.195.19 ≤ v < 6.0.165.19 ≤ v < 6.1.25.19 ≤ v < 6.25.19.1 ≤ v < 6.0.166.1 ≤ v < 6.1.2486c1acf14233b1ff7b37e6f026a737a2f7f53f15.15.565.18.135.195.19 rc75.19 rc858c3f48a540b821b3253e2dc31c8fa237293ffc99c3eef773cf4a8a18f959234bbb4c0a55c31ab71aec158242b87a43d83322e99bc71ab4428e5ab79
Vendor states this is fixed in 18ebd35b61b4693a0ddc270b6d4f18def232e770 (fixed)
Vendor states this is fixed in 31c93ee5f1e4dc278b562e20f3c3274ac34997f3 (fixed)
Vendor states this is fixed in 688575aef211b0986fc51010116f5888a99d76a2 (fixed)
Vendor states this is fixed in 95d42a8d3d4ae84a0bd3ee23e1fee240cdf0a9f0 (fixed)
Vendor states this is fixed in d7aa9f7778316beb690f6e2763b6d672ad8b256f (fixed)
Vendor states this is fixed in 5.15.86 (unaffected)
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 6.0.16 (unaffected)
Vendor states this is fixed in 6.1.2 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/18ebd35b61b4693a0ddc270b6d4f18def232e770
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/31c93ee5f1e4dc278b562e20f3c3274ac34997f3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/688575aef211b0986fc51010116f5888a99d76a2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/95d42a8d3d4ae84a0bd3ee23e1fee240cdf0a9f0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d7aa9f7778316beb690f6e2763b6d672ad8b256f

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card