ALSA: pcm: Fix race of buffer access at PCM OSS layer
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 10217da9644ae75cea7330f902c35fc5ba78bbbf, Kernel 74d90875f3d43f3eff0e9861c4701418795d3455, Kernel 8170d8ec4efd0be352c14cb61f374e30fb0c2a25 and 5 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =2.6.12, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <10217da9644ae75cea7330f902c35fc5ba78bbbf, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <74d90875f3d43f3eff0e9861c4701418795d3455, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <8170d8ec4efd0be352c14cb61f374e30fb0c2a25, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <93a81ca0657758b607c3f4ba889ae806be9beb73, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <afa56c960fcb4db37f2e3399f28e9402e4e1f470, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <bf85e49aaf3a3c5775ea87369ea5f159c2148db4, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <c0e05a76fc727929524ef24a19c302e6dd40233f, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <f3e14d706ec18faf19f5a6e75060e140fea05d4a | 10217da9644ae75cea7330f902c35fc5ba78bbbf, 74d90875f3d43f3eff0e9861c4701418795d3455, 8170d8ec4efd0be352c14cb61f374e30fb0c2a25, 93a81ca0657758b607c3f4ba889ae806be9beb73, afa56c960fcb4db37f2e3399f28e9402e4e1f470, bf85e49aaf3a3c5775ea87369ea5f159c2148db4, c0e05a76fc727929524ef24a19c302e6dd40233f, f3e14d706ec18faf19f5a6e75060e140fea05d4a |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket