CVEvulnerability

CVE-2023-54207

7.8 HIGH Published 2025-12-30 Modified 2026-10-28 Official page ↗
Status
Analyzed
Published
2025-12-30
Last modified
2026-10-28
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-416

Description

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.

Affected configurations

• linux linux kernel (>= 4.1 < 5.10.249) • linux linux kernel (>= 5.11 < 5.15.199) • linux linux kernel (>= 5.16 < 6.1.53) • linux linux kernel (>= 6.2 < 6.4.16) • linux linux kernel (>= 6.5 < 6.5.3)

Related

Weakness · CWE (1)

References