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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
b20d6bf8014b2d6fcf65c150453d95a6276fd1fa to < e44ec6b6d3c0b8ea089b589fa0cce49a4da66b89affectedb20d6bf8014b2d6fcf65c150453d95a6276fd1fa to < d738e51bf2c21921df351f536147178ae3cbd38baffectedb20d6bf8014b2d6fcf65c150453d95a6276fd1fa to < 2caae9d1977beea0a7914b3d86639262801fd116affectedb20d6bf8014b2d6fcf65c150453d95a6276fd1fa to < f321cc430c49b6c1be0d53f2ef19d8342d8029ccaffected
Linux Linux
Default version status: affected
6.11affected0 to < 6.11unaffected6.12.113 to ≤ 6.12.*unaffected6.18.57 to ≤ 6.18.*unaffected7.2.11 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected