All reports
Medium

kernel: Linux kernel: Use-After-Free vulnerability in PCM OSS layer due to race condition

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-38078

Probability of exploitation in the next 30 days: 0.18%

FIRST EPSS · 2026-11-23

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.

A flaw was found in the Linux kernel. A local attacker could exploit a race condition in the Pulse-Code Modulation (PCM) Open Sound System (OSS) layer's buffer access. This could lead to a use-after-free (UAF) vulnerability, where memory is accessed after it has been freed. This flaw may allow for information disclosure, privilege escalation, or arbitrary code execution.