{"id":"CVE-2023-54207","summary":"HID: uclogic: Correct devm device reference for hidinput input_dev name","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: uclogic: Correct devm device reference for hidinput input_dev name\n\nReference the HID device rather than the input device for the devm\nallocation of the input_dev name. Referencing the input_dev would lead to a\nuse-after-free when the input_dev was unregistered and subsequently fires a\nuevent that depends on the name. At the point of firing the uevent, the\nname would be freed by devres management.\n\nUse devm_kasprintf to simplify the logic for allocating memory and\nformatting the input_dev name string.","modified":"2026-03-31T17:29:59.106584979Z","published":"2025-12-30T12:11:06.643Z","related":["SUSE-SU-2026:0278-1","SUSE-SU-2026:0281-1","SUSE-SU-2026:0293-1","SUSE-SU-2026:0315-1","SUSE-SU-2026:0473-1","SUSE-SU-2026:20477-1","SUSE-SU-2026:20498-1","SUSE-SU-2026:20845-1","SUSE-SU-2026:20876-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54207.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/4c2707dfee5847dc0b5ecfbe512c29c93832fdc4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/51f49e3927ad545cec0c0afb86856ccacd9f085d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/58f0d1c0e494a88f301bf455da7df4366f179bbb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dd613a4e45f8d35f49a63a2064e5308fa5619e29"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f283805d984343b2f216e2f4c6c7af265b9542ae"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f78bb490b16ecb506d4904be4b00bf9aad6588f9"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54207.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54207"},{"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":"cce2dbdf258e6b27b2b100f511531edabb77f427"},{"fixed":"f78bb490b16ecb506d4904be4b00bf9aad6588f9"},{"fixed":"51f49e3927ad545cec0c0afb86856ccacd9f085d"},{"fixed":"f283805d984343b2f216e2f4c6c7af265b9542ae"},{"fixed":"4c2707dfee5847dc0b5ecfbe512c29c93832fdc4"},{"fixed":"58f0d1c0e494a88f301bf455da7df4366f179bbb"},{"fixed":"dd613a4e45f8d35f49a63a2064e5308fa5619e29"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54207.json"}}],"schema_version":"1.7.5"}