CVE-2022-50769Unchecked Return Value in Linux

Severity
3.3LOW
No vector
EPSS
0.0%
top 84.94%
CISA KEV
Not in KEV
Exploit
No known exploits
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

Linuxlinux/linux_kernel2.6.294.9.337+7
Debianlinux/linux_kernel< 5.10.178-1+3
CVEListV5linux/linuxd96be879ff469759af6d7fcebdb66237c18da6f85f35c038c9f4d258b3cf77885a2730f1417d63e7+9
debiandebian/linux< linux 6.1.4-1 (bookworm)

🔴Vulnerability Details

3
OSV
mmc: mxcmmc: fix return value check of mmc_add_host()2025-12-24
OSV
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 er2025-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 return2025-12-24

📋Vendor Advisories

2
Red Hat
kernel: mmc: mxcmmc: fix return value check of mmc_add_host()2025-12-24
Debian
CVE-2022-50769: linux - In the Linux kernel, the following vulnerability has been resolved: mmc: mxcmmc...2022

🕵️Threat Intelligence

1
Wiz
CVE-2022-50769 Impact, Exploitability, and Mitigation Steps | Wiz