CVE-2025-38078
ALSA: pcm: Fix race of buffer access at PCM OSS layer
Mitigation
- Upgrade Linux to 93a81ca0657758b607c3f4ba889ae806be9beb73 or later.
Who should check
- Anyone running Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c0e05a76fc727929524ef24a19c302e6dd40233f; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8170d8ec4efd0be352c14cb61f374e30fb0c2a25; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 10217da9644ae75cea7330f902c35fc5ba78bbbf; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < f3e14d706ec18faf19f5a6e75060e140fea05d4a; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 74d90875f3d43f3eff0e9861c4701418795d3455; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < bf85e49aaf3a3c5775ea87369ea5f159c2148db4; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < afa56c960fcb4db37f2e3399f28e9402e4e1f470; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 93a81ca0657758b607c3f4ba889ae806be9beb73
- Anyone running Linux 2.6.12
Vulnerability facts
- Affected
- Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c0e05a76fc727929524ef24a19c302e6dd40233f; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8170d8ec4efd0be352c14cb61f374e30fb0c2a25; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 10217da9644ae75cea7330f902c35fc5ba78bbbf; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < f3e14d706ec18faf19f5a6e75060e140fea05d4a; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 74d90875f3d43f3eff0e9861c4701418795d3455; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < bf85e49aaf3a3c5775ea87369ea5f159c2148db4; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < afa56c960fcb4db37f2e3399f28e9402e4e1f470; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 93a81ca0657758b607c3f4ba889ae806be9beb73; Linux 2.6.12
- Fixed in
- Linux 8170d8ec4efd0be352c14cb61f374e30fb0c2a25, Linux 10217da9644ae75cea7330f902c35fc5ba78bbbf, Linux 74d90875f3d43f3eff0e9861c4701418795d3455, Linux 93a81ca0657758b607c3f4ba889ae806be9beb73
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.24% chance of exploitation in 30 days (percentile 9, 2026-11-26)
- CWE
- CWE-362
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c0e05a76fc727929524ef24a19c302e6dd40233f; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8170d8ec4efd0be352c14cb61f374e30fb0c2a25; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 10217da9644ae75cea7330f902c35fc5ba78bbbf; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < f3e14d706ec18faf19f5a6e75060e140fea05d4a; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 74d90875f3d43f3eff0e9861c4701418795d3455; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < bf85e49aaf3a3c5775ea87369ea5f159c2148db4; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < afa56c960fcb4db37f2e3399f28e9402e4e1f470; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 93a81ca0657758b607c3f4ba889ae806be9beb73 | — | cvelist |
| Linux | 2.6.12 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-38078. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-38078.md Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c0e05a76fc727929524ef24a19c302e6dd40233f; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8170d8ec4efd0be352c14cb61f374e30fb0c2a25; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 10217da9644ae75cea7330f902c35fc5ba78bbbf; >= 1da177e4c3f41524e886b7f… Fixed in: Linux 8170d8ec4efd0be352c14cb61f374e30fb0c2a25, Linux 10217da9644ae75cea7330f902c35fc5ba78bbbf, Linux 74d90875f3d43f3eff0e9861c4701418795d3455, Linux 93a81ca0657758b607c3f4ba889ae806be9beb73 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/c0e05a76fc727929524ef24a19c302e6dd40233f
- https://git.kernel.org/stable/c/8170d8ec4efd0be352c14cb61f374e30fb0c2a25
- https://git.kernel.org/stable/c/10217da9644ae75cea7330f902c35fc5ba78bbbf
- https://git.kernel.org/stable/c/f3e14d706ec18faf19f5a6e75060e140fea05d4a
- https://git.kernel.org/stable/c/74d90875f3d43f3eff0e9861c4701418795d3455
- https://git.kernel.org/stable/c/bf85e49aaf3a3c5775ea87369ea5f159c2148db4
- https://git.kernel.org/stable/c/afa56c960fcb4db37f2e3399f28e9402e4e1f470
- https://git.kernel.org/stable/c/93a81ca0657758b607c3f4ba889ae806be9beb73
FAQ
Is CVE-2025-38078 being exploited?
There is no confirmed exploitation: CVE-2025-38078 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-38078?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-38078?
Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c0e05a76fc727929524ef24a19c302e6dd40233f; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8170d8ec4efd0be352c14cb61f374e30fb0c2a25; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 10217da9644ae75cea7330f902c35fc5ba78bbbf; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < f3e14d706ec18faf19f5a6e75060e140fea05d4a; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 74d90875f3d43f3eff0e9861c4701418795d3455; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < bf85e49aaf3a3c5775ea87369ea5f159c2148db4; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < afa56c960fcb4db37f2e3399f28e9402e4e1f470; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 93a81ca0657758b607c3f4ba889ae806be9beb73; Linux 2.6.12.
Is there a fix for CVE-2025-38078?
Yes. Fixed in Linux 8170d8ec4efd0be352c14cb61f374e30fb0c2a25, Linux 10217da9644ae75cea7330f902c35fc5ba78bbbf, Linux 74d90875f3d43f3eff0e9861c4701418795d3455, Linux 93a81ca0657758b607c3f4ba889ae806be9beb73. Upgrade Linux to 93a81ca0657758b607c3f4ba889ae806be9beb73 or later.
How do I check if I'm affected by CVE-2025-38078?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.