CVE-2022-50733

usb: idmouse: fix an uninit-value in idmouse_open

State
Published
Severity
Not scored
Published
Dec 24, 2025
Updated
May 11, 2026
Reserved
Dec 24, 2025

Read the record on cve.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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 4244f72436ab77c3c29a6447af81734ab3925d85 to before b3304a6df957cc89a0590cb505388d659bf3db4cAffected
  • 4244f72436ab77c3c29a6447af81734ab3925d85 to before 7dad42032f68718259590b0cc7654e9a95ff9762Affected
  • 4244f72436ab77c3c29a6447af81734ab3925d85 to before f589b667567fde4f81d6e6c40f42b9f2224690eaAffected
  • 4244f72436ab77c3c29a6447af81734ab3925d85 to before 1eae30c0113dde7522088231584d62415011a035Affected
  • 4244f72436ab77c3c29a6447af81734ab3925d85 to before b8bbae3236ab7dccc66c42bc3f7cdbcfc0786e54Affected
  • 4244f72436ab77c3c29a6447af81734ab3925d85 to before 20b8c456df584ebb2387dc23d40ebe4ff334417cAffected
  • 4244f72436ab77c3c29a6447af81734ab3925d85 to before 6163a5ae097bc78fa26c243fb384537e25610fd7Affected
  • 4244f72436ab77c3c29a6447af81734ab3925d85 to before adad163d1cff248a5df9f7cec50158e6ca89f33bAffected
  • 4244f72436ab77c3c29a6447af81734ab3925d85 to before bce2b0539933e485d22d6f6f076c0fcd6f185c4cAffected
LinuxLinux
  • 2.6.13Affected
  • before 2.6.13Not affected
  • 4.9.331 through 4.9.*Not affected
  • 4.14.296 through 4.14.*Not affected
  • 4.19.262 through 4.19.*Not affected
  • 5.4.220 through 5.4.*Not affected
  • 5.10.150 through 5.10.*Not affected
  • 5.15.75 through 5.15.*Not affected
  • 5.19.17 through 5.19.*Not affected
  • 6.0.3 through 6.0.*Not affected
  • 6.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.