CVE-2023-54207

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

28 Oct 2026, 19:10

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: HID: uclogic: Corregir la referencia del dispositivo devm para el nombre input_dev de hidinput Referenciar el dispositivo HID en lugar del dispositivo de entrada para la asignación devm del nombre input_dev. Referenciar el input_dev conduciría a un uso después de liberación cuando el input_dev fuera dado de baja y posteriormente disparara un uevent que depende del nombre. En el momento de disparar el uevent, el nombre sería liberado por la gestión de devres. Usar devm_kasprintf para simplificar la lógica de asignación de memoria y formateo de la cadena del nombre input_dev.

Information

Published : 2025-12-30 13:16

Updated : 2026-10-28 19:10


NVD link : CVE-2023-54207

Mitre link : CVE-2023-54207

CVE.ORG link : CVE-2023-54207


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-416

Use After Free