CVE-2025-38078
ALSA Kernel Use-After-Free
Description
In the Linux kernel, the following vulnerability has been resolved: ALSA: pcm: Fix race of buffer access at PCM OSS layer The PCM OSS layer tries to clear the buffer with the silence data at initialization (or reconfiguration) of a stream with the explicit call of snd_pcm_format_set_silence() with runtime->dma_area. But this may lead to a UAF because the accessed runtime->dma_area might be freed concurrently, as it's performed outside the PCM ops. For avoiding it, move the code into the PCM core and perform it inside the buffer access lock, so that it won't be changed during the operation.
INFO
Published Date :
June 18, 2025, 10:15 a.m.
Last Modified :
June 18, 2025, 1:46 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Update the affected packages.
- Update the kernel package.
Public PoC/Exploit Available at Github
CVE-2025-38078 has a 1 public
PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-38078
.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-38078
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-38078
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
DSA and DLA for Debian last 14 days
Python
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-38078
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-38078
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 18, 2025
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: ALSA: pcm: Fix race of buffer access at PCM OSS layer The PCM OSS layer tries to clear the buffer with the silence data at initialization (or reconfiguration) of a stream with the explicit call of snd_pcm_format_set_silence() with runtime->dma_area. But this may lead to a UAF because the accessed runtime->dma_area might be freed concurrently, as it's performed outside the PCM ops. For avoiding it, move the code into the PCM core and perform it inside the buffer access lock, so that it won't be changed during the operation. Added Reference https://git.kernel.org/stable/c/10217da9644ae75cea7330f902c35fc5ba78bbbf Added Reference https://git.kernel.org/stable/c/74d90875f3d43f3eff0e9861c4701418795d3455 Added Reference https://git.kernel.org/stable/c/8170d8ec4efd0be352c14cb61f374e30fb0c2a25 Added Reference https://git.kernel.org/stable/c/93a81ca0657758b607c3f4ba889ae806be9beb73 Added Reference https://git.kernel.org/stable/c/afa56c960fcb4db37f2e3399f28e9402e4e1f470 Added Reference https://git.kernel.org/stable/c/bf85e49aaf3a3c5775ea87369ea5f159c2148db4 Added Reference https://git.kernel.org/stable/c/c0e05a76fc727929524ef24a19c302e6dd40233f Added Reference https://git.kernel.org/stable/c/f3e14d706ec18faf19f5a6e75060e140fea05d4a