Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-50302

published high CVSS 3.1 · 7.5

lockd: set other missing fields when unlocking files

Published
15 Sep 2025, 14:45:57 UTC
Updated
05 Aug 2026, 08:58:05 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux486c1acf14233b1ff7b37e6f026a737a2f7f53f1 to < 31c93ee5f1e4dc278b562e20f3c3274ac34997f3 · 9c3eef773cf4a8a18f959234bbb4c0a55c31ab71 to < 95d42a8d3d4ae84a0bd3ee23e1fee240cdf0a9f0 · aec158242b87a43d83322e99bc71ab4428e5ab79 to < 688575aef211b0986fc51010116f5888a99d76a2 · aec158242b87a43d83322e99bc71ab4428e5ab79 to < d7aa9f7778316beb690f6e2763b6d672ad8b256f · aec158242b87a43d83322e99bc71ab4428e5ab79 to < 18ebd35b61b4693a0ddc270b6d4f18def232e770 · 58c3f48a540b821b3253e2dc31c8fa237293ffc9 · 5.15.56 to < 5.15.86 · 5.18.13 to < 5.19 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.19 (affected) · 0 to < 5.19 (unaffected · semver) · 5.15.86 through 5.15.* (unaffected · semver) · 6.0.16 through 6.0.* (unaffected · semver) · 6.1.2 through 6.1.* (unaffected · semver) · 6.2 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2023-012 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Red Hat Enterprise Linux RHEL-9 bpftoolaarch64 Advisory build 7.0.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 bpftoolppc64le Advisory build 7.0.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 bpftools390x Advisory build 7.0.0-284.11.1.el9_2 RHSA-2023:2458
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat Enterprise Linux RHEL-9 bpftoolx86_64 Advisory build 7.0.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfoaarch64 Advisory build 7.0.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfoppc64le Advisory build 7.0.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfos390x Advisory build 7.0.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfox86_64 Advisory build 7.0.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernelaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernelppc64le Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernels390x Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernelsrc Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernelx86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-64kaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-64k-coreaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-64k-debugaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-coreaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-debuginfoaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-develaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-devel-matchedaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modulesaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modules-coreaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modules-extraaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-64k-debuginfoaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-64k-develaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-64k-devel-matchedaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-64k-modulesaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-64k-modules-coreaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-64k-modules-extraaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-abi-stablelistsnoarch Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-coreaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-coreppc64le Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-cores390x Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-corex86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debugaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debugppc64le Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debugs390x Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debugx86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-coreaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-coreppc64le Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-cores390x Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-corex86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfoaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfoppc64le Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfos390x Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfox86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-develaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-develppc64le Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-devels390x Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-develx86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedppc64le Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matcheds390x Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedx86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesppc64le Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-moduless390x Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesx86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-coreaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-coreppc64le Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-cores390x Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-corex86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extraaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extrappc64le Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extras390x Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extrax86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-uki-virtx86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debuginfoaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debuginfoppc64le Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debuginfos390x Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debuginfox86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-aarch64aarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-ppc64leppc64le Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-s390xs390x Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-x86_64x86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-develaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-develppc64le Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-devels390x Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-develx86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedppc64le Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-devel-matcheds390x Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedx86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-docnoarch Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-modulesaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-modulesppc64le Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-moduless390x Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-modulesx86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-modules-coreaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-modules-coreppc64le Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-modules-cores390x Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-modules-corex86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-modules-extraaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-modules-extrappc64le Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-modules-extras390x Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-modules-extrax86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-toolsaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-toolsppc64le Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-toolss390x Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-toolsx86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

2

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.5 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scenarios
en: AV:N - lockd’s NLM service is network-facing (TCP/UDP), and nlmsvc_proc_free_all remotely invokes nlmsvc_free_host_resources → nlm_unlock_files, the vulnerable path; NFS re-export servers expose this to network clients. AC:L - An attacker who can take NLM locks on a re-exported NFSv3 share can reliably trigger the bug via FREE_ALL (or induce host-resource cleanup); no conditions beyond attacker control are required once that deployment is in place. PR:N - NLM accepts AUTH_NULL/AUTH_UNIX with no real credentials on the target; obtaining locks and calling FREE_ALL needs only network reachability to an allowed NFS/NLM export, not privileges on the vulnerable host. UI:N - Exploitation is entirely via attacker-sent NLM RPCs; no victim user action is required. S:U - Impact is a kernel oops/panic in the lockd/nfsd host’s own kernel authority, with no crossing of a VM, IOMMU, or other security boundary. C:N - The defect is a pure NULL fl_file dereference in nlmclnt_setlockargs (file_inode(NULL)); it does not provide an information-disclosure or memory-read primitive. I:N - This is a NULL pointer dereference crash path, not memory corruption, UAF, or an attacker-controlled write; it does not yield integrity compromise or code execution. A:H - The NULL deref oopses lockd and the reported failure escalates to a full kernel panic, hard-denying service on the NFS re-export server.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 486c1acf14233b1ff7b37e6f026a737a2f7f53f1 to < 31c93ee5f1e4dc278b562e20f3c3274ac34997f3 (affected · git)9c3eef773cf4a8a18f959234bbb4c0a55c31ab71 to < 95d42a8d3d4ae84a0bd3ee23e1fee240cdf0a9f0 (affected · git)aec158242b87a43d83322e99bc71ab4428e5ab79 to < 688575aef211b0986fc51010116f5888a99d76a2 (affected · git)aec158242b87a43d83322e99bc71ab4428e5ab79 to < d7aa9f7778316beb690f6e2763b6d672ad8b256f (affected · git)aec158242b87a43d83322e99bc71ab4428e5ab79 to < 18ebd35b61b4693a0ddc270b6d4f18def232e770 (affected · git)58c3f48a540b821b3253e2dc31c8fa237293ffc9 (affected · git)5.15.56 to < 5.15.86 (affected · semver)5.18.13 to < 5.19 (affected · semver)Default: unaffected Linux · cna
Linux Linux 5.19 (affected)0 to < 5.19 (unaffected · semver)5.15.86 through 5.15.* (unaffected · semver)6.0.16 through 6.0.* (unaffected · semver)6.1.2 through 6.1.* (unaffected · semver)6.2 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

5

Provider assertions

1

Linux · cna

lockd: set other missing fields when unlocking files

Provenance

Schema
5.2
Searchable
yes
Content hash
39122ba43db1aef3dd2e6102546808c656d40b4eb684db72664cc957f9f4d3ec
Ingested
23 Sep 2026, 08:04:48 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected