NULL pointer dereference in Linux
CVE-2025-38007
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.002, 10.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 6.12.30, 6.1.140, f78bb490b16ecb506d4904be4b00bf9aad6588f9
- Linux Kernel — versions 6.15
- Debian Linux — versions 11.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/stable/c/a9f58479a1a2c6f72907679c4df2f4ed92b05b39 (Patch)
- git.kernel.org/stable/c/00d52b2fa6083dd0f5c44f3604cd1bad1f9177dc (Patch)
- git.kernel.org/stable/c/01b76cc8ca243fc3376b035aa326bbc4f03d384b (Patch)
- git.kernel.org/stable/c/ad6caaf29bc26a48b1241ce82561fcbcf0a75aa9 (Patch)
- git.kernel.org/stable/c/94e7272b636a0677082e0604609e4c471e0a2caf (Patch)
- git.kernel.org/stable/c/b616453d719ee1b8bf2ea6f6cc6c6258a572a590 (Patch)
- git.kernel.org/stable/c/bd07f751208ba190f9b0db5e5b7f35d5bb4a8a1e (Patch)
- lists.debian.org/debian-lts-announce/2025/08/msg00010.html (Mailing List, Third Party Advisory)