Memory Leak Vulnerability in Linux Kernel: ASoC SOF Intel HDA Package

linux Updated 02 Oct 2025

Summary

25/07/2025
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2025-38438: In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: Intel: hda: Use devm_kstrdup() to avoid memleak. Affects linux versions < 6.12.41-1. Fixed in 6.12.41-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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Linux kernel is the core component of many operating systems, managing hardware and system resources. It provides essential services for all other parts of the operating system. The ASoC (ALSA System on Chip) subsystem within the kernel supports audio devices, and the SOF (Sound Open Firmware) project aims to provide a flexible and efficient audio firmware solution. This vulnerability affects the SOF Intel HDA implementation, which is responsible for handling audio processing on Intel hardware.

Vulnerability Detail

In the Linux kernel, a memory leak was identified in the ASoC SOF Intel HDA driver. The issue arises from the improper management of memory allocated for the 'tplg_filename' variable within the 'sof_pdata' structure. Specifically, the memory allocated using 'kstrdup()' can be overwritten without being freed, leading to unreferenced memory that is not reclaimed. This vulnerability can result in increased memory usage over time, potentially leading to system instability or crashes as the memory footprint grows.

How To Fix

Minimum fixed version

6.12.41-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 mentioned for this vulnerability. It is advisable to apply the patch as soon as it is available to mitigate the risk of memory leaks.

Conclusion

The memory leak vulnerability in the Linux kernel's ASoC SOF Intel HDA driver poses a risk of increased memory usage and potential system instability. It is essential to update to the patched versions of the Linux package to mitigate this issue. Regular monitoring and timely updates are crucial for maintaining system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability can lead to memory leaks, which may cause increased memory consumption and potentially lead to system instability or crashes.

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

Yes, patches are available for Debian 13 and 14. Ensure you update to the specified versions to mitigate the vulnerability.

While there are no specific workarounds, it is crucial to monitor your system for unusual behavior and plan for an update as soon as possible.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

6.12.41-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