CVE-2026-99069: Input: ati_remote2 - fix type confusion in device attribute handlers
In the Linux kernel, the following vulnerability has been resolved:
Input: atiremote2 - fix type confusion in device attribute handlers
Previously, the channelmask and modemask attributes were registered on the parent usbdevice via sysfscreategroup(). When commit b20d6bf8014b ("Input: ati-remote2 - use driver core to instantiate device attributes") converted the driver to let the driver core manage them via devgroups in struct usbdriver, the attributes moved to the bound usbinterface devices, but the show and store callbacks were not updated accordingly.
As a result, the callbacks still invoked tousbdevice() on a device pointer belonging to a struct usbinterface, producing an invalid usbdevice pointer.
Use tousbinterface() directly in the attribute handlers to obtain the interface and its driver data.