CVEvulnerability

CVE-2025-38078

4.7 MEDIUM Published 2025-06-18 Modified 2026-10-15 Official page ↗
Status
Modified
Published
2025-06-18
Last modified
2026-10-15
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1 ([email protected])
4.7 MEDIUM — CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-362

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 configurations

• linux linux kernel (< 5.4.294) • linux linux kernel (>= 5.5 < 5.10.238) • linux linux kernel (>= 5.11 < 5.15.185) • linux linux kernel (>= 5.16 < 6.1.141) • linux linux kernel (>= 6.2 < 6.6.93) • linux linux kernel (>= 6.7 < 6.12.31) • linux linux kernel (>= 6.13 < 6.14.9) • linux linux kernel 6.15 • debian debian linux 11.0

Related

Weakness · CWE (1)

  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization weakness

References