CVE-2022-50618 (CNNVD-202512-1043)
中文标题:
Linux kernel 安全漏洞
英文标题:
mmc: meson-gx: fix return value check of mmc_add_host()
漏洞描述
中文描述:
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于meson-gx mmc驱动未检查mmc_add_host返回值,可能导致内存泄漏和空指针解引用。
英文描述:
In the Linux kernel, the following vulnerability has been resolved: mmc: meson-gx: 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 which will call mmc_free_host().
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| Linux | Linux | - | < f5506e0bbb25102bd8ef2e1a3b483a0b934e454e | - |
cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*
|
| Linux | Linux | 4.10 | - | - |
cpe:2.3:a:linux:linux:4.10:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
CVSS评分详情
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2022-50618 |
2025-12-08 02:07:21 | 2026-01-12 02:08:28 |
| NVD | nvd_CVE-2022-50618 |
2025-12-09 03:00:04 | 2026-01-12 02:26:44 |
| CNNVD | cnnvd_CNNVD-202512-1043 |
2026-01-11 06:15:04 | 2026-01-12 02:37:53 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 其他
- severity: SeverityLevel.MEDIUM -> SeverityLevel.UNKNOWN
- cvss_score: 未提取 -> 0.0
- cnnvd_id: 未提取 -> CNNVD-202512-1043
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- affected_products_count: 8 -> 2
- data_sources: ['cve'] -> ['cve', 'nvd']