CVE-2022-50640
mmc: core: Fix kernel panic when remove non-standard SDIO card
Check your servers for CVE-2022-50640
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-50640 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:
mmc: core: Fix kernel panic when remove non-standard SDIO card
SDIO tuple is only allocated for standard SDIO card, especially it causes memory corruption issues when the non-standard SDIO card has removed, which is because the card device's reference counter does not increase for it at sdio_init_func(), but all SDIO card device reference counter gets decreased at sdio_release_func().
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.0% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, before b8b2965932e702b21e335ff30e1bb550f5a23b6f affected from 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, before b3275dde570b6420106a715bb58a0af041b94d95 affected from 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, before 1fb79478695d92bab1c120ad3dad05252b02a29d affected from 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, before 7a09c64b7da0abdec3919812e3d93ecc44069ed0 affected from 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, before 8bf037279b5869ae9331c42bb1527d2680ebba96 affected from 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, before 1e8cd93ae536581562bab4e1d8c5315bbc2548bf affected from 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, before 66d461a92f32b6995b630625d350259b6b1f961b affected from 6f51be3d37dff73cf8db771df4169f4c2f1cbf66, before 9972e6b404884adae9eec7463e30d9b3c9a70b18
Other versions: unaffected
|
| Linux |
affected 2.6.36 unaffected before 2.6.36 unaffected from 4.9.332 up to and including 4.9.* unaffected from 4.14.298 up to and including 4.14.* unaffected from 4.19.264 up to and including 4.19.* unaffected from 5.4.223 up to and including 5.4.* unaffected from 5.10.153 up to and including 5.10.* unaffected from 5.15.77 up to and including 5.15.* unaffected from 6.0.7 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-50640 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50640
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-50640
trivy image --scanners vuln IMAGE | grep CVE-2022-50640
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/b8b2965932e702b21e335ff30e1bb550f5a23b6f git.kernel.org
- https://git.kernel.org/stable/c/b3275dde570b6420106a715bb58a0af041b94d95 git.kernel.org
- https://git.kernel.org/stable/c/1fb79478695d92bab1c120ad3dad05252b02a29d git.kernel.org
- https://git.kernel.org/stable/c/7a09c64b7da0abdec3919812e3d93ecc44069ed0 git.kernel.org
- https://git.kernel.org/stable/c/8bf037279b5869ae9331c42bb1527d2680ebba96 git.kernel.org
- https://git.kernel.org/stable/c/1e8cd93ae536581562bab4e1d8c5315bbc2548bf git.kernel.org
- https://git.kernel.org/stable/c/66d461a92f32b6995b630625d350259b6b1f961b git.kernel.org
- https://git.kernel.org/stable/c/9972e6b404884adae9eec7463e30d9b3c9a70b18 git.kernel.org
Source: the record CVE-2022-50640 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