CVE-2025-38007

Source
https://cve.org/CVERecord?id=CVE-2025-38007
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38007.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-38007
Downstream
Related
Published
2025-06-18T09:28:18.735Z
Modified
2026-05-07T04:15:38.868403Z
Summary
HID: uclogic: Add NULL check in uclogic_input_configured()
Details

In the Linux kernel, the following vulnerability has been resolved:

HID: uclogic: Add NULL check in uclogicinputconfigured()

devmkasprintf() returns NULL when memory allocation fails. Currently, uclogicinput_configured() does not check for this case, which results in a NULL pointer dereference.

Add NULL check after devm_kasprintf() to prevent this issue.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38007.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f78bb490b16ecb506d4904be4b00bf9aad6588f9
Fixed
a9f58479a1a2c6f72907679c4df2f4ed92b05b39
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
51f49e3927ad545cec0c0afb86856ccacd9f085d
Fixed
00d52b2fa6083dd0f5c44f3604cd1bad1f9177dc
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f283805d984343b2f216e2f4c6c7af265b9542ae
Fixed
01b76cc8ca243fc3376b035aa326bbc4f03d384b
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
dd613a4e45f8d35f49a63a2064e5308fa5619e29
Fixed
ad6caaf29bc26a48b1241ce82561fcbcf0a75aa9
Fixed
94e7272b636a0677082e0604609e4c471e0a2caf
Fixed
b616453d719ee1b8bf2ea6f6cc6c6258a572a590
Fixed
bd07f751208ba190f9b0db5e5b7f35d5bb4a8a1e
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
4c2707dfee5847dc0b5ecfbe512c29c93832fdc4
Last affected
58f0d1c0e494a88f301bf455da7df4366f179bbb

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38007.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.1.140
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.92
Type
ECOSYSTEM
Events
Introduced
6.6.0
Fixed
6.12.30
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.14.8

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38007.json"