CVE-2025-38007

HID: uclogic: Add NULL check in uclogic_input_configured()

State
Published
Severity
Not scored
Published
Jun 18, 2025
Updated
May 23, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • f78bb490b16ecb506d4904be4b00bf9aad6588f9 to before a9f58479a1a2c6f72907679c4df2f4ed92b05b39Affected
  • 51f49e3927ad545cec0c0afb86856ccacd9f085d to before 00d52b2fa6083dd0f5c44f3604cd1bad1f9177dcAffected
  • f283805d984343b2f216e2f4c6c7af265b9542ae to before 01b76cc8ca243fc3376b035aa326bbc4f03d384bAffected
  • dd613a4e45f8d35f49a63a2064e5308fa5619e29 to before ad6caaf29bc26a48b1241ce82561fcbcf0a75aa9Affected
  • dd613a4e45f8d35f49a63a2064e5308fa5619e29 to before 94e7272b636a0677082e0604609e4c471e0a2cafAffected
  • dd613a4e45f8d35f49a63a2064e5308fa5619e29 to before b616453d719ee1b8bf2ea6f6cc6c6258a572a590Affected
  • dd613a4e45f8d35f49a63a2064e5308fa5619e29 to before bd07f751208ba190f9b0db5e5b7f35d5bb4a8a1eAffected
  • 4c2707dfee5847dc0b5ecfbe512c29c93832fdc4Affected
  • 58f0d1c0e494a88f301bf455da7df4366f179bbbAffected
  • 6.1.53 to before 6.1.140Affected
  • 6.4.16 to before 6.5Affected
  • 6.5.3 to before 6.6Affected
LinuxLinux
  • 6.6Affected
  • before 6.6Not affected
  • 6.1.140 through 6.1.*Not affected
  • 6.6.92 through 6.6.*Not affected
  • 6.12.30 through 6.12.*Not affected
  • 6.14.8 through 6.14.*Not affected
  • 6.15 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.