Cloudanix VulnDB

CVE-2023-54207

High · 7.8

CVSS

7.8

EPSS

0.2%

Published

Dec 30, 2025

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A flaw in how Linux handles certain input devices can let a local user crash the system or gain higher privileges, so update the kernel on all affected machines.

Exploitation
Local Privilege
Attacker needs
Low Privilege
Complexity
Low
Impact
Full Compromise
Component
OS kernel
Class
Use After Free
Remediation
Patch
Effort
Medium
Patch risk
Low

What it actually does

Use-after-free in kernel HID uclogic driver caused by devm allocation of input_dev name string referencing the input device instead of the HID device; the name is freed by devres before a uevent that still references it fires on input_dev unregistration.

Why it matters to the business

Local attackers on affected Linux systems can trigger kernel crashes or potentially escalate privileges, leading to system instability or compromise on devices using uclogic-based input hardware.

How an attack unfolds

An attacker with local access loads or unloads the uclogic HID driver or triggers input device registration/unregistration sequences; the freed name buffer is then dereferenced during uevent processing, enabling memory corruption that can be leveraged for code execution.

How to fix it

Upgrade the Linux kernel to a version containing commit f283805d984343b2f216e2f4c6c7af265b9542ae or later; rebuild and deploy the updated kernel across all affected systems.

How to confirm the fix worked

Verify the running kernel source contains commit f283805d984343b2f216e2f4c6c7af265b9542ae, or confirm the devm allocation now uses the HID device parent and devm_kasprintf for the input_dev name.

Typical attack path

  1. Obtain local access on target Linux system
  2. Trigger HID device attach/detach or module load/unload for uclogic
  3. Cause input_dev unregistration while uevent processing references the now-freed name string
  4. Exploit resulting use-after-free for memory corruption or privilege escalation

How to detect it

Review kernel logs (dmesg, /var/log/kern.log) for use-after-free warnings, slab corruption messages, or oops traces involving hidinput, uclogic, or uevent name handling around device registration events.

What your security team should do

  • Immediately apply the referenced kernel commit or distribution update to all systems
  • Prioritize systems with uclogic HID hardware or custom input device configurations
  • Monitor for kernel oops or panic logs related to input or HID uevents
  • Harden local access controls until patches are deployed

The record

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.

Affected packages

Ecosystem Package Introduced Fixed
Linux Kernel 4.1.0 6.1.53
SUSE:Linux Enterprise High Availability Extension 15 SP6 kernel-default 0 6.4.0-150600.23.84.1
SUSE:Linux Enterprise Live Patching 15 SP6 kernel-default 0 6.4.0-150600.23.84.1
SUSE:Linux Enterprise Live Patching 15 SP6 kernel-livepatch-SLE15-SP6_Update_19 0 1-150600.13.3.1
SUSE:Linux Enterprise Server 15 SP6-LTSS kernel-64kb 0 6.4.0-150600.23.84.1
SUSE:Linux Enterprise Server 15 SP6-LTSS kernel-default 0 6.4.0-150600.23.84.1
SUSE:Linux Enterprise Server 15 SP6-LTSS kernel-default-base 0 6.4.0-150600.23.84.1.150600.12.38.1
SUSE:Linux Enterprise Server 15 SP6-LTSS kernel-docs 0 6.4.0-150600.23.84.1
SUSE:Linux Enterprise Server 15 SP6-LTSS kernel-obs-build 0 6.4.0-150600.23.84.1
SUSE:Linux Enterprise Server 15 SP6-LTSS kernel-source 0 6.4.0-150600.23.84.1
SUSE:Linux Enterprise Server 15 SP6-LTSS kernel-syms 0 6.4.0-150600.23.84.1
SUSE:Linux Enterprise Server 15 SP6-LTSS kernel-zfcpdump 0 6.4.0-150600.23.84.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP6 kernel-default 0 6.4.0-150600.23.84.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP6 kernel-default-base 0 6.4.0-150600.23.84.1.150600.12.38.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP6 kernel-docs 0 6.4.0-150600.23.84.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP6 kernel-obs-build 0 6.4.0-150600.23.84.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP6 kernel-source 0 6.4.0-150600.23.84.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP6 kernel-syms 0 6.4.0-150600.23.84.1
openSUSE:Leap 15.6 dtb-aarch64 0 6.4.0-150600.23.84.1
openSUSE:Leap 15.6 kernel-64kb 0 6.4.0-150600.23.84.1
openSUSE:Leap 15.6 kernel-debug 0 6.4.0-150600.23.84.1
openSUSE:Leap 15.6 kernel-default 0 6.4.0-150600.23.84.1
openSUSE:Leap 15.6 kernel-default-base 0 6.4.0-150600.23.84.1.150600.12.38.1
openSUSE:Leap 15.6 kernel-docs 0 6.4.0-150600.23.84.1
openSUSE:Leap 15.6 kernel-kvmsmall 0 6.4.0-150600.23.84.1
openSUSE:Leap 15.6 kernel-obs-build 0 6.4.0-150600.23.84.1
openSUSE:Leap 15.6 kernel-obs-qa 0 6.4.0-150600.23.84.1
openSUSE:Leap 15.6 kernel-source 0 6.4.0-150600.23.84.1
openSUSE:Leap 15.6 kernel-syms 0 6.4.0-150600.23.84.1
openSUSE:Leap 15.6 kernel-zfcpdump 0 6.4.0-150600.23.84.1

Related vulnerabilities