irqchip/gic-v3-its:防止错误时双重释放 (CVE-2024-35847)

admin 2024-05-22 00:54:25 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
irqchip/gic-v3-its:防止错误时双重释放 (CVE-2024-35847)

CVE编号

CVE-2024-35847

利用情况

暂无

补丁情况

N/A

披露时间

2024-05-17
漏洞描述
In the Linux kernel, the following vulnerability has been resolved: irqchip/gic-v3-its: Prevent double free on error The error handling path in its_vpe_irq_domain_alloc() causes a double free when its_vpe_init() fails after successfully allocating at least one interrupt. This happens because its_vpe_irq_domain_free() frees the interrupts along with the area bitmap and the vprop_page and its_vpe_irq_domain_alloc() subsequently frees the area bitmap and the vprop_page again. Fix this by unconditionally invoking its_vpe_irq_domain_free() which handles all cases correctly and by removing the bitmap/vprop_page freeing from its_vpe_irq_domain_alloc(). [ tglx: Massaged change log ]
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://git.kernel.org/stable/c/03170e657f62c26834172742492a8cb8077ef792
https://git.kernel.org/stable/c/5b012f77abde89bf0be8a0547636184fea618137
https://git.kernel.org/stable/c/5dbdbe1133911ca7d8466bb86885adec32ad9438
https://git.kernel.org/stable/c/aa44d21574751a7d6bca892eb8e0e9ac68372e52
https://git.kernel.org/stable/c/b72d2b1448b682844f995e660b77f2a1fabc1662
https://git.kernel.org/stable/c/c26591afd33adce296c022e3480dea4282b7ef91
https://git.kernel.org/stable/c/dd681710ab77c8beafe2e263064cb1bd0e2d6ca9
https://git.kernel.org/stable/c/f5417ff561b8ac9a7e53c747b8627a7ab58378ae
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
系统 debian_11 linux * Up to (excluding) 5.10.216-1
运行在以下环境
系统 debian_12 linux * Up to (excluding) 6.1.90-1
CVSS3评分 N/A
  • 攻击路径 N/A
  • 攻击复杂度 N/A
  • 权限要求 N/A
  • 影响范围 N/A
  • 用户交互 N/A
  • 可用性 N/A
  • 保密性 N/A
  • 完整性 N/A
N/A
CWE-ID 漏洞类型
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论:0   参与:  0