CVE-2025-38007

HID: uclogic: Add NULL check in uclogic_input_configured()

MEDIUM
5.5
CVSS Score
Published: June 18, 2025 at 09:28 AM UTC
Updated: June 17, 2026 at 09:15 AM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 6.4.16v ≥ 6.5.36.1.53 ≤ v < 6.1.1406.13 ≤ v < 6.14.86.4.16 ≤ v < 6.56.5.3 ≤ v < 6.66.5.3 ≤ v < 6.6.926.6 ≤ v < 6.12.306.6 ≤ v < 6.14.86.6 ≤ v < 6.156.6 ≤ v < 6.6.926.7 ≤ v < 6.12.304c2707dfee5847dc0b5ecfbe512c29c93832fdc451f49e3927ad545cec0c0afb86856ccacd9f085d58f0d1c0e494a88f301bf455da7df4366f179bbb6.1.536.15 rc16.15 rc26.15 rc36.15 rc46.15 rc56.15 rc66.4.166.5.36.6dd613a4e45f8d35f49a63a2064e5308fa5619e29f283805d984343b2f216e2f4c6c7af265b9542aef78bb490b16ecb506d4904be4b00bf9aad6588f9
Vendor states this is fixed in 00d52b2fa6083dd0f5c44f3604cd1bad1f9177dc (fixed)
Vendor states this is fixed in 01b76cc8ca243fc3376b035aa326bbc4f03d384b (fixed)
Vendor states this is fixed in 94e7272b636a0677082e0604609e4c471e0a2caf (fixed)
Vendor states this is fixed in a9f58479a1a2c6f72907679c4df2f4ed92b05b39 (fixed)
Vendor states this is fixed in ad6caaf29bc26a48b1241ce82561fcbcf0a75aa9 (fixed)
Vendor states this is fixed in b616453d719ee1b8bf2ea6f6cc6c6258a572a590 (fixed)
Vendor states this is fixed in bd07f751208ba190f9b0db5e5b7f35d5bb4a8a1e (fixed)
Vendor states this is fixed in 6.1.140 (unaffected)
Vendor states this is fixed in 6.12.30 (unaffected)
Vendor states this is fixed in 6.14.8 (unaffected)
Vendor states this is fixed in 6.15 (unaffected)
Affected range stops below 6.5, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 6.6 (unaffected)
Vendor states this is fixed in 6.6.92 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card