CVE-2022-50733
usb: idmouse: fix an uninit-value in idmouse_open
Check your servers for CVE-2022-50733
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-50733 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Exploitation
EPSS 0.30%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 25.0% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 4244f72436ab77c3c29a6447af81734ab3925d85, before b3304a6df957cc89a0590cb505388d659bf3db4c affected from 4244f72436ab77c3c29a6447af81734ab3925d85, before 7dad42032f68718259590b0cc7654e9a95ff9762 affected from 4244f72436ab77c3c29a6447af81734ab3925d85, before f589b667567fde4f81d6e6c40f42b9f2224690ea affected from 4244f72436ab77c3c29a6447af81734ab3925d85, before 1eae30c0113dde7522088231584d62415011a035 affected from 4244f72436ab77c3c29a6447af81734ab3925d85, before b8bbae3236ab7dccc66c42bc3f7cdbcfc0786e54 affected from 4244f72436ab77c3c29a6447af81734ab3925d85, before 20b8c456df584ebb2387dc23d40ebe4ff334417c affected from 4244f72436ab77c3c29a6447af81734ab3925d85, before 6163a5ae097bc78fa26c243fb384537e25610fd7 affected from 4244f72436ab77c3c29a6447af81734ab3925d85, before adad163d1cff248a5df9f7cec50158e6ca89f33b affected from 4244f72436ab77c3c29a6447af81734ab3925d85, before bce2b0539933e485d22d6f6f076c0fcd6f185c4c
Other versions: unaffected
|
| Linux |
affected 2.6.13 unaffected before 2.6.13 unaffected from 4.9.331 up to and including 4.9.* unaffected from 4.14.296 up to and including 4.14.* unaffected from 4.19.262 up to and including 4.19.* unaffected from 5.4.220 up to and including 5.4.* unaffected from 5.10.150 up to and including 5.10.* unaffected from 5.15.75 up to and including 5.15.* unaffected from 5.19.17 up to and including 5.19.* unaffected from 6.0.3 up to and including 6.0.* unaffected 6.1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-50733 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50733
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-50733
trivy image --scanners vuln IMAGE | grep CVE-2022-50733
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/b3304a6df957cc89a0590cb505388d659bf3db4c git.kernel.org
- https://git.kernel.org/stable/c/7dad42032f68718259590b0cc7654e9a95ff9762 git.kernel.org
- https://git.kernel.org/stable/c/f589b667567fde4f81d6e6c40f42b9f2224690ea git.kernel.org
- https://git.kernel.org/stable/c/1eae30c0113dde7522088231584d62415011a035 git.kernel.org
- https://git.kernel.org/stable/c/b8bbae3236ab7dccc66c42bc3f7cdbcfc0786e54 git.kernel.org
- https://git.kernel.org/stable/c/20b8c456df584ebb2387dc23d40ebe4ff334417c git.kernel.org
- https://git.kernel.org/stable/c/6163a5ae097bc78fa26c243fb384537e25610fd7 git.kernel.org
- https://git.kernel.org/stable/c/adad163d1cff248a5df9f7cec50158e6ca89f33b git.kernel.org
- https://git.kernel.org/stable/c/bce2b0539933e485d22d6f6f076c0fcd6f185c4c git.kernel.org
Source: the record CVE-2022-50733 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse