Bug 2425032 (CVE-2022-50733) - CVE-2022-50733 kernel: usb: idmouse: fix an uninit-value in idmouse_open
Summary: CVE-2022-50733 kernel: usb: idmouse: fix an uninit-value in idmouse_open
Keywords:
Status: NEW
Alias: CVE-2022-50733
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-24 13:03 UTC by OSIDB Bzimport
Modified: 2026-03-18 00:08 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-24 13:03:21 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.