CVE-2022-50846 — Detection of Error Condition Without Action 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 30
Description
In the Linux kernel, the following vulnerability has been resolved:
mmc: via-sdmmc: fix return value check of mmc_add_host()
mmc_add_host() may return error, if we ignore its return value,
it will lead two issues:
1. The memory that allocated in mmc_alloc_host() is leaked.
2. In the remove() path, mmc_remove_host() will be called to
delete device, but it's not added yet, it will lead a kernel
crash because of null-ptr-deref in device_del().
Fix this by checking the return value and goto error…
Affected Packages4 packages
▶CVEListV5linux/linuxf0bf7f61b8405224bc52fc9a3ccd167a68126e00 — 076bcd2c93e16b05c10564e299d6e5d26a766d00+9
🔴Vulnerability Details
3GHSA▶
GHSA-f972-7cqm-cm9w: In the Linux kernel, the following vulnerability has been resolved:
mmc: via-sdmmc: fix return value check of mmc_add_host()
mmc_add_host() may retu↗2025-12-30
OSV▶
CVE-2022-50846: In the Linux kernel, the following vulnerability has been resolved: mmc: via-sdmmc: fix return value check of mmc_add_host() mmc_add_host() may return↗2025-12-30