CVE-2023-54207
Severity CVSS v4.0:
Pending analysis
Type:
CWE-416
Use After Free
Publication date:
30/12/2025
Last modified:
26/02/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
HID: uclogic: Correct devm device reference for hidinput input_dev name<br />
<br />
Reference the HID device rather than the input device for the devm<br />
allocation of the input_dev name. Referencing the input_dev would lead to a<br />
use-after-free when the input_dev was unregistered and subsequently fires a<br />
uevent that depends on the name. At the point of firing the uevent, the<br />
name would be freed by devres management.<br />
<br />
Use devm_kasprintf to simplify the logic for allocating memory and<br />
formatting the input_dev name string.
Impact
Base Score 3.x
7.80
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.1 (including) | 5.10.249 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.11 (including) | 5.15.199 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16 (including) | 6.1.53 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.2 (including) | 6.4.16 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.5 (including) | 6.5.3 (excluding) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/4c2707dfee5847dc0b5ecfbe512c29c93832fdc4
- https://git.kernel.org/stable/c/51f49e3927ad545cec0c0afb86856ccacd9f085d
- https://git.kernel.org/stable/c/58f0d1c0e494a88f301bf455da7df4366f179bbb
- https://git.kernel.org/stable/c/dd613a4e45f8d35f49a63a2064e5308fa5619e29
- https://git.kernel.org/stable/c/f283805d984343b2f216e2f4c6c7af265b9542ae
- https://git.kernel.org/stable/c/f78bb490b16ecb506d4904be4b00bf9aad6588f9



