CVE-2022-50165
Published: Jun 18, 2025
Modified: May 11, 2026
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.
| Vendor | Product | Versions |
|---|---|---|
Linux | Linux | affected ff974e4083341383d3dd4079e52ed30f57f376f0 - < b13c84e877d7a3095bacb14665db304b2c00e95faffected ff974e4083341383d3dd4079e52ed30f57f376f0 - < c9fde3a44da566d8929070ab6bda4f0dfa9955d0affected ff974e4083341383d3dd4079e52ed30f57f376f0 - < 52b11a48cf073e0aab923ae809a765d756cecf13affected ff974e4083341383d3dd4079e52ed30f57f376f0 - < 6c5fee83bdbeffe8d607d1ab125122a75f40bd1aaffected ff974e4083341383d3dd4079e52ed30f57f376f0 - < 689e5caf63e99e15d2f485ec297c1bf9243e0e28+3 more versions |
Linux | Linux | affected 3.17unaffected 0 - < 3.17unaffected 4.14.291 - <= 4.14.*unaffected 4.19.256 - <= 4.19.*unaffected 5.4.211 - <= 5.4.*+5 more versions |
References
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now