CVE-2025-38078
MediumIn 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.
CVSS 3.1 score
4.7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-362CVE-2025-38078 is a Race Condition vulnerability
What is Race Condition?
The product contains a code sequence that can run concurrently with other code, creating unexpected states. Learn more on MITRE CWE
Affected versions
Linux kernel versions
2.6.12
and later are affected. Fixed in
5.4.294,
5.10.238,
5.15.185,
6.1.141,
6.6.93,
6.12.31,
6.14.9,
6.15
and their respective stable series.
References
The following references provide additional information about CVE-2025-38078 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
Third Party Advisory
-
Third Party Advisory
-
PatchKernel patch commithttps://git.kernel.org/stable/c/10217da9644ae75cea7330f902c35fc5ba78bbbf
-
PatchKernel patch commithttps://git.kernel.org/stable/c/74d90875f3d43f3eff0e9861c4701418795d3455
-
PatchKernel patch commithttps://git.kernel.org/stable/c/8170d8ec4efd0be352c14cb61f374e30fb0c2a25
Frequently asked questions
-
What is CVE-2025-38078?
CVE-2025-38078 is a Medium severity Linux kernel vulnerability with a CVSS score of 4.7 out of 10 , classified as a Race Condition flaw (CWE-362) . It affects Linux kernel versions from 2.6.12 onward and has been patched in 5.4.294, 5.10.238, 5.15.185 and others. CVE-2025-38078 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2025-38078?
CVE-2025-38078 has a CVSS score of 4.7 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2025-38078?
Yes — CVE-2025-38078 has been patched. Fixed versions include 5.4.294, 5.10.238, 5.15.185 and others. If you are running Linux kernel 2.6.12 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-38078 actively exploited?
No — CVE-2025-38078 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Race Condition (CWE-362)?
The product contains a code sequence that can run concurrently with other code, creating unexpected states. View CWE-362 on MITRE CWE →