CVE-2026-139213

ASoC: amd: raven: Fix memory leak in acp3x_dma_close()

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

ASoC: amd: raven: Fix memory leak in acp3x_dma_close()

acp3x_dma_open() allocates a struct i2s_stream_instance for
each substream, but acp3x_dma_close() never frees it, leaking
it on every open/close cycle.

Free it in acp3x_dma_close().

Analysis

AI-generated

Technical impact

The Linux kernel's ASoC subsystem contains a flaw in the amd: raven audio driver where acp3x_dma_open allocates a struct i2s_stream_instance for each substream but acp3x_dma_close never frees it. This results in a memory leak that accumulates with every open/close cycle, potentially depleting kernel memory, degrading performance, and in severe cases causing a kernel panic. The vulnerability is a classic memory allocation error identified as CWE-401.

Affected Systems

All Linux kernel builds that include the AMD Raven SoC audio driver in the ASoC subsystem are impacted. The flaw is specific to the acp3x audio driver module and does not affect systems whose kernel does not compile or load this driver.

Risk and Exploitability

The exploit requires local privilege or the ability to drive the audio subsystem, which is typically available to ordinary users. The attacker would need to trigger multiple open/close cycles of the audio stream to exhaust kernel memory. No EPSS score is available, and the vulnerability is not listed in the CISA KEV catalog. The high resource consumption can lead to denial of service for local users or the system owner, but it does not provide a remote execution vector.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the kernel patch that frees the struct i2s_stream_instance in acp3x_dma_close()
  • Upgrade the Linux kernel to a version that incorporates this fix
  • If an immediate kernel update is not possible, temporarily unload or blacklist the acp3x audio driver to prevent the memory leak

Generated by OpenCVE AI on December 1, 2026 at 10:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-401
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ASoC: amd: raven: Fix memory leak in acp3x_dma_close() acp3x_dma_open() allocates a struct i2s_stream_instance for each substream, but acp3x_dma_close() never frees it, leaking it on every open/close cycle. Free it in acp3x_dma_close().
Title ASoC: amd: raven: Fix memory leak in acp3x_dma_close()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:32 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM