CVE & CISA-KEV Catalog

CVE-2022-50165

MEDIUM
5.5
CVSS v3
NVD

Description

In the Linux kernel, the following vulnerability has been resolved: wifi: wil6210: debugfs: fix uninitialized variable use in `wil_write_file_wmi()` Commit 7a4836560a61 changes simple_write_to_buffer() with memdup_user() but it forgets to change the value to be returned that came from simple_write_to_buffer() call. It results in the following warning: warning: variable 'rc' is uninitialized when used here [-Wuninitialized] return rc; ^~ Remove rc variable and just return the passed in length if the memdup_user() succeeds.

How to fix

Remediation Available
linuxDebian
Fixed in:5.10.140-1CVE-2022-50165
Fixed in:6.0.2-1CVE-2022-50165
Fixed in:6.0.2-1CVE-2022-50165
Fixed in:6.0.2-1CVE-2022-50165

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

0.20%probability of exploitation in 30 days
10thpercentile

Low risk: more likely to be exploited than 10% of all known CVEs.

References

Related Vulnerabilities

Other CWE-908 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2025-5777High7.5100%KEV + RansomFix
CVE-2023-24941Critical9.895%-Fix
CVE-2007-1751High9.361%--
CVE-2008-0081Critical9.858%--
CVE-2020-1934Medium5.352%-Fix
CVE-2011-1255High9.342%--
Embed a live status badge for CVE-2022-50165
CVE-2022-50165 severity badge

Markdown

[![CVE-2022-50165](https://tridentstack.com/cve/badge/CVE-2022-50165.svg)](https://tridentstack.com/cve/CVE-2022-50165)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-50165"><img src="https://tridentstack.com/cve/badge/CVE-2022-50165.svg" alt="CVE-2022-50165"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-17.