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: <2025122421-CVE-2022-50733-a587@gregkh>
Date: Wed, 24 Dec 2025 13:26:32 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-50733: usb: idmouse: fix an uninit-value in idmouse_open

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

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

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

usb: idmouse: fix an uninit-value in idmouse_open

In idmouse_create_image, if any ftip_command fails, it will
go to the reset label. However, this leads to the data in
bulk_in_buffer[HEADER..IMGSIZE] uninitialized. And the check
for valid image incurs an uninitialized dereference.

Fix this by moving the check before reset label since this
check only be valid if the data after bulk_in_buffer[HEADER]
has concrete data.

Note that this is found by KMSAN, so only kernel compilation
is tested.

The Linux kernel CVE team has assigned CVE-2022-50733 to this issue.


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

	Fixed in 4.9.331 with commit b3304a6df957cc89a0590cb505388d659bf3db4c
	Fixed in 4.14.296 with commit 7dad42032f68718259590b0cc7654e9a95ff9762
	Fixed in 4.19.262 with commit f589b667567fde4f81d6e6c40f42b9f2224690ea
	Fixed in 5.4.220 with commit 1eae30c0113dde7522088231584d62415011a035
	Fixed in 5.10.150 with commit b8bbae3236ab7dccc66c42bc3f7cdbcfc0786e54
	Fixed in 5.15.75 with commit 20b8c456df584ebb2387dc23d40ebe4ff334417c
	Fixed in 5.19.17 with commit 6163a5ae097bc78fa26c243fb384537e25610fd7
	Fixed in 6.0.3 with commit adad163d1cff248a5df9f7cec50158e6ca89f33b
	Fixed in 6.1 with commit bce2b0539933e485d22d6f6f076c0fcd6f185c4c

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-2022-50733
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/usb/misc/idmouse.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/b3304a6df957cc89a0590cb505388d659bf3db4c
	https://git.kernel.org/stable/c/7dad42032f68718259590b0cc7654e9a95ff9762
	https://git.kernel.org/stable/c/f589b667567fde4f81d6e6c40f42b9f2224690ea
	https://git.kernel.org/stable/c/1eae30c0113dde7522088231584d62415011a035
	https://git.kernel.org/stable/c/b8bbae3236ab7dccc66c42bc3f7cdbcfc0786e54
	https://git.kernel.org/stable/c/20b8c456df584ebb2387dc23d40ebe4ff334417c
	https://git.kernel.org/stable/c/6163a5ae097bc78fa26c243fb384537e25610fd7
	https://git.kernel.org/stable/c/adad163d1cff248a5df9f7cec50158e6ca89f33b
	https://git.kernel.org/stable/c/bce2b0539933e485d22d6f6f076c0fcd6f185c4c

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ