{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-54207","id":"CVE-2023-54207","title":"HID: uclogic: Correct devm device reference for hidinput input_dev name","description":"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","descriptionLong":"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.","published":"2025-12-30T12:11:06.643Z","updated":"2026-10-30T02:30:44.692121278Z","reserved":"2025-12-30T12:06:44.500Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","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"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","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"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/f78bb490b16ecb506d4904be4b00bf9aad6588f9","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/51f49e3927ad545cec0c0afb86856ccacd9f085d","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f283805d984343b2f216e2f4c6c7af265b9542ae","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/4c2707dfee5847dc0b5ecfbe512c29c93832fdc4","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/58f0d1c0e494a88f301bf455da7df4366f179bbb","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/dd613a4e45f8d35f49a63a2064e5308fa5619e29","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54207.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54207","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00155,"epssPercentile":0.04686,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-54207","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54207","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-54207","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-54207","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}