{"id":"CVE-2025-38007","summary":"HID: uclogic: Add NULL check in uclogic_input_configured()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: uclogic: Add NULL check in uclogic_input_configured()\n\ndevm_kasprintf() returns NULL when memory allocation fails. Currently,\nuclogic_input_configured() does not check for this case, which results\nin a NULL pointer dereference.\n\nAdd NULL check after devm_kasprintf() to prevent this issue.","modified":"2026-03-20T12:42:36.866436Z","published":"2025-06-18T09:28:18.735Z","related":["SUSE-SU-2025:02249-1","SUSE-SU-2025:02254-1","SUSE-SU-2025:02307-1","SUSE-SU-2025:02333-1","SUSE-SU-2025:02335-1","SUSE-SU-2025:02538-1","SUSE-SU-2025:02923-1","SUSE-SU-2025:20475-1","SUSE-SU-2025:20483-1","SUSE-SU-2025:20493-1","SUSE-SU-2025:20498-1","SUSE-SU-2026:0473-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38007.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/00d52b2fa6083dd0f5c44f3604cd1bad1f9177dc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/01b76cc8ca243fc3376b035aa326bbc4f03d384b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/94e7272b636a0677082e0604609e4c471e0a2caf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a9f58479a1a2c6f72907679c4df2f4ed92b05b39"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ad6caaf29bc26a48b1241ce82561fcbcf0a75aa9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b616453d719ee1b8bf2ea6f6cc6c6258a572a590"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bd07f751208ba190f9b0db5e5b7f35d5bb4a8a1e"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38007.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38007"},{"type":"PACKAGE","url":"https://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"},{"last_affected":"4c2707dfee5847dc0b5ecfbe512c29c93832fdc4"},{"last_affected":"58f0d1c0e494a88f301bf455da7df4366f179bbb"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38007.json"}}],"schema_version":"1.7.5"}