{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-50165","published":"2025-06-18T11:15:46.790000Z","last_modified":"2026-06-17T05:22:53.563000Z","status":"Analyzed","cvss":{"version":"3.1","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-908"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"3.17","version_end_excluding":"4.14.291"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.15","version_end_excluding":"4.19.256"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.20","version_end_excluding":"5.4.211"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.5","version_end_excluding":"5.10.137"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.11","version_end_excluding":"5.15.61"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.16","version_end_excluding":"5.18.18"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.19","version_end_excluding":"5.19.2"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"epss":{"score":0.0028,"percentile":0.13038,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2022-50165/","html_en":"/en/cve/CVE-2022-50165/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-50165","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-50165"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: wil6210: debugfs: fix uninitialized variable use in `wil_write_file_wmi()`\n\nCommit 7a4836560a61 changes simple_write_to_buffer() with memdup_user()\nbut it forgets to change the value to be returned that came from\nsimple_write_to_buffer() call. It results in the following warning:\n\n  warning: variable 'rc' is uninitialized when used here [-Wuninitialized]\n           return rc;\n                  ^~\n\nRemove rc variable and just return the passed in length if the\nmemdup_user() succeeds.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/409bd72e544fdf4809ea0dac337bb5a1f11a25a9","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/52b11a48cf073e0aab923ae809a765d756cecf13","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/689e5caf63e99e15d2f485ec297c1bf9243e0e28","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/6c5fee83bdbeffe8d607d1ab125122a75f40bd1a","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/b13c84e877d7a3095bacb14665db304b2c00e95f","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/c9fde3a44da566d8929070ab6bda4f0dfa9955d0","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/d4742c886043b69d2d058bfde3998ef333b66595","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/d578e0af3a003736f6c440188b156483d451b329","tags":["Patch"]}]}}