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: <2025040132-CVE-2025-21923-5c6e@gregkh>
Date: Tue,  1 Apr 2025 16:39:47 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2025-21923: HID: hid-steam: Fix use-after-free when detaching device

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

In the Linux kernel, the following vulnerability has been resolved:

HID: hid-steam: Fix use-after-free when detaching device

When a hid-steam device is removed it must clean up the client_hdev used for
intercepting hidraw access. This can lead to scheduling deferred work to
reattach the input device. Though the cleanup cancels the deferred work, this
was done before the client_hdev itself is cleaned up, so it gets rescheduled.
This patch fixes the ordering to make sure the deferred work is properly
canceled.

The Linux kernel CVE team has assigned CVE-2025-21923 to this issue.


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

	Issue introduced in 6.6.79 with commit e1147961b2145fa61c3078a4a797d9576cde91ab and fixed in 6.6.83 with commit 026714ec7546de741826324a6a1914c91024d06c
	Issue introduced in 6.12.16 with commit 3e38cbbfa0a128a9d64773240a9eb3bc7bae3b1a and fixed in 6.12.19 with commit a899adf7063c6745aaff1ec869f3c7f6329ed0a1
	Issue introduced in 6.13.4 with commit 053fa3888d2a957f4db26c05e503f4c6b9570a30 and fixed in 6.13.7 with commit ea3f18d2f02629653b7bfe42607737ccd1343e54

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-2025-21923
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-steam.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/026714ec7546de741826324a6a1914c91024d06c
	https://git.kernel.org/stable/c/a899adf7063c6745aaff1ec869f3c7f6329ed0a1
	https://git.kernel.org/stable/c/ea3f18d2f02629653b7bfe42607737ccd1343e54
	https://git.kernel.org/stable/c/e53fc232a65f7488ab75d03a5b95f06aaada7262

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ