CVE-2022-50769

Not scored yetLast modified Nov 10, 2026

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().

Metrics

No CVSS score has been published yet.

Affected software

VendorProductVersions
LinuxLinux>= d96be879ff469759af6d7fcebdb66237c18da6f8, < 5f35c038c9f4d258b3cf77885a2730f1417d63e7; >= d96be879ff469759af6d7fcebdb66237c18da6f8, < 1cf0c1e58738b97e2de207846105b6a5d46622ee; >= d96be879ff469759af6d7fcebdb66237c18da6f8, < b8bdb3fd13d5cd1e86d22fd3f803a742fd88af89; >= d96be879ff469759af6d7fcebdb66237c18da6f8, < 32eb502c972dfc34413c9147418b3d94d870c2b8; >= d96be879ff469759af6d7fcebdb66237c18da6f8, < 3904eb97bb78fdca3e16d30a38ce5697b9686110; >= d96be879ff469759af6d7fcebdb66237c18da6f8, < 2d496050ded83b13b16f05e1fc0329b0210d2493; >= d96be879ff469759af6d7fcebdb66237c18da6f8, < d37474ab9a79149075f0823315c6d45dd983a78c; >= d96be879ff469759af6d7fcebdb66237c18da6f8, < d2ead18bc7cc166220cab5a744a05c5b69431a12; >= d96be879ff469759af6d7fcebdb66237c18da6f8, < cde600af7b413c9fe03e85c58c4279df90e91d13
LinuxLinux2.6.29

References

Timeline

Published
Dec 24, 2025
Last modified
Nov 10, 2026
NVD status
Deferred

Related CVEs from 2022

CVE-2022-50770In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix memory leak in ocfs2_mount_volume() There is a memory leak CVE-2022-50771In the Linux kernel, the following vulnerability has been resolved: rcu: Fix __this_cpu_read() lockdep warning in rcu_force_quiescent_stateCVE-2022-50772In the Linux kernel, the following vulnerability has been resolved: netdevsim: fix memory leak in nsim_bus_dev_new() If device_register() CVE-2022-50773In the Linux kernel, the following vulnerability has been resolved: ALSA: mts64: fix possible null-ptr-defer in snd_mts64_interrupt I got CVE-2022-50774In the Linux kernel, the following vulnerability has been resolved: crypto: qat - fix DMA transfer direction When CONFIG_DMA_API_DEBUG is CVE-2022-50775In the Linux kernel, the following vulnerability has been resolved: RDMA/hns: Fix refcount leak in hns_roce_mmap rdma_user_mmap_entry_get_CVE-2022-50776In the Linux kernel, the following vulnerability has been resolved: clk: st: Fix memory leak in st_of_quadfs_setup() If st_clk_register_quCVE-2022-50777In the Linux kernel, the following vulnerability has been resolved: net: phy: xgmiitorgmii: Fix refcount leak in xgmiitorgmii_probe of_phyCVE-2022-50778In the Linux kernel, the following vulnerability has been resolved: fortify: Fix __compiletime_strlen() under UBSAN_BOUNDS_LOCAL With CONFCVE-2022-50779In the Linux kernel, the following vulnerability has been resolved: orangefs: Fix kmemleak in orangefs_prepare_debugfs_help_string() When CVE-2022-507807.8In the Linux kernel, the following vulnerability has been resolved: net: fix UAF issue in nfqnl_nf_hook_drop() when ops_init() failed WhenCVE-2022-50781In the Linux kernel, the following vulnerability has been resolved: amdgpu/pm: prevent array underflow in vega20_odn_edit_dpm_table() In t
CVE-2022-50769: Unscored | Vulnix