CVE-2021-47509

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

MEDIUM
5.5
CVSS Score
Published: May 24, 2024 at 03:09 PM UTC
Updated: June 17, 2026 at 04:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 4.4.2952.6.12 ≤ v < 4.14.2582.6.12 ≤ v < 4.19.2212.6.12 ≤ v < 4.4.2952.6.12 ≤ v < 4.9.2932.6.12 ≤ v < 5.10.852.6.12 ≤ v < 5.15.82.6.12 ≤ v < 5.162.6.12 ≤ v < 5.4.1654.10 ≤ v < 4.14.2584.15 ≤ v < 4.19.2214.20 ≤ v < 5.4.1654.5 ≤ v < 4.9.2935.11 ≤ v < 5.15.85.5 ≤ v < 5.10.851da177e4c3f41524e886b7f1b8a0c1fc7321cac22.6.125.16 rc15.16 rc25.16 rc35.16 rc4
Vendor states this is fixed in 2e54cf6794bf82a54aaefc78da13819aea9cd28a (fixed)
Vendor states this is fixed in 35a3e511032146941085f87dd9fb5b82ea5c00a2 (fixed)
Vendor states this is fixed in 76f19e4cbb548e28547f8c328aa0bfb3a10222d3 (fixed)
Vendor states this is fixed in 8839c8c0f77ab8fc0463f4ab8b37fca3f70677c2 (fixed)
Vendor states this is fixed in ad45babf7886e7a212ee1d5eda9ef49f696db43c (fixed)
Vendor states this is fixed in b02a41eebcc36d4f07196780f2e165ca2c499257 (fixed)
Vendor states this is fixed in be55f306396cd62c6889286a7194fd8b53363aeb (fixed)
Vendor states this is fixed in d1bb703ad050de9095f10b2d3416c32921ac6bcc (fixed)
Vendor states this is fixed in 2.6.12 (unaffected)
Vendor states this is fixed in 4.14.258 (unaffected)
Vendor states this is fixed in 4.19.221 (unaffected)
Vendor states this is fixed in 4.4.295 (unaffected)
Vendor states this is fixed in 4.9.293 (unaffected)
Vendor states this is fixed in 5.10.85 (unaffected)
Vendor states this is fixed in 5.15.8 (unaffected)
Vendor states this is fixed in 5.16 (unaffected)
Vendor states this is fixed in 5.4.165 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2e54cf6794bf82a54aaefc78da13819aea9cd28a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/35a3e511032146941085f87dd9fb5b82ea5c00a2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/76f19e4cbb548e28547f8c328aa0bfb3a10222d3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8839c8c0f77ab8fc0463f4ab8b37fca3f70677c2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ad45babf7886e7a212ee1d5eda9ef49f696db43c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b02a41eebcc36d4f07196780f2e165ca2c499257
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/be55f306396cd62c6889286a7194fd8b53363aeb
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d1bb703ad050de9095f10b2d3416c32921ac6bcc

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card