CVE-2025-38007
HID: uclogic: Add NULL check in uclogic_input_configured()
Check your servers for CVE-2025-38007
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-2025-38007 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: Add NULL check in uclogic_input_configured()
devm_kasprintf() returns NULL when memory allocation fails. Currently, uclogic_input_configured() does not check for this case, which results in a NULL pointer dereference.
Add NULL check after devm_kasprintf() to prevent this issue.
Exploitation
EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.0% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from f78bb490b16ecb506d4904be4b00bf9aad6588f9, before a9f58479a1a2c6f72907679c4df2f4ed92b05b39 affected from 51f49e3927ad545cec0c0afb86856ccacd9f085d, before 00d52b2fa6083dd0f5c44f3604cd1bad1f9177dc affected from f283805d984343b2f216e2f4c6c7af265b9542ae, before 01b76cc8ca243fc3376b035aa326bbc4f03d384b affected from dd613a4e45f8d35f49a63a2064e5308fa5619e29, before ad6caaf29bc26a48b1241ce82561fcbcf0a75aa9 affected from dd613a4e45f8d35f49a63a2064e5308fa5619e29, before 94e7272b636a0677082e0604609e4c471e0a2caf affected from dd613a4e45f8d35f49a63a2064e5308fa5619e29, before b616453d719ee1b8bf2ea6f6cc6c6258a572a590 affected from dd613a4e45f8d35f49a63a2064e5308fa5619e29, before bd07f751208ba190f9b0db5e5b7f35d5bb4a8a1e affected 4c2707dfee5847dc0b5ecfbe512c29c93832fdc4 affected 58f0d1c0e494a88f301bf455da7df4366f179bbb affected from 6.1.53, before 6.1.140 affected from 6.4.16, before 6.5 affected from 6.5.3, before 6.6
Other versions: unaffected
|
| Linux |
affected 6.6 unaffected before 6.6 unaffected from 6.1.140 up to and including 6.1.* unaffected from 6.6.92 up to and including 6.6.* unaffected from 6.12.30 up to and including 6.12.* unaffected from 6.14.8 up to and including 6.14.* unaffected 6.15 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-2025-38007 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38007
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-2025-38007
trivy image --scanners vuln IMAGE | grep CVE-2025-38007
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/a9f58479a1a2c6f72907679c4df2f4ed92b05b39 git.kernel.org
- https://git.kernel.org/stable/c/00d52b2fa6083dd0f5c44f3604cd1bad1f9177dc git.kernel.org
- https://git.kernel.org/stable/c/01b76cc8ca243fc3376b035aa326bbc4f03d384b git.kernel.org
- https://git.kernel.org/stable/c/ad6caaf29bc26a48b1241ce82561fcbcf0a75aa9 git.kernel.org
- https://git.kernel.org/stable/c/94e7272b636a0677082e0604609e4c471e0a2caf git.kernel.org
- https://git.kernel.org/stable/c/b616453d719ee1b8bf2ea6f6cc6c6258a572a590 git.kernel.org
- https://git.kernel.org/stable/c/bd07f751208ba190f9b0db5e5b7f35d5bb4a8a1e git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html lists.debian.org
Source: the record CVE-2025-38007 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse