lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025123023-CVE-2023-54207-8b3a@gregkh>
Date: Tue, 30 Dec 2025 13:13:37 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2023-54207: HID: uclogic: Correct devm device reference for hidinput input_dev name

From: Greg Kroah-Hartman <gregkh@...nel.org>

Description
===========

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.

The Linux kernel CVE team has assigned CVE-2023-54207 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 4.1 with commit cce2dbdf258e6b27b2b100f511531edabb77f427 and fixed in 6.1.53 with commit f283805d984343b2f216e2f4c6c7af265b9542ae
	Issue introduced in 4.1 with commit cce2dbdf258e6b27b2b100f511531edabb77f427 and fixed in 6.4.16 with commit 4c2707dfee5847dc0b5ecfbe512c29c93832fdc4
	Issue introduced in 4.1 with commit cce2dbdf258e6b27b2b100f511531edabb77f427 and fixed in 6.5.3 with commit 58f0d1c0e494a88f301bf455da7df4366f179bbb
	Issue introduced in 4.1 with commit cce2dbdf258e6b27b2b100f511531edabb77f427 and fixed in 6.6 with commit dd613a4e45f8d35f49a63a2064e5308fa5619e29

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2023-54207
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/hid/hid-uclogic-core.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/f283805d984343b2f216e2f4c6c7af265b9542ae
	https://git.kernel.org/stable/c/4c2707dfee5847dc0b5ecfbe512c29c93832fdc4
	https://git.kernel.org/stable/c/58f0d1c0e494a88f301bf455da7df4366f179bbb
	https://git.kernel.org/stable/c/dd613a4e45f8d35f49a63a2064e5308fa5619e29

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ