CVE-2022-50858
published 2025-12-30CVE-2022-50858: In the Linux kernel, the following vulnerability has been resolved: mmc: alcor: fix return value check of mmc_add_host() mmc_add_host() may return error, if we…
PriorityP420low3.3
EPSS
0.21%
11.8th percentile
In the Linux kernel, the following vulnerability has been resolved:
mmc: alcor: fix return value check of mmc_add_host()
mmc_add_host() may return error, if we ignore its return value, the memory
that allocated in mmc_alloc_host() will be leaked and it will lead a kernel
crash because of deleting not added device in the remove path.
So fix this by checking the return value and calling mmc_free_host() in the
error path.
Affected
17 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.1.4-1 (bookworm) | linux 6.1.4-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= c5413ad815a675b5c98a002353d8e96b44b164e9 < 289c964fe182ce755044a6cd57698072e12ffa6f | 289c964fe182ce755044a6cd57698072e12ffa6f |
| linux | linux | >= c5413ad815a675b5c98a002353d8e96b44b164e9 < 4a6e5d0222804a3eaf2ea4cf893f412e7cf98cb2 | 4a6e5d0222804a3eaf2ea4cf893f412e7cf98cb2 |
| linux | linux | >= c5413ad815a675b5c98a002353d8e96b44b164e9 < 29c5b4da41f35108136d843c7432885c78cf8272 | 29c5b4da41f35108136d843c7432885c78cf8272 |
| linux | linux | >= c5413ad815a675b5c98a002353d8e96b44b164e9 < 48dc06333d75f41c2ce9ba954bc3231324b45914 | 48dc06333d75f41c2ce9ba954bc3231324b45914 |
| linux | linux | >= c5413ad815a675b5c98a002353d8e96b44b164e9 < 60fafcf2fb7ee9a4125dc9a86eeb9d490acf23e2 | 60fafcf2fb7ee9a4125dc9a86eeb9d490acf23e2 |
| linux | linux | >= c5413ad815a675b5c98a002353d8e96b44b164e9 < e93d1468f429475a753d6baa79b853b7ee5ef8c0 | e93d1468f429475a753d6baa79b853b7ee5ef8c0 |
| linux | linux_kernel | >= 0 < 5.10.178-1 | 5.10.178-1 |
| linux | linux_kernel | >= 0 < 6.1.4-1 | 6.1.4-1 |
| linux | linux_kernel | >= 0 < 6.1.4-1 | 6.1.4-1 |
| linux | linux_kernel | >= 0 < 6.1.4-1 | 6.1.4-1 |
| linux | linux_kernel | >= 5.0.0 < 5.4.229 | 5.4.229 |
| linux | linux_kernel | >= 5.11.0 < 5.15.86 | 5.15.86 |
| linux | linux_kernel | >= 5.16.0 < 6.0.16 | 6.0.16 |
| linux | linux_kernel | >= 5.5.0 < 5.10.163 | 5.10.163 |
| linux | linux_kernel | >= 6.1.0 < 6.1.2 | 6.1.2 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: mmc: alcor: fix return value check of mmc_add_host()
vendor_redhat·2025-12-30·CVSS 3.3
CVE-2022-50858 [LOW] CWE-252 kernel: mmc: alcor: fix return value check of mmc_add_host()
kernel: mmc: alcor: fix return value check of mmc_add_host()
In the Linux kernel, the following vulnerability has been resolved:
mmc: alcor: fix return value check of mmc_add_host()
mmc_add_host() may return error, if we ignore its return value, the memory
that allocated in mmc_alloc_host() will be leaked and it will lead a kernel
crash because of deleting not added device in the remove path.
So fix this by checking the return value and calling mmc_free_host() in the
error path.
A flaw was found in the Linux kernel's Alcor Micro MMC card reader driver. When mmc_add_host() fails, its return value is not checked, causing memory allocated by mmc_alloc_host() to leak. Additionally, the remove path may attempt to delete a device that was never added, leading to a kernel crash.
Statement: Thi
Debian
CVE-2022-50858: linux - In the Linux kernel, the following vulnerability has been resolved: mmc: alcor:...
vendor_debian·2022
CVE-2022-50858 CVE-2022-50858: linux - In the Linux kernel, the following vulnerability has been resolved: mmc: alcor:...
In the Linux kernel, the following vulnerability has been resolved: mmc: alcor: fix return value check of mmc_add_host() mmc_add_host() may return error, if we ignore its return value, the memory that allocated in mmc_alloc_host() will be leaked and it will lead a kernel crash because of deleting not added device in the remove path. So fix this by checking the return value and calling mmc_free_host() in the error path.
Scope: local
bookworm: resolved (fixed in 6.1.4-1)
bullseye: resolved (fixed in 5.10.178-1)
forky: resolved (fixed in 6.1.4-1)
sid: resolved (fixed in 6.1.4-1)
trixie: resolved (fixed in 6.1.4-1)
OSV
CVE-2022-50858: In the Linux kernel, the following vulnerability has been resolved: mmc: alcor: fix return value check of mmc_add_host() mmc_add_host() may return err
osv·2025-12-30
CVE-2022-50858 CVE-2022-50858: In the Linux kernel, the following vulnerability has been resolved: mmc: alcor: fix return value check of mmc_add_host() mmc_add_host() may return err
In the Linux kernel, the following vulnerability has been resolved: mmc: alcor: fix return value check of mmc_add_host() mmc_add_host() may return error, if we ignore its return value, the memory that allocated in mmc_alloc_host() will be leaked and it will lead a kernel crash because of deleting not added device in the remove path. So fix this by checking the return value and calling mmc_free_host() in the error path.
GHSA
GHSA-m3wv-5mmv-w433: In the Linux kernel, the following vulnerability has been resolved:
mmc: alcor: fix return value check of mmc_add_host()
mmc_add_host() may return e
ghsa_unreviewed·2025-12-30
CVE-2022-50858 GHSA-m3wv-5mmv-w433: In the Linux kernel, the following vulnerability has been resolved:
mmc: alcor: fix return value check of mmc_add_host()
mmc_add_host() may return e
In the Linux kernel, the following vulnerability has been resolved:
mmc: alcor: fix return value check of mmc_add_host()
mmc_add_host() may return error, if we ignore its return value, the memory
that allocated in mmc_alloc_host() will be leaked and it will lead a kernel
crash because of deleting not added device in the remove path.
So fix this by checking the return value and calling mmc_free_host() in the
error path.
OSV
mmc: alcor: fix return value check of mmc_add_host()
osv·2025-12-30
CVE-2022-50858 mmc: alcor: fix return value check of mmc_add_host()
mmc: alcor: fix return value check of mmc_add_host()
In the Linux kernel, the following vulnerability has been resolved:
mmc: alcor: fix return value check of mmc_add_host()
mmc_add_host() may return error, if we ignore its return value, the memory
that allocated in mmc_alloc_host() will be leaked and it will lead a kernel
crash because of deleting not added device in the remove path.
So fix this by checking the return value and calling mmc_free_host() in the
error path.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2022-50858 kernel: mmc: alcor: fix return value check of mmc_add_host()
bugzilla·2025-12-30
CVE-2022-50858 [LOW] CVE-2022-50858 kernel: mmc: alcor: fix return value check of mmc_add_host()
CVE-2022-50858 kernel: mmc: alcor: fix return value check of mmc_add_host()
In the Linux kernel, the following vulnerability has been resolved:
mmc: alcor: fix return value check of mmc_add_host()
mmc_add_host() may return error, if we ignore its return value, the memory
that allocated in mmc_alloc_host() will be leaked and it will lead a kernel
crash because of deleting not added device in the remove path.
So fix this by checking the return value and calling mmc_free_host() in the
error path.
Discussion:
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025123047-CVE-2022-50858-f41c@gregkh/T
Wiz
CVE-2022-50858 Impact, Exploitability, and Mitigation Steps | Wiz
blogs_wiz
CVE-2022-50858 CVE-2022-50858 Impact, Exploitability, and Mitigation Steps | Wiz
## CVE-2022-50858 :
Linux Kernel vulnerability analysis and mitigation
In the Linux kernel, the following vulnerability has been resolved:
mmc: alcor: fix return value check of mmc_add_host()
mmc_add_host() may return error, if we ignore its return value, the memory
that allocated in mmc_alloc_host() will be leaked and it will lead a kernel
crash because of deleting not added device in the remove path.
So fix this by checking the return value and calling mmc_free_host() in the
error path.
Source : NVD
Published December 30, 2025
CNA Score N/A
Affected Technologies
Linux Kernel
Linux Debian
Has Public Exploit No
Has CISA KEV Exploit No
CISA KEV Release Date N/A
CISA KEV Due Date N/A
Exploitation Probability Percentile (EPSS) 10.8
Exploitation Probability (EPSS) N/A
Affecte
https://git.kernel.org/stable/c/289c964fe182ce755044a6cd57698072e12ffa6fhttps://git.kernel.org/stable/c/29c5b4da41f35108136d843c7432885c78cf8272https://git.kernel.org/stable/c/48dc06333d75f41c2ce9ba954bc3231324b45914https://git.kernel.org/stable/c/4a6e5d0222804a3eaf2ea4cf893f412e7cf98cb2https://git.kernel.org/stable/c/60fafcf2fb7ee9a4125dc9a86eeb9d490acf23e2https://git.kernel.org/stable/c/e93d1468f429475a753d6baa79b853b7ee5ef8c0
2025-12-30
Published