PT-2025-26091 · Linux+2 · Linux Kernel+2
Published
2025-06-18
·
Updated
2025-07-28
·
CVE-2022-50165
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The issue concerns an uninitialized variable use in the
wil write file wmi() function. A commit changed simple write to buffer() to memdup user(), but forgot to update the return value, resulting in a warning about an uninitialized variable rc. The fix involves removing the rc variable and returning the passed-in length if memdup user() succeeds.Recommendations
For the affected Linux kernel versions, consider applying the patch that removes the
rc variable and returns the passed-in length if memdup user() succeeds.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploit
Use of Uninitialized Resource
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Linux Kernel
Suse