{"id":"CVE-2022-50733","summary":"usb: idmouse: fix an uninit-value in idmouse_open","details":"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.","modified":"2026-03-20T12:22:37.252348Z","published":"2025-12-24T12:22:52.651Z","related":["SUSE-SU-2026:0263-1","SUSE-SU-2026:0316-1","SUSE-SU-2026:0317-1","SUSE-SU-2026:0350-1","SUSE-SU-2026:0369-1","SUSE-SU-2026:0411-1","SUSE-SU-2026:0617-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50733.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1eae30c0113dde7522088231584d62415011a035"},{"type":"WEB","url":"https://git.kernel.org/stable/c/20b8c456df584ebb2387dc23d40ebe4ff334417c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6163a5ae097bc78fa26c243fb384537e25610fd7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7dad42032f68718259590b0cc7654e9a95ff9762"},{"type":"WEB","url":"https://git.kernel.org/stable/c/adad163d1cff248a5df9f7cec50158e6ca89f33b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b3304a6df957cc89a0590cb505388d659bf3db4c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b8bbae3236ab7dccc66c42bc3f7cdbcfc0786e54"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bce2b0539933e485d22d6f6f076c0fcd6f185c4c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f589b667567fde4f81d6e6c40f42b9f2224690ea"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50733.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50733"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4244f72436ab77c3c29a6447af81734ab3925d85"},{"fixed":"b3304a6df957cc89a0590cb505388d659bf3db4c"},{"fixed":"7dad42032f68718259590b0cc7654e9a95ff9762"},{"fixed":"f589b667567fde4f81d6e6c40f42b9f2224690ea"},{"fixed":"1eae30c0113dde7522088231584d62415011a035"},{"fixed":"b8bbae3236ab7dccc66c42bc3f7cdbcfc0786e54"},{"fixed":"20b8c456df584ebb2387dc23d40ebe4ff334417c"},{"fixed":"6163a5ae097bc78fa26c243fb384537e25610fd7"},{"fixed":"adad163d1cff248a5df9f7cec50158e6ca89f33b"},{"fixed":"bce2b0539933e485d22d6f6f076c0fcd6f185c4c"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50733.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.13"},{"fixed":"4.9.331"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.10.0"},{"fixed":"4.14.296"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.15.0"},{"fixed":"4.19.262"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.4.220"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.150"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.75"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"5.19.17"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.20.0"},{"fixed":"6.0.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50733.json"}}],"schema_version":"1.7.5"}