High · published October 1, 2025
In the Linux kernel, the following vulnerability has been resolved:
HID: multitouch: Correct devm device reference for hidinput input_dev name
Reference the HID device rather than the input device for the devm
allocation of the input_dev name. Referencing the input_dev would lead to a
use-after-free when the input_dev was unregistered and subsequently fires a
uevent that depends on the name. At the point of firing the uevent, the
name would be freed by devres management.
Use devm_kasprintf to simplify the logic for allocating memory and
formatting the input_dev name string.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 3.12, < 4.14.326 | 4.14.326 |
| linux/linux_kernel | ≥ 4.15, < 4.19.295 | 4.19.295 |
| linux/linux_kernel | ≥ 4.20, < 5.4.257 | 5.4.257 |
| linux/linux_kernel | ≥ 5.5, < 5.10.195 | 5.10.195 |
| linux/linux_kernel | ≥ 5.11, < 5.15.132 | 5.15.132 |
| linux/linux_kernel | ≥ 5.16, < 6.1.53 | 6.1.53 |
| linux/linux_kernel | ≥ 6.2, < 6.4.16 | 6.4.16 |
| linux/linux_kernel | ≥ 6.5, < 6.5.3 | 6.5.3 |