CVE-2022-50733
usb: idmouse: fix an uninit-value in idmouse_open
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
2.6.13
References 9
git.kernel.org
- stable/c/b3304a6df957cc89a0590cb505388d659bf3db4c
- stable/c/7dad42032f68718259590b0cc7654e9a95ff9762
- stable/c/f589b667567fde4f81d6e6c40f42b9f2224690ea
- stable/c/1eae30c0113dde7522088231584d62415011a035
- stable/c/b8bbae3236ab7dccc66c42bc3f7cdbcfc0786e54
- stable/c/20b8c456df584ebb2387dc23d40ebe4ff334417c
- stable/c/6163a5ae097bc78fa26c243fb384537e25610fd7
- stable/c/adad163d1cff248a5df9f7cec50158e6ca89f33b
- stable/c/bce2b0539933e485d22d6f6f076c0fcd6f185c4c