CVE-2022-50733
usb: idmouse: fix an uninit-value in idmouse_open
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.
INFO
Published Date :
Dec. 24, 2025, 1:15 p.m.
Last Modified :
Dec. 24, 2025, 1:15 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products
The following products are affected by CVE-2022-50733
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
Solution
- Update the Linux kernel.
- Apply the specific patch for idmouse_open.
- Ensure kernel compilation is tested.
- Check bulk_in_buffer for uninitialized data.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-50733.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-50733 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-50733
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-50733 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-50733 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Dec. 24, 2025
Action Type Old Value New Value Added 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. Added Reference https://git.kernel.org/stable/c/1eae30c0113dde7522088231584d62415011a035 Added Reference https://git.kernel.org/stable/c/20b8c456df584ebb2387dc23d40ebe4ff334417c Added Reference https://git.kernel.org/stable/c/6163a5ae097bc78fa26c243fb384537e25610fd7 Added Reference https://git.kernel.org/stable/c/7dad42032f68718259590b0cc7654e9a95ff9762 Added Reference https://git.kernel.org/stable/c/adad163d1cff248a5df9f7cec50158e6ca89f33b Added Reference https://git.kernel.org/stable/c/b3304a6df957cc89a0590cb505388d659bf3db4c Added Reference https://git.kernel.org/stable/c/b8bbae3236ab7dccc66c42bc3f7cdbcfc0786e54 Added Reference https://git.kernel.org/stable/c/bce2b0539933e485d22d6f6f076c0fcd6f185c4c Added Reference https://git.kernel.org/stable/c/f589b667567fde4f81d6e6c40f42b9f2224690ea