• 公告ID (KylinSec-SA-2024-2009)

摘要:

In the Linux kernel, the following vulnerability has been resolved:

net: sparx5: Fix use after free inside sparx5_del_mact_entry

Based on the static analyzis of the code it looks like when an entry
from the MAC table was removed, the entry was still used after being
freed. More precise the vid of the mac_entry was used after calling
devm_kfree on the mac_entry.
The fix consists in first using the vid of the mac_entry to delete the
entry from the HW and after that to free it.

安全等级: Low

公告ID: KylinSec-SA-2024-2009

发布日期: 2024年5月27日

关联CVE: CVE-2024-26856  

  • 详细介绍

1. 漏洞描述

   

In the Linux kernel, the following vulnerability has been resolved:

net: sparx5: Fix use after free inside sparx5_del_mact_entry

Based on the static analyzis of the code it looks like when an entry
from the MAC table was removed, the entry was still used after being
freed. More precise the vid of the mac_entry was used after calling
devm_kfree on the mac_entry.
The fix consists in first using the vid of the mac_entry to delete the
entry from the HW and after that to free it.

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2024-26856 KY3.4-4A kernel Unaffected
CVE-2024-26856 KY3.4-5 kernel Unaffected
CVE-2024-26856 KY3.5.1 kernel Unaffected
CVE-2024-26856 V6 kernel Unaffected

3. 影响组件

    无

4. 修复版本

    无

5. 修复方法

   无

6. 下载链接

    无
上一篇:KylinSec-SA-2024-2008 下一篇:KylinSec-SA-2024-2010