Skip to contentSkip to conversation

CVE-2026-90329: HID: synchronize input before cleaning up a failed probe

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:

HID: synchronize input before cleaning up a failed probe

hid_device_io_start() allows reports to run concurrently with probe. If the probe subsequently fails, __hid_device_probe() releases driver resources and clears hdev->driver without first excluding those report callbacks.

For example, a report may enter hidraw_report_event() while the failure path frees the associated hidraw object, leading to a use-after-free when the report takes the object's list lock.

Stop input before performing failed-probe cleanup. This reacquires driver_input_lock and waits for any report callback already in progress.

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

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

	Issue introduced in 3.10 with commit c849a6143bec520aff2a6646518b0d041402428b and fixed in 5.10.270 with commit 3ffb088a2ed34ca982cfc2c81d107ce370aa45f1
	Issue introduced in 3.10 with commit c849a6143bec520aff2a6646518b0d041402428b and fixed in 5.15.221 with commit 2c35cdeb13a0c52429501e66f368fa59cad235f6
	Issue introduced in 3.10 with commit c849a6143bec520aff2a6646518b0d041402428b and fixed in 6.1.188 with commit 98201b46f7e33fe11af6f024fecb40fb56634225
	Issue introduced in 3.10 with commit c849a6143bec520aff2a6646518b0d041402428b and fixed in 6.6.157 with commit 9a3da56aae28e1ad3a3e591f72a537742053ecd2
	Issue introduced in 3.10 with commit c849a6143bec520aff2a6646518b0d041402428b and fixed in 6.12.110 with commit edd490b8ad85c052eaf10dcc9f390ea54f1e1b39
	Issue introduced in 3.10 with commit c849a6143bec520aff2a6646518b0d041402428b and fixed in 6.18.52 with commit 01eeb601a1626e683fb7b77c63f442b06fb87093
	Issue introduced in 3.10 with commit c849a6143bec520aff2a6646518b0d041402428b and fixed in 7.2.6 with commit b85d1000eb8842768970f2fd0a8fd362472d02d5
	Issue introduced in 3.10 with commit c849a6143bec520aff2a6646518b0d041402428b and fixed in 7.3-rc1 with commit 207853d46f7ef2e28042344a1468da8754c3ddbf

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-90329

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/hid/hid-core.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/3ffb088a2ed34ca982cfc2c81d107ce370aa45f1
	https://git.kernel.org/stable/c/2c35cdeb13a0c52429501e66f368fa59cad235f6
	https://git.kernel.org/stable/c/98201b46f7e33fe11af6f024fecb40fb56634225
	https://git.kernel.org/stable/c/9a3da56aae28e1ad3a3e591f72a537742053ecd2
	https://git.kernel.org/stable/c/edd490b8ad85c052eaf10dcc9f390ea54f1e1b39
	https://git.kernel.org/stable/c/01eeb601a1626e683fb7b77c63f442b06fb87093
	https://git.kernel.org/stable/c/b85d1000eb8842768970f2fd0a8fd362472d02d5
	https://git.kernel.org/stable/c/207853d46f7ef2e28042344a1468da8754c3ddbf