{"id":"CVE-2021-47509","aliases":["CVE-2021-47509"],"related":[],"kind":"vulnerability","state":"published","title":"ALSA: pcm: oss: Limit the period size to 16MB","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: pcm: oss: Limit the period size to 16MB\n\nSet the practical limit to the period size (the fragment shift in OSS)\ninstead of a full 31bit; a too large value could lead to the exhaust\nof memory as we allocate temporary buffers of the period size, too.\n\nAs of this patch, we set to 16MB limit, which should cover all use\ncases.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: pcm: oss: Limit the period size to 16MB\n\nSet the practical limit to the period size (the fragment shift in OSS)\ninstead of a full 31bit; a too large value could lead to the exhaust\nof memory as we allocate temporary buffers of the period size, too.\n\nAs of this patch, we set to 16MB limit, which should cover all use\ncases.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ALSA: pcm: oss: Limitar el tamaño del período a 16 MB Establezca el límite práctico para el tamaño del período (el desplazamiento de fragmentos en OSS) en lugar de 31 bits completos; un valor demasiado grande podría provocar el agotamiento de la memoria, ya que también asignamos búferes temporales del tamaño del período. A partir de este parche, establecimos un límite de 16 MB, que debería cubrir todos los casos de uso.","source":"nvd"}],"published":"2024-05-24T15:09:25.349Z","modified":"2026-06-17T04:17:39.373Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"d1bb703ad050de9095f10b2d3416c32921ac6bcc","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"b02a41eebcc36d4f07196780f2e165ca2c499257","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"be55f306396cd62c6889286a7194fd8b53363aeb","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"2e54cf6794bf82a54aaefc78da13819aea9cd28a","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"76f19e4cbb548e28547f8c328aa0bfb3a10222d3","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"ad45babf7886e7a212ee1d5eda9ef49f696db43c","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"35a3e511032146941085f87dd9fb5b82ea5c00a2","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"8839c8c0f77ab8fc0463f4ab8b37fca3f70677c2","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.12","status":"unaffected"},{"type":"semver","introduced":"4.4.295","lastAffected":"4.4.*","status":"unaffected"},{"type":"semver","introduced":"4.9.293","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.258","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.221","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.165","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.85","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.8","lastAffected":"5.15.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.16","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"4.4.295"},{"status":"affected","introduced":"4.5","fixed":"4.9.293"},{"status":"affected","introduced":"4.10","fixed":"4.14.258"},{"status":"affected","introduced":"4.15","fixed":"4.19.221"},{"status":"affected","introduced":"4.20","fixed":"5.4.165"},{"status":"affected","introduced":"5.5","fixed":"5.10.85"},{"status":"affected","introduced":"5.11","fixed":"5.15.8"},{"status":"affected","version":"5.16"},{"status":"affected","version":"5.16"},{"status":"affected","version":"5.16"},{"status":"affected","version":"5.16"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/d1bb703ad050de9095f10b2d3416c32921ac6bcc","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b02a41eebcc36d4f07196780f2e165ca2c499257","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/be55f306396cd62c6889286a7194fd8b53363aeb","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2e54cf6794bf82a54aaefc78da13819aea9cd28a","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/76f19e4cbb548e28547f8c328aa0bfb3a10222d3","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ad45babf7886e7a212ee1d5eda9ef49f696db43c","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/35a3e511032146941085f87dd9fb5b82ea5c00a2","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8839c8c0f77ab8fc0463f4ab8b37fca3f70677c2","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-05-29T17:05:25.970Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-47509","url":"https://www.cve.org/CVERecord?id=CVE-2021-47509","licence":"CVE Terms of Use","modified":"2026-05-11T13:56:01.640Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-47509","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47509","licence":"Public domain","modified":"2026-06-17T04:17:39.373Z"}],"updatedAt":"2026-11-25T22:58:08.892Z","epss":{"score":0.0024,"percentile":0.1617,"date":"2026-12-01T12:00:22.000Z"}}