can: m_can: pci: 在探测/删除方法中添加缺失的 m_can_class_free_dev() (CVE-2022-49024)

admin 2024-10-25 00:54:04 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
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.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://git.kernel.org/stable/c/0bbb88651ef6b7fbb1bf75ec7ba69add632e834b
https://git.kernel.org/stable/c/1eca1d4cc21b6d0fc5f9a390339804c0afce9439
https://git.kernel.org/stable/c/ea8dc27bb044e19868155e500ce397007be98656
受影响软件情况
# 类型 厂商 产品 版本 影响面
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 -
CVSS3评分 5.5
  • 攻击路径 本地
  • 攻击复杂度 低
  • 权限要求 低
  • 影响范围 未更改
  • 用户交互 无
  • 可用性 高
  • 保密性 无
  • 完整性 无
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-ID 漏洞类型
CWE-401 在移除最后引用时对内存的释放不恰当(内存泄露)
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论:0   参与:  0