All reports
Medium

kernel: Linux kernel lockd: Denial of Service via uninitialized file lock field in NFSv3

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-50302

Probability of exploitation in the next 30 days: 0.38%

FIRST EPSS · 2026-11-20

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.

A flaw was found in the Linux kernel's lockd component, which handles file locking. A local user could exploit this vulnerability by interacting with re-exported NFSv3 (Network File System version 3) shares. This could cause the kernel to crash, leading to a Denial of Service (DoS) for the system.