CVE-2022-50769 — Unchecked Return Value in Linux
Severity
3.3LOW
No vectorEPSS
0.0%
top 84.94%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedDec 24
Description
In the Linux kernel, the following vulnerability has been resolved:
mmc: mxcmmc: 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 goto error path which will call
mmc_free_host().
Affected Packages4 packages
▶CVEListV5linux/linuxd96be879ff469759af6d7fcebdb66237c18da6f8 — 5f35c038c9f4d258b3cf77885a2730f1417d63e7+9
🔴Vulnerability Details
3OSV▶
CVE-2022-50769: In the Linux kernel, the following vulnerability has been resolved: mmc: mxcmmc: fix return value check of mmc_add_host() mmc_add_host() may return er↗2025-12-24
GHSA▶
GHSA-c8hr-j464-wc7x: In the Linux kernel, the following vulnerability has been resolved:
mmc: mxcmmc: fix return value check of mmc_add_host()
mmc_add_host() may return↗2025-12-24