CVE-2025-38078

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

MEDIUM
4.7
CVSS Score
Published: June 18, 2025 at 09:33 AM UTC
Updated: October 15, 2026 at 10:18 PM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.7
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.4.2945.11 ≤ v < 5.15.1855.16 ≤ v < 6.1.1415.5 ≤ v < 5.10.2386.13 ≤ v < 6.14.96.2 ≤ v < 6.6.936.7 ≤ v < 6.12.311da177e4c3f41524e886b7f1b8a0c1fc7321cac26.156.15 rc16.15 rc26.15 rc36.15 rc46.15 rc56.15 rc66.15 rc7
Vendor states this is fixed in 10217da9644ae75cea7330f902c35fc5ba78bbbf (fixed)
Vendor states this is fixed in 74d90875f3d43f3eff0e9861c4701418795d3455 (fixed)
Vendor states this is fixed in 8170d8ec4efd0be352c14cb61f374e30fb0c2a25 (fixed)
Vendor states this is fixed in 93a81ca0657758b607c3f4ba889ae806be9beb73 (fixed)
Vendor states this is fixed in afa56c960fcb4db37f2e3399f28e9402e4e1f470 (fixed)
Vendor states this is fixed in bf85e49aaf3a3c5775ea87369ea5f159c2148db4 (fixed)
Vendor states this is fixed in c0e05a76fc727929524ef24a19c302e6dd40233f (fixed)
Vendor states this is fixed in f3e14d706ec18faf19f5a6e75060e140fea05d4a (fixed)
Vendor states this is fixed in 2.6.12 (unaffected)
Vendor states this is fixed in 5.10.238 (unaffected)
Vendor states this is fixed in 5.15.185 (unaffected)
Vendor states this is fixed in 5.4.294 (unaffected)
Vendor states this is fixed in 6.1.141 (unaffected)
Vendor states this is fixed in 6.12.31 (unaffected)
Vendor states this is fixed in 6.14.9 (unaffected)
Vendor states this is fixed in 6.15 (unaffected)
Vendor states this is fixed in 6.6.93 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/10217da9644ae75cea7330f902c35fc5ba78bbbf
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/74d90875f3d43f3eff0e9861c4701418795d3455
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8170d8ec4efd0be352c14cb61f374e30fb0c2a25
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/93a81ca0657758b607c3f4ba889ae806be9beb73
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/afa56c960fcb4db37f2e3399f28e9402e4e1f470
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bf85e49aaf3a3c5775ea87369ea5f159c2148db4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c0e05a76fc727929524ef24a19c302e6dd40233f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f3e14d706ec18faf19f5a6e75060e140fea05d4a

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
HIGH
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-362

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card