CVE-2022-50513 (CNNVD-202510-1045)
中文标题:
Linux kernel 安全漏洞
英文标题:
staging: rtl8723bs: fix a potential memory leak in rtw_init_cmd_priv()
漏洞描述
中文描述:
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于rtw_init_cmd_priv函数中内存分配失败时未正确释放资源,可能导致内存泄漏。
英文描述:
In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix a potential memory leak in rtw_init_cmd_priv() In rtw_init_cmd_priv(), if `pcmdpriv->rsp_allocated_buf` is allocated in failure, then `pcmdpriv->cmd_allocated_buf` will be not properly released. Besides, considering there are only two error paths and the first one can directly return, so we do not need implicitly jump to the `exit` tag to execute the error handler. So this patch added `kfree(pcmdpriv->cmd_allocated_buf);` on the error path to release the resource and simplified the return logic of rtw_init_cmd_priv(). As there is no proper device to test with, no runtime testing was performed.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| Linux | Linux | - | < e5d8f05edb36fc4ab15beec62cb6ab62f5a60fe2 | - |
cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
CVSS评分详情
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2022-50513 |
2025-11-11 15:21:45 | 2025-11-11 07:37:58 |
| NVD | nvd_CVE-2022-50513 |
2025-11-11 14:58:37 | 2025-11-11 07:46:08 |
| CNNVD | cnnvd_CNNVD-202510-1045 |
2025-11-11 15:13:01 | 2025-11-11 08:00:15 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 其他
- severity: SeverityLevel.MEDIUM -> SeverityLevel.UNKNOWN
- cvss_score: 未提取 -> 0.0
- cnnvd_id: 未提取 -> CNNVD-202510-1045
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- affected_products_count: 7 -> 1
- data_sources: ['cve'] -> ['cve', 'nvd']