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

VectorAV: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

CVE-2022-50165
SUSE-SU-2025:02264-1
SUSE-SU-2025:02308-1
SUSE-SU-2025:02320-1
SUSE-SU-2025:02321-1
SUSE-SU-2025:02322-1
SUSE-SU-2025:02537-1
SUSE-SU-2025:2264-1
SUSE-SU-2025_02264-1
SUSE-SU-2025_02308-1
SUSE-SU-2025_02537-1

Affected Products

Astra Linux
Linux Kernel
Suse