CVE-2023-54207
HID: uclogic: Correct devm device reference for hidinput input_dev name
Check your servers for CVE-2023-54207
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-54207 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.11% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Jun 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from cce2dbdf258e6b27b2b100f511531edabb77f427, before f78bb490b16ecb506d4904be4b00bf9aad6588f9 affected from cce2dbdf258e6b27b2b100f511531edabb77f427, before 51f49e3927ad545cec0c0afb86856ccacd9f085d affected from cce2dbdf258e6b27b2b100f511531edabb77f427, before f283805d984343b2f216e2f4c6c7af265b9542ae affected from cce2dbdf258e6b27b2b100f511531edabb77f427, before 4c2707dfee5847dc0b5ecfbe512c29c93832fdc4 affected from cce2dbdf258e6b27b2b100f511531edabb77f427, before 58f0d1c0e494a88f301bf455da7df4366f179bbb affected from cce2dbdf258e6b27b2b100f511531edabb77f427, before dd613a4e45f8d35f49a63a2064e5308fa5619e29
Other versions: unaffected
|
| Linux |
affected 4.1 unaffected before 4.1 unaffected from 5.10.249 up to and including 5.10.* unaffected from 5.15.199 up to and including 5.15.* unaffected from 6.1.53 up to and including 6.1.* unaffected from 6.4.16 up to and including 6.4.* unaffected from 6.5.3 up to and including 6.5.* unaffected 6.6 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-54207 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-54207
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-54207
trivy image --scanners vuln IMAGE | grep CVE-2023-54207
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/f78bb490b16ecb506d4904be4b00bf9aad6588f9 git.kernel.org
- https://git.kernel.org/stable/c/51f49e3927ad545cec0c0afb86856ccacd9f085d git.kernel.org
- https://git.kernel.org/stable/c/f283805d984343b2f216e2f4c6c7af265b9542ae git.kernel.org
- https://git.kernel.org/stable/c/4c2707dfee5847dc0b5ecfbe512c29c93832fdc4 git.kernel.org
- https://git.kernel.org/stable/c/58f0d1c0e494a88f301bf455da7df4366f179bbb git.kernel.org
- https://git.kernel.org/stable/c/dd613a4e45f8d35f49a63a2064e5308fa5619e29 git.kernel.org
Source: the record CVE-2023-54207 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse