CVE-2022-50670
published 2025-12-09CVE-2022-50670: In the Linux kernel, the following vulnerability has been resolved: mmc: omap_hsmmc: fix return value check of mmc_add_host() mmc_add_host() may return error…
PriorityP421low5.5
EPSS
0.24%
15.2th percentile
In the Linux kernel, the following vulnerability has been resolved:
mmc: omap_hsmmc: 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 path wihch
will call mmc_free_host().
Affected
17 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.1.4-1 (bookworm) | linux 6.1.4-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= a45c6cb816474cefe56059fce422a9bdcd77e0dc < f153c9e15f8961bdf38707853e15b42ea7c691d9 | f153c9e15f8961bdf38707853e15b42ea7c691d9 |
| linux | linux | >= a45c6cb816474cefe56059fce422a9bdcd77e0dc < fb3d596267a98813a7a8206097d8d46c98505a0d | fb3d596267a98813a7a8206097d8d46c98505a0d |
| linux | linux | >= a45c6cb816474cefe56059fce422a9bdcd77e0dc < 62005dfcc396424db3337a1dc3ab49623537f5e5 | 62005dfcc396424db3337a1dc3ab49623537f5e5 |
| linux | linux | >= a45c6cb816474cefe56059fce422a9bdcd77e0dc < a5f8a4583280a76e50329b910e91ef1dea1e6c79 | a5f8a4583280a76e50329b910e91ef1dea1e6c79 |
| linux | linux | >= a45c6cb816474cefe56059fce422a9bdcd77e0dc < 4e1dc24bcfc8257f24c0663badec7e4f3ae80558 | 4e1dc24bcfc8257f24c0663badec7e4f3ae80558 |
| linux | linux | >= a45c6cb816474cefe56059fce422a9bdcd77e0dc < a525cad241c339ca00bf7ebf03c5180f2a9b767c | a525cad241c339ca00bf7ebf03c5180f2a9b767c |
| linux | linux_kernel | >= 0 < 5.10.178-1 | 5.10.178-1 |
| linux | linux_kernel | >= 0 < 6.1.4-1 | 6.1.4-1 |
| linux | linux_kernel | >= 0 < 6.1.4-1 | 6.1.4-1 |
| linux | linux_kernel | >= 0 < 6.1.4-1 | 6.1.4-1 |
| linux | linux_kernel | >= 2.6.29 < 5.4.229 | 5.4.229 |
| linux | linux_kernel | >= 5.11.0 < 5.15.86 | 5.15.86 |
| linux | linux_kernel | >= 5.16.0 < 6.0.16 | 6.0.16 |
| linux | linux_kernel | >= 5.5.0 < 5.10.163 | 5.10.163 |
| linux | linux_kernel | >= 6.1.0 < 6.1.2 | 6.1.2 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
mmc: omap_hsmmc: fix return value check of mmc_add_host()
osv·2025-12-09
CVE-2022-50670 mmc: omap_hsmmc: fix return value check of mmc_add_host()
mmc: omap_hsmmc: fix return value check of mmc_add_host()
In the Linux kernel, the following vulnerability has been resolved:
mmc: omap_hsmmc: 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 path wihch
will call mmc_free_host().
GHSA
GHSA-9q54-m2hg-m35j: In the Linux kernel, the following vulnerability has been resolved:
mmc: omap_hsmmc: fix return value check of mmc_add_host()
mmc_add_host() may ret
ghsa_unreviewed·2025-12-09
CVE-2022-50670 GHSA-9q54-m2hg-m35j: In the Linux kernel, the following vulnerability has been resolved:
mmc: omap_hsmmc: fix return value check of mmc_add_host()
mmc_add_host() may ret
In the Linux kernel, the following vulnerability has been resolved:
mmc: omap_hsmmc: 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 path wihch
will call mmc_free_host().
OSV
CVE-2022-50670: In the Linux kernel, the following vulnerability has been resolved: mmc: omap_hsmmc: fix return value check of mmc_add_host() mmc_add_host() may retur
osv·2025-12-09
CVE-2022-50670 CVE-2022-50670: In the Linux kernel, the following vulnerability has been resolved: mmc: omap_hsmmc: fix return value check of mmc_add_host() mmc_add_host() may retur
In the Linux kernel, the following vulnerability has been resolved: mmc: omap_hsmmc: 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 path wihch will call mmc_free_host().
Red Hat
kernel: mmc: omap_hsmmc: fix return value check of mmc_add_host()
vendor_redhat·2025-12-09·CVSS 5.5
CVE-2022-50670 [LOW] CWE-252 kernel: mmc: omap_hsmmc: fix return value check of mmc_add_host()
kernel: mmc: omap_hsmmc: fix return value check of mmc_add_host()
In the Linux kernel, the following vulnerability has been resolved:
mmc: omap_hsmmc: 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 path wihch
will call mmc_free_host().
A flaw was found in the OMAP HSMMC driver in the Linux kernel. The driver does not check the return value of mmc_add_host(), which can lead to a memory leak from mmc_alloc_host() and a null point
Debian
CVE-2022-50670: linux - In the Linux kernel, the following vulnerability has been resolved: mmc: omap_h...
vendor_debian·2022
CVE-2022-50670 CVE-2022-50670: linux - In the Linux kernel, the following vulnerability has been resolved: mmc: omap_h...
In the Linux kernel, the following vulnerability has been resolved: mmc: omap_hsmmc: 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 path wihch will call mmc_free_host().
Scope: local
bookworm: resolved (fixed in 6.1.4-1)
bullseye: resolved (fixed in 5.10.178-1)
forky: resolved (fixed in 6.1.4-1)
sid: resolved (fixed in 6.1.4-1)
trixie: resolved (fixed in 6.1.4-1)
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/4e1dc24bcfc8257f24c0663badec7e4f3ae80558https://git.kernel.org/stable/c/62005dfcc396424db3337a1dc3ab49623537f5e5https://git.kernel.org/stable/c/a525cad241c339ca00bf7ebf03c5180f2a9b767chttps://git.kernel.org/stable/c/a5f8a4583280a76e50329b910e91ef1dea1e6c79https://git.kernel.org/stable/c/f153c9e15f8961bdf38707853e15b42ea7c691d9https://git.kernel.org/stable/c/fb3d596267a98813a7a8206097d8d46c98505a0d
2025-12-09
Published