{"affected":[],"cveId":"CVE-2022-50733","cwes":[],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: idmouse: fix an uninit-value in idmouse_open\n\nIn idmouse_create_image, if any ftip_command fails, it will\ngo to the reset label. However, this leads to the data in\nbulk_in_buffer[HEADER..IMGSIZE] uninitialized. And the check\nfor valid image incurs an uninitialized dereference.\n\nFix this by moving the check before reset label since this\ncheck only be valid if the data after bulk_in_buffer[HEADER]\nhas concrete data.\n\nNote that this is found by KMSAN, so only kernel compilation\nis tested.","epss":null,"exploits":[],"kev":null,"metrics":[],"modifiedAt":1794312600177,"publishedAt":1766582159973,"references":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"url":"https://git.kernel.org/stable/c/1eae30c0113dde7522088231584d62415011a035"},{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"url":"https://git.kernel.org/stable/c/20b8c456df584ebb2387dc23d40ebe4ff334417c"},{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"url":"https://git.kernel.org/stable/c/6163a5ae097bc78fa26c243fb384537e25610fd7"},{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"url":"https://git.kernel.org/stable/c/7dad42032f68718259590b0cc7654e9a95ff9762"},{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"url":"https://git.kernel.org/stable/c/adad163d1cff248a5df9f7cec50158e6ca89f33b"},{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"url":"https://git.kernel.org/stable/c/b3304a6df957cc89a0590cb505388d659bf3db4c"},{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"url":"https://git.kernel.org/stable/c/b8bbae3236ab7dccc66c42bc3f7cdbcfc0786e54"},{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"url":"https://git.kernel.org/stable/c/bce2b0539933e485d22d6f6f076c0fcd6f185c4c"},{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"url":"https://git.kernel.org/stable/c/f589b667567fde4f81d6e6c40f42b9f2224690ea"}],"remediation":[],"revision":"3140fad107032a3fc11b1e10e812b747f48cebc86075ee066e7485711b749ba4","sources":[{"modifiedAt":1794312600177,"name":"NVD","retrievedAt":1794313074776,"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50733"}],"ssvc":null,"status":"published","title":"CVE-2022-50733","updatedAt":1794313074776}