Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-50165

MEDIUM 5.5EPSS 13%

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

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= ff974e4083341383d3dd4079e52ed30f57f376f0, < b13c84e877d7a3095bacb14665db304b2c00e95f; >= ff974e4083341383d3dd4079e52ed30f57f376f0, < c9fde3a44da566d8929070ab6bda4f0dfa9955d0; >= ff974e4083341383d3dd4079e52ed30f57f376f0, < 52b11a48cf073e0aab923ae809a765d756cecf13; >= ff974e4083341383d3dd4079e52ed30f57f376f0, < 6c5fee83bdbeffe8d607d1ab125122a75f40bd1a; >= ff974e4083341383d3dd4079e52ed30f57f376f0, < 689e5caf63e99e15d2f485ec297c1bf9243e0e28; >= ff974e4083341383d3dd4079e52ed30f57f376f0, < d4742c886043b69d2d058bfde3998ef333b66595; >= ff974e4083341383d3dd4079e52ed30f57f376f0, < 409bd72e544fdf4809ea0dac337bb5a1f11a25a9; >= ff974e4083341383d3dd4079e52ed30f57f376f0, < d578e0af3a003736f6c440188b156483d451b329
  • Anyone running Linux 3.17

Vulnerability facts

Affected
Linux >= ff974e4083341383d3dd4079e52ed30f57f376f0, < b13c84e877d7a3095bacb14665db304b2c00e95f; >= ff974e4083341383d3dd4079e52ed30f57f376f0, < c9fde3a44da566d8929070ab6bda4f0dfa9955d0; >= ff974e4083341383d3dd4079e52ed30f57f376f0, < 52b11a48cf073e0aab923ae809a765d756cecf13; >= ff974e4083341383d3dd4079e52ed30f57f376f0, < 6c5fee83bdbeffe8d607d1ab125122a75f40bd1a; >= ff974e4083341383d3dd4079e52ed30f57f376f0, < 689e5caf63e99e15d2f485ec297c1bf9243e0e28; >= ff974e4083341383d3dd4079e52ed30f57f376f0, < d4742c886043b69d2d058bfde3998ef333b66595; >= ff974e4083341383d3dd4079e52ed30f57f376f0, < 409bd72e544fdf4809ea0dac337bb5a1f11a25a9; >= ff974e4083341383d3dd4079e52ed30f57f376f0, < d578e0af3a003736f6c440188b156483d451b329; Linux 3.17
Fixed in
Linux 52b11a48cf073e0aab923ae809a765d756cecf13, Linux 6c5fee83bdbeffe8d607d1ab125122a75f40bd1a, Linux 689e5caf63e99e15d2f485ec297c1bf9243e0e28, Linux 409bd72e544fdf4809ea0dac337bb5a1f11a25a9
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
CWE
CWE-908
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= ff974e4083341383d3dd4079e52ed30f57f376f0, < b13c84e877d7a3095bacb14665db304b2c00e95f; >= ff974e4083341383d3dd4079e52ed30f57f376f0, < c9fde3a44da566d8929070ab6bda4f0dfa9955d0; >= ff974e4083341383d3dd4079e52ed30f57f376f0, < 52b11a48cf073e0aab923ae809a765d756cecf13; >= ff974e4083341383d3dd4079e52ed30f57f376f0, < 6c5fee83bdbeffe8d607d1ab125122a75f40bd1a; >= ff974e4083341383d3dd4079e52ed30f57f376f0, < 689e5caf63e99e15d2f485ec297c1bf9243e0e28; >= ff974e4083341383d3dd4079e52ed30f57f376f0, < d4742c886043b69d2d058bfde3998ef333b66595; >= ff974e4083341383d3dd4079e52ed30f57f376f0, < 409bd72e544fdf4809ea0dac337bb5a1f11a25a9; >= ff974e4083341383d3dd4079e52ed30f57f376f0, < d578e0af3a003736f6c440188b156483d451b329—cvelist
Linux3.17—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-50165. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50165.md
Affected: Linux >= ff974e4083341383d3dd4079e52ed30f57f376f0, < b13c84e877d7a3095bacb14665db304b2c00e95f; >= ff974e4083341383d3dd4079e52ed30f57f376f0, < c9fde3a44da566d8929070ab6bda4f0dfa9955d0; >= ff974e4083341383d3dd4079e52ed30f57f376f0, < 52b11a48cf073e0aab923ae809a765d756cecf13; >= ff974e4083341383d3dd407…
Fixed in: Linux 52b11a48cf073e0aab923ae809a765d756cecf13, Linux 6c5fee83bdbeffe8d607d1ab125122a75f40bd1a, Linux 689e5caf63e99e15d2f485ec297c1bf9243e0e28, Linux 409bd72e544fdf4809ea0dac337bb5a1f11a25a9

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-50165 being exploited?

There is no confirmed exploitation: CVE-2022-50165 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-50165?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2022-50165?

Linux >= ff974e4083341383d3dd4079e52ed30f57f376f0, < b13c84e877d7a3095bacb14665db304b2c00e95f; >= ff974e4083341383d3dd4079e52ed30f57f376f0, < c9fde3a44da566d8929070ab6bda4f0dfa9955d0; >= ff974e4083341383d3dd4079e52ed30f57f376f0, < 52b11a48cf073e0aab923ae809a765d756cecf13; >= ff974e4083341383d3dd4079e52ed30f57f376f0, < 6c5fee83bdbeffe8d607d1ab125122a75f40bd1a; >= ff974e4083341383d3dd4079e52ed30f57f376f0, < 689e5caf63e99e15d2f485ec297c1bf9243e0e28; >= ff974e4083341383d3dd4079e52ed30f57f376f0, < d4742c886043b69d2d058bfde3998ef333b66595; >= ff974e4083341383d3dd4079e52ed30f57f376f0, < 409bd72e544fdf4809ea0dac337bb5a1f11a25a9; >= ff974e4083341383d3dd4079e52ed30f57f376f0, < d578e0af3a003736f6c440188b156483d451b329; Linux 3.17.

Is there a fix for CVE-2022-50165?

Yes. Fixed in Linux 52b11a48cf073e0aab923ae809a765d756cecf13, Linux 6c5fee83bdbeffe8d607d1ab125122a75f40bd1a, Linux 689e5caf63e99e15d2f485ec297c1bf9243e0e28, Linux 409bd72e544fdf4809ea0dac337bb5a1f11a25a9. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2022-50165?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors