CVE-2025-38078
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
18/06/2025
Last modified:
18/06/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
ALSA: pcm: Fix race of buffer access at PCM OSS layer<br />
<br />
The PCM OSS layer tries to clear the buffer with the silence data at<br />
initialization (or reconfiguration) of a stream with the explicit call<br />
of snd_pcm_format_set_silence() with runtime->dma_area. But this may<br />
lead to a UAF because the accessed runtime->dma_area might be freed<br />
concurrently, as it&#39;s performed outside the PCM ops.<br />
<br />
For avoiding it, move the code into the PCM core and perform it inside<br />
the buffer access lock, so that it won&#39;t be changed during the<br />
operation.
Impact
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/10217da9644ae75cea7330f902c35fc5ba78bbbf
- https://git.kernel.org/stable/c/74d90875f3d43f3eff0e9861c4701418795d3455
- https://git.kernel.org/stable/c/8170d8ec4efd0be352c14cb61f374e30fb0c2a25
- https://git.kernel.org/stable/c/93a81ca0657758b607c3f4ba889ae806be9beb73
- https://git.kernel.org/stable/c/afa56c960fcb4db37f2e3399f28e9402e4e1f470
- https://git.kernel.org/stable/c/bf85e49aaf3a3c5775ea87369ea5f159c2148db4
- https://git.kernel.org/stable/c/c0e05a76fc727929524ef24a19c302e6dd40233f
- https://git.kernel.org/stable/c/f3e14d706ec18faf19f5a6e75060e140fea05d4a