Skip to content
Heist/ feed
Back to feed
UnratedFix available

HID: uclogic: Correct devm device reference for hidinput input_dev name

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: HID: uclogic: Correct devm device reference for hidinput input_dev name Reference the HID device rather than the input device for the devm allocation of the input_dev name. Referencing the input_dev would lead to a use-after-free when the input_dev was unregistered and subsequently fires a uevent that depends on the name. At the point of firing the uevent, the name would be freed by devres management. Use devm_kasprintf to simplify the logic for allocating memory and formatting the input_dev name string.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.249, 5.15.199, 6.1.53, 6.4.16, 6.5.3
CVEs
CVE-2023-54207
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 01:45 UTC · Revision 1

Source evidence

HID: uclogic: Correct devm device reference for hidinput input_dev name

core-osv · Original source

Published 30 Dec 2025, 12:11 UTC

In the Linux kernel, the following vulnerability has been resolved: HID: uclogic: Correct devm device reference for hidinput input_dev name Reference the HID device rather than the input device for the devm allocation of the input_dev name. Referencing the input_dev would lead to a use-after-free when the input_dev was unregistered and subsequently fires a uevent that depends on the name. At the point of firing the uevent, the name would be freed by devres management. Use devm_kasprintf to simplify the logic for allocating memory and formatting the input_dev name string.

osv:CVE-2023-54207

Kernel

Fixed versions: 5.10.249, 5.15.199, 6.1.53, 6.4.16, 6.5.3

Complete source record
{
  "id": "3a6721295c96c466a6961f0b746e9b1639ab898d30fecfc168b5984b79f546af",
  "url": "https://osv.dev/vulnerability/CVE-2023-54207",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "HID: uclogic: Correct devm device reference for hidinput input_dev name",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: HID: uclogic: Correct devm device reference for hidinput input_dev name Reference the HID device rather than the input device for the devm allocation of the input_dev name. Referencing the input_dev would lead to a use-after-free when the input_dev was unregistered and subsequently fires a uevent that depends on the name. At the point of firing the uevent, the name would be freed by devres management. Use devm_kasprintf to simplify the logic for allocating memory and formatting the input_dev name string.",
    "evidence": "osv:CVE-2023-54207",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.249",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.199",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.53",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.4.16",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.5.3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2023-54207",
      "aliases": [
        "CVE-2023-54207"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "cce2dbdf258e6b27b2b100f511531edabb77f427"
                },
                {
                  "fixed": "f78bb490b16ecb506d4904be4b00bf9aad6588f9"
                },
                {
                  "fixed": "51f49e3927ad545cec0c0afb86856ccacd9f085d"
                },
                {
                  "fixed": "f283805d984343b2f216e2f4c6c7af265b9542ae"
                },
                {
                  "fixed": "4c2707dfee5847dc0b5ecfbe512c29c93832fdc4"
                },
                {
                  "fixed": "58f0d1c0e494a88f301bf455da7df4366f179bbb"
                },
                {
                  "fixed": "dd613a4e45f8d35f49a63a2064e5308fa5619e29"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54207.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.1.0"
                },
                {
                  "fixed": "5.10.249"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.199"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.53"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.4.16"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.5.0"
                },
                {
                  "fixed": "6.5.3"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54207.json"
          }
        }
      ],
      "modified": "2026-10-30T02:30:44.692121278Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/4c2707dfee5847dc0b5ecfbe512c29c93832fdc4",
        "https://git.kernel.org/stable/c/51f49e3927ad545cec0c0afb86856ccacd9f085d",
        "https://git.kernel.org/stable/c/58f0d1c0e494a88f301bf455da7df4366f179bbb",
        "https://git.kernel.org/stable/c/dd613a4e45f8d35f49a63a2064e5308fa5619e29",
        "https://git.kernel.org/stable/c/f283805d984343b2f216e2f4c6c7af265b9542ae",
        "https://git.kernel.org/stable/c/f78bb490b16ecb506d4904be4b00bf9aad6588f9",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54207.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-54207",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54207.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-54207",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 513982,
  "published_at": "2025-12-30T12:11:06.643+00:00"
}