CVE Database›CVE-2022-50169

CVE-2022-50169

kernel: wifi: wil6210: debugfs: fix info leak in wil_write_file_wmi()

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · June 18, 2025

Updated · June 30, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

wifi: wil6210: debugfs: fix info leak in wil_write_file_wmi()

The simple_write_to_buffer() function will succeed if even a single byte is initialized. However, we need to initialize the whole buffer to prevent information leaks. Just use memdup_user().

Statement

A sensitive information leak was discovered in the wil6210 WiFi driver’s wil_write_file_wmi() debugfs interface. The previous implementation used simple_write_to_buffer() without zero-initializing the buffer, potentially exposing uninitialized kernel memory to user space. This issue is resolved by using memdup_user() instead. The vulnerability can be exploited by local users with access to the debugfs interface and may result in a minor disclosure of kernel memory contents.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

CWE not specified