CVE Catalog

CVE-2025-38078

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.13%

3th percentile - higher than 3% of all known CVEs

Summary

In the Linux PCM OSS layer, calling snd_pcm_format_set_silence() with runtime->dma_area can lead to use-after-free (UAF) because dma_area may be freed concurrently outside the buffer access lock.

Risk Assessment

An attacker could remotely trigger a system crash or potentially escalate privileges by exploiting the UAF in the sound driver.

Recommendation

Apply the Linux kernel patch that moves the code into the PCM core and executes it inside the buffer access lock.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS