can: m_can: pci: 在探测/删除方法中添加缺失的 m_can_class_free_dev() (CVE-2022-49024)
CVE编号
CVE-2022-49024利用情况
暂无补丁情况
N/A披露时间
2024-10-22漏洞描述
In the Linux kernel, the following vulnerability has been resolved: can: m_can: pci: add missing m_can_class_free_dev() in probe/remove methods In m_can_pci_remove() and error handling path of m_can_pci_probe(), m_can_class_free_dev() should be called to free resource allocated by m_can_class_allocate_dev(), otherwise there will be memleak.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
系统 | debian_11 | linux | * | Up to (excluding) 5.10.226-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | linux | * | Up to (excluding) 6.0.12-1 | |||||
运行在以下环境 | |||||||||
系统 | linux | linux_kernel | * | From (including) 5.11 | Up to (excluding) 5.15.82 | ||||
运行在以下环境 | |||||||||
系统 | linux | linux_kernel | * | From (including) 5.16 | Up to (excluding) 6.0.12 | ||||
运行在以下环境 | |||||||||
系统 | linux | linux_kernel | 6.1 | - | |||||
- 攻击路径 本地
- 攻击复杂度 低
- 权限要求 低
- 影响范围 未更改
- 用户交互 无
- 可用性 高
- 保密性 无
- 完整性 无
CWE-ID | 漏洞类型 |
CWE-401 | 在移除最后引用时对内存的释放不恰当(内存泄露) |
Exp相关链接

版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论