CVE-2022-50302

Source
https://cve.org/CVERecord?id=CVE-2022-50302
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50302.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-50302
Downstream
Published
2025-09-15T14:45:57Z
Modified
2026-10-20T10:30:21Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
lockd: set other missing fields when unlocking files
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50302.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
486c1acf14233b1ff7b37e6f026a737a2f7f53f1
Fixed
31c93ee5f1e4dc278b562e20f3c3274ac34997f3
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
9c3eef773cf4a8a18f959234bbb4c0a55c31ab71
Fixed
95d42a8d3d4ae84a0bd3ee23e1fee240cdf0a9f0
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
aec158242b87a43d83322e99bc71ab4428e5ab79
Fixed
688575aef211b0986fc51010116f5888a99d76a2
Fixed
d7aa9f7778316beb690f6e2763b6d672ad8b256f
Fixed
18ebd35b61b4693a0ddc270b6d4f18def232e770
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5.15.56
Fixed
5.15.86
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5.18.13
Fixed
5.19
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
58c3f48a540b821b3253e2dc31c8fa237293ffc9

Affected versions

v5.*
v5.15.56
v5.15.57
v5.15.58
v5.15.59
v5.15.60
v5.15.61
v5.15.62
v5.15.63
v5.15.64
v5.15.65
v5.15.66
v5.15.67
v5.15.68
v5.15.69
v5.15.70
v5.15.71
v5.15.72
v5.15.73
v5.15.74
v5.15.75
v5.15.76
v5.15.77
v5.15.78
v5.15.79
v5.15.80
v5.15.81
v5.15.82
v5.15.83
v5.15.84
v5.15.85
v5.18.13
v5.18.14
v5.18.15
v5.18.16
v5.18.17
v5.18.18
v5.18.19

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50302.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
5.15.86
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.0.16
Type
ECOSYSTEM
Events
Introduced
5.19.0
Fixed
6.1.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50302.json"