platform/x86: dell-wmi-base: Fix handling of ultra performance key
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 5fbd827eb9c224c33a5f263ee543a75fe957faa3 · < adfd6846bea13667ff28f8aaf00c32fbd69825ab| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
platform/x86: dell-wmi-base: Fix handling of ultra performance key
The commit message of commit 5fbd827eb9c2 ("platform/x86: dell-wmi: Recognise or support new switches") states that the ultra performance key contains additional data after the type and code fields. The event data passed to dell_wmi_process_key() is already parsed, so "buffer" already starts after those two fields.
Use the correct index for accessing the first data field to avoid a potential buffer overread.
From the CVE record · Linux
The Linux kernel's dell-wmi-base component uses the wrong index when reading data from an ultra performance key event, potentially causing a buffer overread. The input does not specify how an attacker could trigger it or whether access or user interaction is required.
Anyone running a Linux kernel with the affected dell-wmi-base code should check their version; affected versions are not specified.