CVE-2025-38078: ALSA: pcm: Fix race of buffer access at PCM OSS layer
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.
Security readout for executives and security teams
Plain-English summary
A race condition in the Linux ALSA PCM OSS compatibility layer can access an audio buffer after it has been freed. A low-privileged local user may be able to trigger memory corruption, potentially affecting confidentiality, integrity, and availability. The flaw is local rather than remotely reachable according to its CVSS vector.
Executive priority
Treat this as a high-severity kernel patching item, accelerating remediation for shared, multi-user, workstation, and audio-processing systems. The sources do not indicate remote or active exploitation, so it is not established as an internet-facing emergency. Prioritize verified exposure and vendor-supported updates.
Technical view
During PCM OSS stream initialization or reconfiguration, snd_pcm_format_set_silence() could operate on runtime->dma_area while another operation freed that buffer. This creates a use-after-free race outside PCM operation locking. The kernel fix moves buffer clearing into the PCM core and protects it with the buffer access lock.
Likely exposure
Likely exposure is Linux systems running an affected kernel where low-privileged local users can reach ALSA PCM OSS functionality. Network-only attackers are not indicated. The supplied version data has unclear range semantics, so confirm applicability through distribution advisories or by checking whether the running kernel contains the relevant stable fix.
Exploitation context
The supplied record marks KEV false and provides no evidence of active exploitation or a public exploit. Its CVSS vector indicates local access, low privileges, low complexity, and no user interaction. Practical exposure depends on whether an attacker can access the affected PCM OSS functionality.
Researcher notes
The record assigns CVSS 3.1 score 7.8 but no CWE. The core issue is a runtime->dma_area lifetime race during PCM OSS silence initialization. Stable commits implement locking-based remediation. Exact vulnerable branch boundaries are not clearly represented in the supplied version list and should be resolved through commit ancestry or distribution advisories.
Mitigation direction
Install a vendor-supported kernel update incorporating the applicable Linux stable fix.
Follow the relevant distribution security advisory for package and release-specific remediation.
Reboot into the updated kernel after installation.
If patching is delayed, consult the distribution vendor for supported interim controls.
Validation and detection
Record each system's running kernel version and distribution package revision.
Check distribution advisories for whether that package includes CVE-2025-38078 remediation.
Confirm the running kernel changed after updating and rebooting.
Identify systems permitting untrusted local users to access ALSA PCM OSS functionality.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2025-38078 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
1ADP providers
11Source links
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.