CVE-2022-50858 — Unchecked Return Value in Linux
Severity
3.3LOW
No vectorEPSS
0.0%
top 89.30%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedDec 30
Description
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 Packages4 packages
▶CVEListV5linux/linuxc5413ad815a675b5c98a002353d8e96b44b164e9 — 289c964fe182ce755044a6cd57698072e12ffa6f+6
🔴Vulnerability Details
3OSV▶
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↗2025-12-30
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↗2025-12-30