{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-50733","id":"CVE-2022-50733","title":"usb: idmouse: fix an uninit-value in idmouse_open","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","descriptionLong":"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.","published":"2025-12-24T12:22:52.651Z","updated":"2026-11-12T02:30:51.020219167Z","reserved":"2025-12-24T12:20:40.331Z","status":"Deferred","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4244f72436ab77c3c29a6447af81734ab3925d85","lessThan":"b3304a6df957cc89a0590cb505388d659bf3db4c","status":"affected","versionType":"git"},{"version":"4244f72436ab77c3c29a6447af81734ab3925d85","lessThan":"7dad42032f68718259590b0cc7654e9a95ff9762","status":"affected","versionType":"git"},{"version":"4244f72436ab77c3c29a6447af81734ab3925d85","lessThan":"f589b667567fde4f81d6e6c40f42b9f2224690ea","status":"affected","versionType":"git"},{"version":"4244f72436ab77c3c29a6447af81734ab3925d85","lessThan":"1eae30c0113dde7522088231584d62415011a035","status":"affected","versionType":"git"},{"version":"4244f72436ab77c3c29a6447af81734ab3925d85","lessThan":"b8bbae3236ab7dccc66c42bc3f7cdbcfc0786e54","status":"affected","versionType":"git"},{"version":"4244f72436ab77c3c29a6447af81734ab3925d85","lessThan":"20b8c456df584ebb2387dc23d40ebe4ff334417c","status":"affected","versionType":"git"},{"version":"4244f72436ab77c3c29a6447af81734ab3925d85","lessThan":"6163a5ae097bc78fa26c243fb384537e25610fd7","status":"affected","versionType":"git"},{"version":"4244f72436ab77c3c29a6447af81734ab3925d85","lessThan":"adad163d1cff248a5df9f7cec50158e6ca89f33b","status":"affected","versionType":"git"},{"version":"4244f72436ab77c3c29a6447af81734ab3925d85","lessThan":"bce2b0539933e485d22d6f6f076c0fcd6f185c4c","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.13","status":"affected"},{"version":"0","lessThan":"2.6.13","status":"unaffected","versionType":"semver"},{"version":"4.9.331","lessThanOrEqual":"4.9.*","status":"unaffected","versionType":"semver"},{"version":"4.14.296","lessThanOrEqual":"4.14.*","status":"unaffected","versionType":"semver"},{"version":"4.19.262","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.220","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.150","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.75","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.19.17","lessThanOrEqual":"5.19.*","status":"unaffected","versionType":"semver"},{"version":"6.0.3","lessThanOrEqual":"6.0.*","status":"unaffected","versionType":"semver"},{"version":"6.1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/b3304a6df957cc89a0590cb505388d659bf3db4c","tags":["web"]},{"url":"https://git.kernel.org/stable/c/7dad42032f68718259590b0cc7654e9a95ff9762","tags":["web"]},{"url":"https://git.kernel.org/stable/c/f589b667567fde4f81d6e6c40f42b9f2224690ea","tags":["web"]},{"url":"https://git.kernel.org/stable/c/1eae30c0113dde7522088231584d62415011a035","tags":["web"]},{"url":"https://git.kernel.org/stable/c/b8bbae3236ab7dccc66c42bc3f7cdbcfc0786e54","tags":["web"]},{"url":"https://git.kernel.org/stable/c/20b8c456df584ebb2387dc23d40ebe4ff334417c","tags":["web"]},{"url":"https://git.kernel.org/stable/c/6163a5ae097bc78fa26c243fb384537e25610fd7","tags":["web"]},{"url":"https://git.kernel.org/stable/c/adad163d1cff248a5df9f7cec50158e6ca89f33b","tags":["web"]},{"url":"https://git.kernel.org/stable/c/bce2b0539933e485d22d6f6f076c0fcd6f185c4c","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50733.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50733","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00284,"epssPercentile":0.21291,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-50733","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50733","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-50733","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-50733","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}