Memory Leak Vulnerability in Linux Kernel: ASoC SOF AMD Driver

linux Updated 02 Oct 2025

Summary

17/05/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2023-52663: 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 kfre... Affects linux versions < 6.7.12-1. Fixed in 6.7.12-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Linux kernel is the core component of the Linux operating system, responsible for managing hardware resources and providing essential services to applications. It supports a wide range of functionalities, including process management, memory management, and device drivers. The ASoC (ALSA System on Chip) subsystem allows for audio processing on SoC devices, and the SOF (Sound Open Firmware) project aims to provide a flexible audio firmware solution. This vulnerability specifically affects the AMD SOF driver, which is responsible for audio processing on AMD hardware.

Vulnerability Detail

In the Linux kernel, a memory leak was identified in the ASoC SOF AMD driver. The issue arises from the use of the kasprintf() function to allocate memory for the fw_{code,data}_bin members of the struct acp_dev_data. However, the allocated memory is never deallocated using kfree(), leading to a memory leak. This vulnerability can result in increased memory consumption over time, potentially affecting system performance and stability. The fix involves switching to devm_kasprintf(), which automatically manages memory allocation and deallocation, ensuring that memory is freed when no longer needed.

How To Fix

Minimum fixed version

6.7.12-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds provided for this vulnerability. The recommended action is to update to the patched version as soon as it is available.

Conclusion

The memory leak vulnerability in the ASoC SOF AMD driver of the Linux kernel poses a risk to system performance and stability. It is crucial to update to the patched version 6.7.12-1 to mitigate this issue. Regular monitoring and timely updates are essential for maintaining system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The memory leak can lead to increased memory usage over time, potentially degrading system performance and stability.

You can use tools like Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected.

Yes, a patch is available in version 6.7.12-1 of the Linux package for Debian 13 and 14.

While there are no specific workarounds, it is advisable to monitor your system's memory usage and apply the patch as soon as possible.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.7.12-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback