CVE-2022-50653
publishedmmc: atmel-mci: fix return value check of mmc_add_host()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux7d2be0749a59096a334c94dc48f43294193cb8ed to < 99a6cdfa2cf05028b52f6d8ee85ccc5f8b71b4a2 · 7d2be0749a59096a334c94dc48f43294193cb8ed to < 6bb26abb92f25e582a0976091a10b539fe3796db · 7d2be0749a59096a334c94dc48f43294193cb8ed to < 00ac0f5f95920f003cd6ece53cdc759549b69118 · 7d2be0749a59096a334c94dc48f43294193cb8ed to < 1925472dec31ec061d57412b3a65a056ea24f340 · 7d2be0749a59096a334c94dc48f43294193cb8ed to < cc8bb436f3c842a86b9082d97933582120d180e2 · 7d2be0749a59096a334c94dc48f43294193cb8ed to < 85946ceb0fac20ab39cdb85333086daf0291a553 · 7d2be0749a59096a334c94dc48f43294193cb8ed to < 9e6e8c43726673ca2abcaac87640b9215fd72f4c · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.27 (affected) · 0 to < 2.6.27 (unaffected · semver) · 4.19.270 through 4.19.* (unaffected · semver) · 5.4.229 through 5.4.* (unaffected · semver) · 5.10.163 through 5.10.* (unaffected · semver) · 5.15.86 through 5.15.* (unaffected · semver) · 6.0.16 through 6.0.* (unaffected · semver) · 6.1.2 through 6.1.* (unaffected · semver) · 6.2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolaarch64 | Advisory build | 7.4.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolppc64le | Advisory build | 7.4.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | bpftools390x | Advisory build | 7.4.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolx86_64 | Advisory build | 7.4.0-503.11.1.el9_5 | RHSA-2024:9315 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfoaarch64 | Advisory build | 7.4.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfoppc64le | Advisory build | 7.4.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfos390x | Advisory build | 7.4.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfox86_64 | Advisory build | 7.4.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernelaarch64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernelppc64le | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernels390x | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernelsrc | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernelx86_64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64kaarch64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-coreaarch64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debugaarch64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-coreaarch64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-debuginfoaarch64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-develaarch64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-devel-matchedaarch64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modulesaarch64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modules-coreaarch64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modules-extraaarch64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debuginfoaarch64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-develaarch64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-devel-matchedaarch64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modulesaarch64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modules-coreaarch64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modules-extraaarch64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-abi-stablelistsnoarch | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreaarch64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreppc64le | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-cores390x | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-corex86_64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugaarch64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugppc64le | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugs390x | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugx86_64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-coreaarch64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-coreppc64le | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-cores390x | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-corex86_64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfoaarch64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfoppc64le | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfos390x | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfox86_64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develaarch64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develppc64le | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devels390x | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develx86_64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedaarch64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedppc64le | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matcheds390x | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedx86_64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesaarch64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesppc64le | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-moduless390x | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesx86_64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-coreaarch64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-coreppc64le | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-cores390x | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-corex86_64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extraaarch64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extrappc64le | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extras390x | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extrax86_64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-uki-virtx86_64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfoaarch64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfoppc64le | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfos390x | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfox86_64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-aarch64aarch64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-ppc64leppc64le | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-s390xs390x | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-x86_64x86_64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-develaarch64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-develppc64le | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devels390x | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-develx86_64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matchedaarch64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matchedppc64le | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matcheds390x | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matchedx86_64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-docnoarch | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-headersaarch64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-headersppc64le | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-headerss390x | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-headersx86_64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modulesaarch64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modulesppc64le | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-moduless390x | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modulesx86_64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-coreaarch64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-coreppc64le | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-cores390x | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-corex86_64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extraaarch64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extrappc64le | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extras390x | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extrax86_64 | Advisory build | 5.14.0-503.11.1.el9_5 | RHSA-2024:9315 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 7d2be0749a59096a334c94dc48f43294193cb8ed to < 99a6cdfa2cf05028b52f6d8ee85ccc5f8b71b4a2 (affected · git)7d2be0749a59096a334c94dc48f43294193cb8ed to < 6bb26abb92f25e582a0976091a10b539fe3796db (affected · git)7d2be0749a59096a334c94dc48f43294193cb8ed to < 00ac0f5f95920f003cd6ece53cdc759549b69118 (affected · git)7d2be0749a59096a334c94dc48f43294193cb8ed to < 1925472dec31ec061d57412b3a65a056ea24f340 (affected · git)7d2be0749a59096a334c94dc48f43294193cb8ed to < cc8bb436f3c842a86b9082d97933582120d180e2 (affected · git)7d2be0749a59096a334c94dc48f43294193cb8ed to < 85946ceb0fac20ab39cdb85333086daf0291a553 (affected · git)7d2be0749a59096a334c94dc48f43294193cb8ed to < 9e6e8c43726673ca2abcaac87640b9215fd72f4c (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.27 (affected)0 to < 2.6.27 (unaffected · semver)4.19.270 through 4.19.* (unaffected · semver)5.4.229 through 5.4.* (unaffected · semver)5.10.163 through 5.10.* (unaffected · semver)5.15.86 through 5.15.* (unaffected · semver)6.0.16 through 6.0.* (unaffected · semver)6.1.2 through 6.1.* (unaffected · semver)6.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
7- https://git.kernel.org/stable/c/00ac0f5f95920f003cd6ece53cdc759549b69118
- https://git.kernel.org/stable/c/1925472dec31ec061d57412b3a65a056ea24f340
- https://git.kernel.org/stable/c/6bb26abb92f25e582a0976091a10b539fe3796db
- https://git.kernel.org/stable/c/85946ceb0fac20ab39cdb85333086daf0291a553
- https://git.kernel.org/stable/c/99a6cdfa2cf05028b52f6d8ee85ccc5f8b71b4a2
- https://git.kernel.org/stable/c/9e6e8c43726673ca2abcaac87640b9215fd72f4c
- https://git.kernel.org/stable/c/cc8bb436f3c842a86b9082d97933582120d180e2
Provider assertions
1Linux · cna
mmc: atmel-mci: fix return value check of mmc_add_host()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d4646caef4a8d1843ccfce68d02cae0651495fe829888673bc86a35d32caa3ab
- Ingested
- 23 Sep 2026, 08:04:48 UTC
- Source record
- Official CVE record