5.5
MEDIUM CVSS 3.1
CVE-2022-50165
wifi: wil6210: debugfs: fix uninitialized variable use in `wil_write_file_wmi()`
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.

INFO

Published Date :

June 18, 2025, 11:15 a.m.

Last Modified :

Nov. 17, 2025, 7:48 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2022-50165 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
Solution
Address an uninitialized variable use in the wil6210 driver for improved stability.
  • Update the Linux kernel to include the fix for wil6210.
  • Review and apply the specific kernel commit mentioned.
  • Test the system for stability after the update.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-50165 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-50165 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-50165 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-50165 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Nov. 17, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Added CWE CWE-908
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 5.18.18 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.19 up to (excluding) 5.19.2 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.15 up to (excluding) 4.19.256 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.211 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.137 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.61 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.17 up to (excluding) 4.14.291
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/409bd72e544fdf4809ea0dac337bb5a1f11a25a9 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/52b11a48cf073e0aab923ae809a765d756cecf13 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/689e5caf63e99e15d2f485ec297c1bf9243e0e28 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/6c5fee83bdbeffe8d607d1ab125122a75f40bd1a Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/b13c84e877d7a3095bacb14665db304b2c00e95f Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/c9fde3a44da566d8929070ab6bda4f0dfa9955d0 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/d4742c886043b69d2d058bfde3998ef333b66595 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/d578e0af3a003736f6c440188b156483d451b329 Types: Patch
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 18, 2025

    Action Type Old Value New Value
    Added 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.
    Added Reference https://git.kernel.org/stable/c/409bd72e544fdf4809ea0dac337bb5a1f11a25a9
    Added Reference https://git.kernel.org/stable/c/52b11a48cf073e0aab923ae809a765d756cecf13
    Added Reference https://git.kernel.org/stable/c/689e5caf63e99e15d2f485ec297c1bf9243e0e28
    Added Reference https://git.kernel.org/stable/c/6c5fee83bdbeffe8d607d1ab125122a75f40bd1a
    Added Reference https://git.kernel.org/stable/c/b13c84e877d7a3095bacb14665db304b2c00e95f
    Added Reference https://git.kernel.org/stable/c/c9fde3a44da566d8929070ab6bda4f0dfa9955d0
    Added Reference https://git.kernel.org/stable/c/d4742c886043b69d2d058bfde3998ef333b66595
    Added Reference https://git.kernel.org/stable/c/d578e0af3a003736f6c440188b156483d451b329
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 5.5
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact