{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-54207","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-12-30T12:06:44.500Z","datePublished":"2025-12-30T12:11:06.643Z","dateUpdated":"2026-05-11T19:57:32.385Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-05-11T19:57:32.385Z"},"descriptions":[{"lang":"en","value":"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."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hid/hid-uclogic-core.c"],"versions":[{"version":"cce2dbdf258e6b27b2b100f511531edabb77f427","lessThan":"f78bb490b16ecb506d4904be4b00bf9aad6588f9","status":"affected","versionType":"git"},{"version":"cce2dbdf258e6b27b2b100f511531edabb77f427","lessThan":"51f49e3927ad545cec0c0afb86856ccacd9f085d","status":"affected","versionType":"git"},{"version":"cce2dbdf258e6b27b2b100f511531edabb77f427","lessThan":"f283805d984343b2f216e2f4c6c7af265b9542ae","status":"affected","versionType":"git"},{"version":"cce2dbdf258e6b27b2b100f511531edabb77f427","lessThan":"4c2707dfee5847dc0b5ecfbe512c29c93832fdc4","status":"affected","versionType":"git"},{"version":"cce2dbdf258e6b27b2b100f511531edabb77f427","lessThan":"58f0d1c0e494a88f301bf455da7df4366f179bbb","status":"affected","versionType":"git"},{"version":"cce2dbdf258e6b27b2b100f511531edabb77f427","lessThan":"dd613a4e45f8d35f49a63a2064e5308fa5619e29","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hid/hid-uclogic-core.c"],"versions":[{"version":"4.1","status":"affected"},{"version":"0","lessThan":"4.1","status":"unaffected","versionType":"semver"},{"version":"5.10.249","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.199","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.53","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.4.16","lessThanOrEqual":"6.4.*","status":"unaffected","versionType":"semver"},{"version":"6.5.3","lessThanOrEqual":"6.5.*","status":"unaffected","versionType":"semver"},{"version":"6.6","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"5.10.249"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"5.15.199"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"6.1.53"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"6.4.16"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"6.5.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"6.6"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/f78bb490b16ecb506d4904be4b00bf9aad6588f9"},{"url":"https://git.kernel.org/stable/c/51f49e3927ad545cec0c0afb86856ccacd9f085d"},{"url":"https://git.kernel.org/stable/c/f283805d984343b2f216e2f4c6c7af265b9542ae"},{"url":"https://git.kernel.org/stable/c/4c2707dfee5847dc0b5ecfbe512c29c93832fdc4"},{"url":"https://git.kernel.org/stable/c/58f0d1c0e494a88f301bf455da7df4366f179bbb"},{"url":"https://git.kernel.org/stable/c/dd613a4e45f8d35f49a63a2064e5308fa5619e29"}],"title":"HID: uclogic: Correct devm device reference for hidinput input_dev name","x_generator":{"engine":"bippy-1.2.0"}}}}