{"id":"CVE-2022-50733","aliases":["CVE-2022-50733"],"related":[],"kind":"vulnerability","state":"published","title":"usb: idmouse: fix an uninit-value in idmouse_open","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nusb: idmouse: soluciona un valor no inicializado en idmouse_open\n\nEn idmouse_create_image, si algún ftip_command falla, irá a la etiqueta de reinicio. Sin embargo, esto lleva a que los datos en bulk_in_buffer[HEADER..IMGSIZE] no estén inicializados. Y la comprobación de imagen válida provoca una desreferencia no inicializada.\n\nEsto se soluciona moviendo la comprobación antes de la etiqueta de reinicio, ya que esta comprobación solo es válida si los datos después de bulk_in_buffer[HEADER] tienen datos concretos.\n\nTenga en cuenta que esto fue encontrado por KMSAN, por lo que solo se prueba la compilación del kernel.","source":"nvd"}],"published":"2025-12-24T12:22:52.651Z","modified":"2026-11-10T12:10:00.177Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"4244f72436ab77c3c29a6447af81734ab3925d85","fixed":"b3304a6df957cc89a0590cb505388d659bf3db4c","status":"affected"},{"type":"git","introduced":"4244f72436ab77c3c29a6447af81734ab3925d85","fixed":"7dad42032f68718259590b0cc7654e9a95ff9762","status":"affected"},{"type":"git","introduced":"4244f72436ab77c3c29a6447af81734ab3925d85","fixed":"f589b667567fde4f81d6e6c40f42b9f2224690ea","status":"affected"},{"type":"git","introduced":"4244f72436ab77c3c29a6447af81734ab3925d85","fixed":"1eae30c0113dde7522088231584d62415011a035","status":"affected"},{"type":"git","introduced":"4244f72436ab77c3c29a6447af81734ab3925d85","fixed":"b8bbae3236ab7dccc66c42bc3f7cdbcfc0786e54","status":"affected"},{"type":"git","introduced":"4244f72436ab77c3c29a6447af81734ab3925d85","fixed":"20b8c456df584ebb2387dc23d40ebe4ff334417c","status":"affected"},{"type":"git","introduced":"4244f72436ab77c3c29a6447af81734ab3925d85","fixed":"6163a5ae097bc78fa26c243fb384537e25610fd7","status":"affected"},{"type":"git","introduced":"4244f72436ab77c3c29a6447af81734ab3925d85","fixed":"adad163d1cff248a5df9f7cec50158e6ca89f33b","status":"affected"},{"type":"git","introduced":"4244f72436ab77c3c29a6447af81734ab3925d85","fixed":"bce2b0539933e485d22d6f6f076c0fcd6f185c4c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.13","status":"unaffected"},{"type":"semver","introduced":"4.9.331","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.296","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.262","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.220","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.150","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.75","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.19.17","lastAffected":"5.19.*","status":"unaffected"},{"type":"semver","introduced":"6.0.3","lastAffected":"6.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/b3304a6df957cc89a0590cb505388d659bf3db4c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7dad42032f68718259590b0cc7654e9a95ff9762","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f589b667567fde4f81d6e6c40f42b9f2224690ea","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1eae30c0113dde7522088231584d62415011a035","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b8bbae3236ab7dccc66c42bc3f7cdbcfc0786e54","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/20b8c456df584ebb2387dc23d40ebe4ff334417c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6163a5ae097bc78fa26c243fb384537e25610fd7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/adad163d1cff248a5df9f7cec50158e6ca89f33b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bce2b0539933e485d22d6f6f076c0fcd6f185c4c","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50733","url":"https://www.cve.org/CVERecord?id=CVE-2022-50733","licence":"CVE Terms of Use","modified":"2026-05-11T19:24:27.914Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50733","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50733","licence":"Public domain","modified":"2026-11-10T12:10:00.177Z"}],"updatedAt":"2026-11-25T22:58:21.338Z","epss":{"score":0.00322,"percentile":0.17667,"date":"2026-11-30T12:00:22.000Z"}}