Skip to content
CVE Tracker
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API documentationPage
  • MCP serverPage
  • Data sourcesPage
  • ChangelogPage
  • AboutPage
  • How it's builtPage
Back

CVE-2022-50165

wifi: wil6210: debugfs: fix uninitialized variable use in `wil_write_file_wmi()`

Medium5.5EPSS 0.25%
Published
Updated
Reserved
Assigned by
Linux

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.

Scores

CVSS scores of CVE-2022-50165, by who scored it
Scored byCVSSScoreVector
NVDNVD · Analyzed3.1Medium5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS (exploitation in 30 days)
0.25% · top 84% of all CVEs (6 Nov 2026)
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.

Weakness

Affected products

  • Linux · Linux

    • affected ff974e4083341383d3dd4079e52ed30f57f376f0 – < b13c84e877d7a3095bacb14665db304b2c00e95f
    • affected ff974e4083341383d3dd4079e52ed30f57f376f0 – < c9fde3a44da566d8929070ab6bda4f0dfa9955d0
    • affected ff974e4083341383d3dd4079e52ed30f57f376f0 – < 52b11a48cf073e0aab923ae809a765d756cecf13
    • affected ff974e4083341383d3dd4079e52ed30f57f376f0 – < 6c5fee83bdbeffe8d607d1ab125122a75f40bd1a
    • affected ff974e4083341383d3dd4079e52ed30f57f376f0 – < 689e5caf63e99e15d2f485ec297c1bf9243e0e28
    • affected ff974e4083341383d3dd4079e52ed30f57f376f0 – < d4742c886043b69d2d058bfde3998ef333b66595
    • affected ff974e4083341383d3dd4079e52ed30f57f376f0 – < 409bd72e544fdf4809ea0dac337bb5a1f11a25a9
    • affected ff974e4083341383d3dd4079e52ed30f57f376f0 – < d578e0af3a003736f6c440188b156483d451b329
  • Linux · Linux

    • affected 3.17
    • unaffected < 3.17
    • unaffected 4.14.291 – ≤ 4.14.*
    • unaffected 4.19.256 – ≤ 4.19.*
    • unaffected 5.4.211 – ≤ 5.4.*
    • unaffected 5.10.137 – ≤ 5.10.*
    • unaffected 5.15.61 – ≤ 5.15.*
    • unaffected 5.18.18 – ≤ 5.18.*
    • unaffected 5.19.2 – ≤ 5.19.*
    • unaffected 6.0 – ≤ *

References (8)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

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

Record last updated .