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

摘要:

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

ASoC: SOF: amd: Fix memory leak in amd_sof_acp_probe()

Driver uses kasprintf() to initialize fw_{code,data}_bin members of
struct acp_dev_data, but kfree() is never called to deallocate the
memory, which results in a memory leak.

Fix the issue by switching to devm_kasprintf(). Additionally, ensure the
allocation was successful by checking the pointer validity.

安全等级: Low

公告ID: KylinSec-SA-2024-2737

发布日期: 2024年6月15日

关联CVE: CVE-2023-52663  

  • 详细介绍

1. 漏洞描述

   

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

ASoC: SOF: amd: Fix memory leak in amd_sof_acp_probe()

Driver uses kasprintf() to initialize fw_{code,data}_bin members of
struct acp_dev_data, but kfree() is never called to deallocate the
memory, which results in a memory leak.

Fix the issue by switching to devm_kasprintf(). Additionally, ensure the
allocation was successful by checking the pointer validity.

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2023-52663 KY3.4-5 kernel Unaffected
CVE-2023-52663 KY3.5.3 kernel Unaffected
CVE-2023-52663 V6 kernel Unaffected

3. 影响组件

    无

4. 修复版本

    无

5. 修复方法

   无

6. 下载链接

    无
上一篇:KylinSec-SA-2024-2736 下一篇:KylinSec-SA-2024-2738