In the Linux kernel, the following vulnerability has been resolved:EOL][EOL]wifi: wil6210: debugfs: fix uninitialized variable use in `wil_write_file_wmi()`[EOL][EOL]Commit 7a4836560a61 changes simple_write_to_buffer() with memdup_user()[EOL]but it forgets to change the value to be returned that came from[EOL]simple_write_to_buffer() call. It results in the following warning:[EOL][EOL] warning: variable 'rc' is uninitialized when used here [-Wuninitialized][EOL] return rc;[EOL] ^~[EOL][EOL]Remove rc variable and just return the passed in length if the[EOL]memdup_user() succeeds. CREATE(Triage):(User=lchen-cn) [CVE-2022-50165 (https://nvd.nist.gov/vuln/detail/CVE-2022-50165)