CVE-2023-54207

HID: uclogic: Correct devm device reference for hidinput input_dev name

published December 30, 2025

CVSS
—
EPSS
0%
Percentile
4.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00156 · 4.4th percentile
Published
2025-12-30T12:11Z
EPSS history
Timeline
  • 30 DEC 12:11Z
    HID: uclogic: Correct devm device reference for hidinput input_dev name
    cvelistv5