Skip to contentSkip to conversation

CVE-2026-93124: platform/x86: asus-wireless: Fail probe when there is no ACPI match

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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

platform/x86: asus-wireless: Fail probe when there is no ACPI match

Every platform driver can be forced to match a device that does not match its list of device IDs because of device_match_driver_override(), so platform drivers that rely on the existence of a device ACPI companion object need to verify its presence.

asus_wireless_probe() returns success when acpi_match_acpi_device() finds no match, leaving behind an input device that never reports anything because the notify handler is not installed. Worse, when the driver is force-bound to a device without an ACPI companion, probe still succeeds and stores a NULL companion pointer, which asus_wireless_remove() later passes to acpi_dev_remove_notify_handler(), leading to a NULL pointer dereference on unbind.

Return -ENODEV when the device does not match the ID table. This also covers the missing-companion case, because acpi_match_acpi_device() rejects a NULL device. Perform the check before allocating any driver state, instead of after the input device has already been registered.

The Linux kernel CVE team has assigned CVE-2026-93124 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 7.1 with commit f7e648027d7e1b5c06eb86d944b7e23926254cee and fixed in 7.2.6 with commit 7bfa711f311a584002e16ecd750627306deb805c
	Issue introduced in 7.1 with commit f7e648027d7e1b5c06eb86d944b7e23926254cee and fixed in 7.3-rc1 with commit 4aefd66ef7822cf7d3f53146dcee0b71021ed2b7

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-93124

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/platform/x86/asus-wireless.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/7bfa711f311a584002e16ecd750627306deb805c
	https://git.kernel.org/stable/c/4aefd66ef7822cf7d3f53146dcee0b71021ed2b7