CVE-2026-99069: Input: ati_remote2 - fix type confusion in device attribute handlers
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
Input: ati_remote2 - fix type confusion in device attribute handlers
Previously, the channel_mask and mode_mask attributes were registered on the parent usb_device via sysfs_create_group(). When commit b20d6bf8014b ("Input: ati-remote2 - use driver core to instantiate device attributes") converted the driver to let the driver core manage them via dev_groups in struct usb_driver, the attributes moved to the bound usb_interface devices, but the show and store callbacks were not updated accordingly.
As a result, the callbacks still invoked to_usb_device() on a device pointer belonging to a struct usb_interface, producing an invalid usb_device pointer.
Use to_usb_interface() directly in the attribute handlers to obtain the interface and its driver data.
The Linux kernel CVE team has assigned CVE-2026-99069 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.11 with commit b20d6bf8014b2d6fcf65c150453d95a6276fd1fa and fixed in 6.12.113 with commit e44ec6b6d3c0b8ea089b589fa0cce49a4da66b89 Issue introduced in 6.11 with commit b20d6bf8014b2d6fcf65c150453d95a6276fd1fa and fixed in 6.18.57 with commit d738e51bf2c21921df351f536147178ae3cbd38b Issue introduced in 6.11 with commit b20d6bf8014b2d6fcf65c150453d95a6276fd1fa and fixed in 7.2.11 with commit 2caae9d1977beea0a7914b3d86639262801fd116 Issue introduced in 6.11 with commit b20d6bf8014b2d6fcf65c150453d95a6276fd1fa and fixed in 7.3 with commit f321cc430c49b6c1be0d53f2ef19d8342d8029cc
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-99069
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/input/misc/ati_remote2.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/e44ec6b6d3c0b8ea089b589fa0cce49a4da66b89 https://git.kernel.org/stable/c/d738e51bf2c21921df351f536147178ae3cbd38b https://git.kernel.org/stable/c/2caae9d1977beea0a7914b3d86639262801fd116 https://git.kernel.org/stable/c/f321cc430c49b6c1be0d53f2ef19d8342d8029cc