CVE-2022-50268
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2022
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
mmc: moxart: fix return value check of mmc_add_host()
In the Linux kernel, the following vulnerability has been resolved: mmc: moxart: 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().
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 1b66e94e6b9995323190f31c51d8e1a6f516627e | affected | git | a4c765f5d8e58138cff69f1510b2e8942ec37022 | Unavailable | None listed |
| 1b66e94e6b9995323190f31c51d8e1a6f516627e | affected | git | a94d466f31a5201995d39bc1208e2c09ab04f0bf | Unavailable | None listed |
| 1b66e94e6b9995323190f31c51d8e1a6f516627e | affected | git | c7e9a2059fb943fc3c3fa12261518fd72a0fc136 | Unavailable | None listed |
| 1b66e94e6b9995323190f31c51d8e1a6f516627e | affected | git | b174f2b36c638fc7737df6c8aac1889a646be98f | Unavailable | None listed |
| 1b66e94e6b9995323190f31c51d8e1a6f516627e | affected | git | 7c3b301ca8b0cab392c71da8fcdfa499074f8e97 | Unavailable | None listed |
| 1b66e94e6b9995323190f31c51d8e1a6f516627e | affected | git | f0502fe86a2db2336c9498d2de3e97f22dcf85ae | Unavailable | None listed |
| 1b66e94e6b9995323190f31c51d8e1a6f516627e | affected | git | 8f8bb62c7c5c833758ef1563fe738afd579c3efe | Unavailable | None listed |
| 1b66e94e6b9995323190f31c51d8e1a6f516627e | affected | git | 40aa73c70e8a5706f9cbe01409a5e51cc0f1750e | Unavailable | None listed |
| 1b66e94e6b9995323190f31c51d8e1a6f516627e | affected | git | 0ca18d09c744fb030ae9bc5836c3e357e0237dea | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 3.16 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 3.16 | Unavailable | None listed |
| 4.9.337 | unaffected | semver | Unavailable | 4.9.* | None listed |
| 4.14.303 | unaffected | semver | Unavailable | 4.14.* | None listed |
| 4.19.270 | unaffected | semver | Unavailable | 4.19.* | None listed |
| 5.4.229 | unaffected | semver | Unavailable | 5.4.* | None listed |
| 5.10.163 | unaffected | semver | Unavailable | 5.10.* | None listed |
| 5.15.86 | unaffected | semver | Unavailable | 5.15.* | None listed |
| 6.0.16 | unaffected | semver | Unavailable | 6.0.* | None listed |
| 6.1.2 | unaffected | semver | Unavailable | 6.1.* | None listed |
| 6.2 | unaffected | original_commit_for_fix | Unavailable | * | None listed |