CVE-2022-50653
published 2025-12-09CVE-2022-50653: In the Linux kernel, the following vulnerability has been resolved: mmc: atmel-mci: fix return value check of mmc_add_host() mmc_add_host() may return error…
PriorityP420low5.5
EPSS
0.20%
10.3th percentile
In the Linux kernel, the following vulnerability has been resolved:
mmc: atmel-mci: 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().
So fix this by checking the return value and calling mmc_free_host()
in the error path.
Affected
19 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 | >= 7d2be0749a59096a334c94dc48f43294193cb8ed < 99a6cdfa2cf05028b52f6d8ee85ccc5f8b71b4a2 | 99a6cdfa2cf05028b52f6d8ee85ccc5f8b71b4a2 |
| linux | linux | >= 7d2be0749a59096a334c94dc48f43294193cb8ed < 6bb26abb92f25e582a0976091a10b539fe3796db | 6bb26abb92f25e582a0976091a10b539fe3796db |
| linux | linux | >= 7d2be0749a59096a334c94dc48f43294193cb8ed < 00ac0f5f95920f003cd6ece53cdc759549b69118 | 00ac0f5f95920f003cd6ece53cdc759549b69118 |
| linux | linux | >= 7d2be0749a59096a334c94dc48f43294193cb8ed < 1925472dec31ec061d57412b3a65a056ea24f340 | 1925472dec31ec061d57412b3a65a056ea24f340 |
| linux | linux | >= 7d2be0749a59096a334c94dc48f43294193cb8ed < cc8bb436f3c842a86b9082d97933582120d180e2 | cc8bb436f3c842a86b9082d97933582120d180e2 |
| linux | linux | >= 7d2be0749a59096a334c94dc48f43294193cb8ed < 85946ceb0fac20ab39cdb85333086daf0291a553 | 85946ceb0fac20ab39cdb85333086daf0291a553 |
| linux | linux | >= 7d2be0749a59096a334c94dc48f43294193cb8ed < 9e6e8c43726673ca2abcaac87640b9215fd72f4c | 9e6e8c43726673ca2abcaac87640b9215fd72f4c |
| 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.27 < 4.19.270 | 4.19.270 |
| linux | linux_kernel | >= 4.20.0 < 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.
GHSA
GHSA-ph9x-gxv9-666v: In the Linux kernel, the following vulnerability has been resolved:
mmc: atmel-mci: fix return value check of mmc_add_host()
mmc_add_host() may retu
ghsa_unreviewed·2025-12-09
CVE-2022-50653 GHSA-ph9x-gxv9-666v: In the Linux kernel, the following vulnerability has been resolved:
mmc: atmel-mci: fix return value check of mmc_add_host()
mmc_add_host() may retu
In the Linux kernel, the following vulnerability has been resolved:
mmc: atmel-mci: 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().
So fix this by checking the return value and calling mmc_free_host()
in the error path.
OSV
mmc: atmel-mci: fix return value check of mmc_add_host()
osv·2025-12-09
CVE-2022-50653 mmc: atmel-mci: fix return value check of mmc_add_host()
mmc: atmel-mci: fix return value check of mmc_add_host()
In the Linux kernel, the following vulnerability has been resolved:
mmc: atmel-mci: 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().
So fix this by checking the return value and calling mmc_free_host()
in the error path.
OSV
CVE-2022-50653: In the Linux kernel, the following vulnerability has been resolved: mmc: atmel-mci: fix return value check of mmc_add_host() mmc_add_host() may return
osv·2025-12-09
CVE-2022-50653 CVE-2022-50653: In the Linux kernel, the following vulnerability has been resolved: mmc: atmel-mci: fix return value check of mmc_add_host() mmc_add_host() may return
In the Linux kernel, the following vulnerability has been resolved: mmc: atmel-mci: 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(). So fix this by checking the return value and calling mmc_free_host() in the error path.
Red Hat
kernel: mmc: atmel-mci: fix return value check of mmc_add_host()
vendor_redhat·2025-12-09·CVSS 5.5
CVE-2022-50653 [LOW] CWE-252 kernel: mmc: atmel-mci: fix return value check of mmc_add_host()
kernel: mmc: atmel-mci: fix return value check of mmc_add_host()
In the Linux kernel, the following vulnerability has been resolved:
mmc: atmel-mci: 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().
So fix this by checking the return value and calling mmc_free_host()
in the error path.
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Not affected
Package: kernel (Red Hat Enterprise Linux 7) - Not affected
Package: kernel-
Debian
CVE-2022-50653: linux - In the Linux kernel, the following vulnerability has been resolved: mmc: atmel-...
vendor_debian·2022
CVE-2022-50653 CVE-2022-50653: linux - In the Linux kernel, the following vulnerability has been resolved: mmc: atmel-...
In the Linux kernel, the following vulnerability has been resolved: mmc: atmel-mci: 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(). So fix this by checking the return value and calling mmc_free_host() in the error path.
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/00ac0f5f95920f003cd6ece53cdc759549b69118https://git.kernel.org/stable/c/1925472dec31ec061d57412b3a65a056ea24f340https://git.kernel.org/stable/c/6bb26abb92f25e582a0976091a10b539fe3796dbhttps://git.kernel.org/stable/c/85946ceb0fac20ab39cdb85333086daf0291a553https://git.kernel.org/stable/c/99a6cdfa2cf05028b52f6d8ee85ccc5f8b71b4a2https://git.kernel.org/stable/c/9e6e8c43726673ca2abcaac87640b9215fd72f4chttps://git.kernel.org/stable/c/cc8bb436f3c842a86b9082d97933582120d180e2
2025-12-09
Published