CVE-2023-52663

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

MEDIUM
5.5
CVSS Score
Published: May 17, 2024 at 01:41 PM UTC
Updated: June 17, 2026 at 06:43 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.6 ≤ v < 6.6.236.6 ≤ v < 6.7.116.6 ≤ v < 6.8.26.6 ≤ v < 6.96.7 ≤ v < 6.7.116.8 ≤ v < 6.8.26.6f7da88003c53cf0eedabe609324a047b1921dfcc
Vendor states this is fixed in 222be59e5eed1554119294edc743ee548c2371d0 (fixed)
Vendor states this is fixed in 7296152e58858f928db448826eb7ba5ae611297b (fixed)
Vendor states this is fixed in 88028c45d5871dfc449b2b0a27abf6428453a5ec (fixed)
Vendor states this is fixed in be4760799c6a7c01184467287f0de41e0dd255f8 (fixed)
Vendor states this is fixed in 6.6 (unaffected)
Vendor states this is fixed in 6.6.23 (unaffected)
Vendor states this is fixed in 6.7.11 (unaffected)
Vendor states this is fixed in 6.8.2 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/222be59e5eed1554119294edc743ee548c2371d0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7296152e58858f928db448826eb7ba5ae611297b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/88028c45d5871dfc449b2b0a27abf6428453a5ec
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/be4760799c6a7c01184467287f0de41e0dd255f8

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card