CVE-2021-47509

published 24 May 2024 · updated 11 May 2026

ALSA: pcm: oss: Limit the period size to 16MB

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2e54cf6794bf82a54aaefc78da13819aea9cd28a, Kernel 35a3e511032146941085f87dd9fb5b82ea5c00a2, Kernel 76f19e4cbb548e28547f8c328aa0bfb3a10222d3 and 5 more.

In the Linux kernel, the following vulnerability has been resolved: ALSA: pcm: oss: Limit the period size to 16MB Set the practical limit to the period size (the fragment shift in OSS) instead of a full 31bit; a too large value could lead to the exhaust of memory as we allocate temporary buffers of the period size, too. As of this patch, we set to 16MB limit, which should cover all use cases.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=2.6.12, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <2e54cf6794bf82a54aaefc78da13819aea9cd28a, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <35a3e511032146941085f87dd9fb5b82ea5c00a2, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <76f19e4cbb548e28547f8c328aa0bfb3a10222d3, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <8839c8c0f77ab8fc0463f4ab8b37fca3f70677c2, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <ad45babf7886e7a212ee1d5eda9ef49f696db43c, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <b02a41eebcc36d4f07196780f2e165ca2c499257, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <be55f306396cd62c6889286a7194fd8b53363aeb, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <d1bb703ad050de9095f10b2d3416c32921ac6bcc2e54cf6794bf82a54aaefc78da13819aea9cd28a, 35a3e511032146941085f87dd9fb5b82ea5c00a2, 76f19e4cbb548e28547f8c328aa0bfb3a10222d3, 8839c8c0f77ab8fc0463f4ab8b37fca3f70677c2, ad45babf7886e7a212ee1d5eda9ef49f696db43c, b02a41eebcc36d4f07196780f2e165ca2c499257, be55f306396cd62c6889286a7194fd8b53363aeb, d1bb703ad050de9095f10b2d3416c32921ac6bcc

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-47509 severity on Zeptric[![CVE-2021-47509](https://zeptric.io/badge/cve/CVE-2021-47509.svg)](https://zeptric.io/cve/CVE-2021-47509)