CVE-2023-52663: ASoC: SOF: amd: Fix memory leak in amd_sof_acp_probe()

Published May 17, 2024
·
Updated

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

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

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

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

Other sources

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

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

The Linux kernel CVE team has assigned CVE-2023-52663 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024051740-CVE-2023-52663-1045@gregkh/T

Red Hat

Affected Software

8 affected componentsFixes available
redhat/kernel<6.6.23
6.6.23
redhat/kernel<6.7.11
6.7.11
redhat/kernel<6.8.2
6.8.2
redhat/kernel<6.9
6.9
Linux Linux kernel>=6.6<6.6.23
Linux Linux kernel>=6.7<6.7.11
Linux Linux kernel>=6.8<6.8.2
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Event History

May 17, 2024
CVE Published
via MITRE·01:41 PM
Data Sourced
via MITRE·01:41 PM
Description
May 18, 2024
Data Sourced
via Red Hat·02:00 AM
DescriptionSeverityAffected Software
Jun 8, 2024
Data Sourced
via Launchpad·12:59 AM
Description
Jan 14, 2025
Data Sourced
via Ubuntu·03:13 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2023-52663?

CVE-2023-52663 has been classified with a moderate severity due to the memory leak in the Linux kernel's ASoC subsystem.

2

How do I fix CVE-2023-52663?

To resolve CVE-2023-52663, upgrade to kernel versions 6.6.23, 6.7.11, 6.8.2, 6.9, or appropriate Debian versions like 5.10.223-1 or 6.12.12-1.

3

Which systems are affected by CVE-2023-52663?

CVE-2023-52663 affects specific versions of the Linux kernel including versions below 6.6.23 and above 6.9.

4

What components are involved in CVE-2023-52663?

CVE-2023-52663 specifically involves the ASoC subsystem in the Linux kernel and the initialization of struct acp_dev_data.

5

Is there a workaround for CVE-2023-52663?

There is no known workaround for CVE-2023-52663; the only solution is to upgrade to the patched kernel versions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203