Skip to main content
← All vulnerabilities
CVE-2025-38078

ALSA: pcm: Fix race of buffer access at PCM OSS layer

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.4.294, 5.10.238, 5.15.185, 6.1.141, 6.6.93, and 2 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • Linux Linux

    From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in c0e05a76fc727929524ef24a19c302e6dd40233f; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 8170d8ec4efd0be352c14cb61f374e30fb0c2a25; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 10217da9644ae75cea7330f902c35fc5ba78bbbf; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in f3e14d706ec18faf19f5a6e75060e140fea05d4a; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 74d90875f3d43f3eff0e9861c4701418795d3455; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in bf85e49aaf3a3c5775ea87369ea5f159c2148db4; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in afa56c960fcb4db37f2e3399f28e9402e4e1f470; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 93a81ca0657758b607c3f4ba889ae806be9beb73

  • Linux Linux

    2.6.12

  • KernelLinux

    From 2.6.12 · fixed in 5.4.294; From 5.5.0 · fixed in 5.10.238; From 5.11.0 · fixed in 5.15.185; From 5.16.0 · fixed in 6.1.141; From 6.2.0 · fixed in 6.6.93; From 6.7.0 · fixed in 6.12.31; From 6.13.0 · fixed in 6.14.9

References 8

git.kernel.org