All reports
Medium

kernel: HID: multitouch: Correct devm device reference for hidinput input_dev name

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2023-53454

Probability of exploitation in the next 30 days: 0.24%

FIRST EPSS · 2026-11-23

Description

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.

A flaw was found in the Linux kernel's Human Interface Device (HID) multitouch driver. When a multitouch device is unregistered upon disconnection, its device name is released from memory before a pending system event notification has finished referencing it. An attacker with physical access could exploit this use-after-free condition by attaching and removing a device to trigger a Denial of Service (DoS) through a kernel crash or potentially execute arbitrary code.