VDB

CVE-2023-52663

CVE-2023-52663 PUBLISHED

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

Reported by linux · Published May 17, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.8.2, 6.7.11, 6.6.23

Affected products

VendorProductVersions
LinuxLinuxf7da88003c53cf0eedabe609324a047b1921dfcc, f7da88003c53cf0eedabe609324a047b1921dfcc, f7da88003c53cf0eedabe609324a047b1921dfcc
LinuxLinux6.6, 0, 6.6.23
LinuxLinux6.9, 6.7.11, 6.6.23
linuxlinux_kernel6.6, 6.6, 6.6

Timeline

  • May 17, 2024 CVE Published
  • May 18, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 5, 2024 Coalition ESS Score (5 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Jan 25, 2026 Security Advisory (441 in total, the first dated here)
  • May 28, 2026 Distribution Patch (336 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-52663
vulnetix vdb fixes CVE-2023-52663

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-52663/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›