Use-After-Free Vulnerability in Linux Kernel: ASoC Intel HDA Module

linux Updated 02 Oct 2025

Summary

18/06/2025
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2025-38056: In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: Intel: hda: Fix UAF when reloading module hda_generic_machine_select() appends -idisp to the tplg filename by allocating a new string with de... Affects linux versions < 6.12.32-1. Fixed in 6.12.32-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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Linux kernel is the core component of the Linux operating system, managing hardware resources and providing essential services for software applications. It supports a wide range of hardware and is known for its stability and performance. The kernel's ASoC (ALSA System on Chip) subsystem facilitates audio processing on various hardware platforms. This vulnerability specifically affects the Intel HDA (High Definition Audio) module, which is responsible for managing audio devices and their interactions with the kernel.

Vulnerability Detail

In the Linux kernel, a use-after-free vulnerability has been identified in the ASoC Intel HDA module. This issue arises when the function hda_generic_machine_select() allocates a new string for the topology filename using devm_kasprintf() and stores it in a global variable. Upon unloading the module, the memory is freed, leaving the global variable pointing to freed memory. When the module is reloaded, this leads to a use-after-free condition, potentially allowing an attacker to exploit the freed memory, resulting in undefined behavior, crashes, or arbitrary code execution.

How To Fix

Minimum fixed version

6.12.32-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. It is recommended to apply the patch as soon as it is available to mitigate the risk.

Conclusion

The identified use-after-free vulnerability in the Linux kernel's ASoC Intel HDA module poses significant risks to system stability and security. It is crucial for users to update their systems to the patched version to mitigate these risks. Regular updates and monitoring for vulnerabilities are essential practices for maintaining a secure computing environment.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

A use-after-free vulnerability occurs when a program continues to use a pointer after the memory it points to has been freed. This can lead to crashes or exploitation by attackers.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By simply using a manifest file like package-lock.json, you can check for vulnerabilities without needing to install any software.

Exploitation of this vulnerability could lead to system crashes, unauthorized access, or arbitrary code execution, compromising the integrity and security of the system.

While the primary risk is system instability and potential exploitation, there is also a risk of data loss if the system crashes or behaves unpredictably due to the vulnerability.

It is recommended to regularly check for updates and apply them promptly, especially when vulnerabilities are disclosed, to ensure your system remains secure.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

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