# CVE-2025-38007: HID: uclogic: Add NULL check in uclogic\_input\_configured()

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-06-18 · Modified: 2026-05-23
- Aliases: UBUNTU-CVE-2025-38007, DEBIAN-CVE-2025-38007
- Record: https://cvemate.com/vulnerability/CVE-2025-38007 · JSON: https://cvemate.com/vulnerability/CVE-2025-38007/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.204%, percentile 10.985%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 123)

- debian linux (Debian): \< 6.1.140-1 \| \< 6.12.30-1
- ubuntu linux (Ubuntu): \< 6.8.0-100.100
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 6.8.0-1046.49
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): \< 6.14.0-1011.11~24.04.1
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1046.49~22.04.1
- ubuntu linux-aws-fips (Ubuntu): \< 6.8.0-1046.49+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1046.52
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.3 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 31)

- <https://git.kernel.org/stable/c/a9f58479a1a2c6f72907679c4df2f4ed92b05b39>
- <https://git.kernel.org/stable/c/00d52b2fa6083dd0f5c44f3604cd1bad1f9177dc>
- <https://git.kernel.org/stable/c/01b76cc8ca243fc3376b035aa326bbc4f03d384b>
- <https://git.kernel.org/stable/c/ad6caaf29bc26a48b1241ce82561fcbcf0a75aa9>
- <https://git.kernel.org/stable/c/94e7272b636a0677082e0604609e4c471e0a2caf>
- <https://git.kernel.org/stable/c/b616453d719ee1b8bf2ea6f6cc6c6258a572a590>
- <https://git.kernel.org/stable/c/bd07f751208ba190f9b0db5e5b7f35d5bb4a8a1e>
- <https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html>
- <https://ubuntu.com/security/CVE-2025-38007>
- <https://www.cve.org/CVERecord?id=CVE-2025-38007>
- <https://git.kernel.org/linus/bd07f751208ba190f9b0db5e5b7f35d5bb4a8a1e>
- <https://ubuntu.com/security/notices/USN-7699-1>
- <https://ubuntu.com/security/notices/USN-7699-2>
- <https://ubuntu.com/security/notices/USN-7721-1>
- <https://ubuntu.com/security/notices/USN-8028-1>
- <https://ubuntu.com/security/notices/USN-8028-2>
- <https://ubuntu.com/security/notices/USN-8031-1>
- <https://ubuntu.com/security/notices/USN-8028-3>
- <https://ubuntu.com/security/notices/USN-8028-4>
- <https://ubuntu.com/security/notices/USN-8028-5>

---

Data as of 2026-12-05T04:02:41.060Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
