Skip to main content
Network Thinking Solutions Logo

CVE-2022-50165

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

All CVEs
CVE-2022-50165Published 6/18/2025

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

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
6/18/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 3.17, < 4.14.291

Verify advisory

Source
linux kernel
linux
≥ 4.15, < 4.19.256

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.211

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.137

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.61

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 5.18.18

Verify advisory

Source
linux kernel
linux
≥ 5.19, < 5.19.2

Verify advisory

Source
Linux
Linux
≥ ff974e4083341383d3dd4079e52ed30f57f376f0, < b13c84e877d7a3095bacb14665db304b2c00e95f

Verify advisory

Source
Linux
Linux
≥ ff974e4083341383d3dd4079e52ed30f57f376f0, < c9fde3a44da566d8929070ab6bda4f0dfa9955d0

Verify advisory

Source
Linux
Linux
≥ ff974e4083341383d3dd4079e52ed30f57f376f0, < 52b11a48cf073e0aab923ae809a765d756cecf13

Verify advisory

Source
Linux
Linux
≥ ff974e4083341383d3dd4079e52ed30f57f376f0, < 6c5fee83bdbeffe8d607d1ab125122a75f40bd1a

Verify advisory

Source
Linux
Linux
≥ ff974e4083341383d3dd4079e52ed30f57f376f0, < 689e5caf63e99e15d2f485ec297c1bf9243e0e28

Verify advisory

Source
Linux
Linux
≥ ff974e4083341383d3dd4079e52ed30f57f376f0, < d4742c886043b69d2d058bfde3998ef333b66595

Verify advisory

Source
Linux
Linux
≥ ff974e4083341383d3dd4079e52ed30f57f376f0, < 409bd72e544fdf4809ea0dac337bb5a1f11a25a9

Verify advisory

Source
Linux
Linux
≥ ff974e4083341383d3dd4079e52ed30f57f376f0, < d578e0af3a003736f6c440188b156483d451b329

Verify advisory

Source
Linux
Linux
3.17

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.