Bug 2400698 (CVE-2023-53454) - CVE-2023-53454 kernel: HID: multitouch: Correct devm device reference for hidinput input_dev name
Summary: CVE-2023-53454 kernel: HID: multitouch: Correct devm device reference for hid...
Keywords:
Status: NEW
Alias: CVE-2023-53454
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-01 12:02 UTC by OSIDB Bzimport
Modified: 2025-10-08 23:57 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-10-01 12:02:21 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.