Skip to contentSkip to conversation

CVE-2026-98502: HID: alps: unregister DualPoint Stick input device on remove

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 18

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: alps: unregister DualPoint Stick input device on remove

alps_input_configured() allocates a second input device ("DualPoint Stick") with input_allocate_device() and registers it, but the alps_driver struct has no .remove handler and input2 is not tracked in hdev->inputs. The default remove path (hid_hw_stop -> hidinput_disconnect) only iterates hdev->inputs, so input2 is never unregistered and leaks on every device removal.

Add a .remove handler that stops the device first (preventing URB callbacks from touching input2 during teardown) and then unregisters input2.

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

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

	Issue introduced in 4.8 with commit 2562756dde550901c224e3805102bdfc17e7d13a and fixed in 6.12.112 with commit 1170ebfba562b3938ff7749b2e42e4420f19436d
	Issue introduced in 4.8 with commit 2562756dde550901c224e3805102bdfc17e7d13a and fixed in 6.18.55 with commit aa4845a710ae9fee6a3831f5c338904cea77c3aa
	Issue introduced in 4.8 with commit 2562756dde550901c224e3805102bdfc17e7d13a and fixed in 7.2.9 with commit 978e801750c7b0859e87eae619f7d88fcd88333e
	Issue introduced in 4.8 with commit 2562756dde550901c224e3805102bdfc17e7d13a and fixed in 7.3-rc5 with commit aa9dde93e05a837645fdfd577eea71f0733f0694

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

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-alps.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/1170ebfba562b3938ff7749b2e42e4420f19436d
	https://git.kernel.org/stable/c/aa4845a710ae9fee6a3831f5c338904cea77c3aa
	https://git.kernel.org/stable/c/978e801750c7b0859e87eae619f7d88fcd88333e
	https://git.kernel.org/stable/c/aa9dde93e05a837645fdfd577eea71f0733f0694