跳转到帖子

Red Hat: CVE-2023-52663: kernel: ASoC: SOF: amd: Fix memory leak in amd_sof_acp_probe() (Multiple Advisories)

recommended_posts

发布于
  • Members

Red Hat: CVE-2023-52663: kernel: ASoC: SOF: amd: Fix memory leak in amd_sof_acp_probe() (Multiple Advisories)

Severity
5
CVSS
(AV:L/AC:L/Au:S/C:N/I:N/A:C)
Published
05/17/2024
Created
12/06/2024
Added
12/05/2024
Modified
12/05/2024

Description

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.

Solution(s)

  • redhat-upgrade-kernel
  • redhat-upgrade-kernel-rt

References

  • CVE-2023-52663
  • RHSA-2024:9315
  • 查看数 706
  • 已创建
  • 最后回复

参与讨论

你可立刻发布并稍后注册。 如果你有帐户,立刻登录发布帖子。
注意:你的帖子需要版主批准后才能看到。

游客
回帖…