Bug 2426150 (CVE-2023-54207) - CVE-2023-54207 kernel: HID: uclogic: Correct devm device reference for hidinput input_dev name
Summary: CVE-2023-54207 kernel: HID: uclogic: Correct devm device reference for hidinp...
Keywords:
Status: NEW
Alias: CVE-2023-54207
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-30 13:12 UTC by OSIDB Bzimport
Modified: 2025-12-31 05:37 UTC (History)
0 users

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-30 13:12:34 UTC
In the Linux kernel, the following vulnerability has been resolved:

HID: uclogic: 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.