CVE-2021-47509: ALSA: pcm: oss: Limit the period size to 16MB
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.
Security readout for executives and security teams
Plain-English summary
CVE-2021-47509 is a local Linux kernel denial-of-service issue in ALSA OSS PCM handling. A local user could request an oversized audio period buffer, causing excessive memory allocation and system availability impact. The upstream fix caps the practical period size at 16MB.
Executive priority
Treat as a moderate patching item. It is most relevant for multi-user Linux systems because exploitation requires local privileges, but successful abuse can affect system availability.
Technical view
The ALSA pcm_oss path accepted a very large fragment shift, effectively allowing period sizes up to a 31-bit range. Temporary buffers are allocated at period size, so oversized values could exhaust memory. The patch limits the period size to 16MB.
Likely exposure
Exposure is mainly Linux systems running affected kernels where local users can access ALSA OSS PCM functionality. The CVSS vector is local, low complexity, low privileges, no user interaction, and availability-only impact.
Exploitation context
The source bundle does not show CISA KEV listing or active exploitation. This is not described as remote code execution; the supported risk is local availability impact through memory exhaustion.
Researcher notes
Affected-version data in the bundle is broad and upstream-oriented. Use distribution backport status, not only kernel version strings, to decide exposure. The referenced stable commits are the primary remediation evidence.
Mitigation direction
Update to a vendor kernel containing the referenced upstream stable fix.
Prioritize shared systems with untrusted local users or shell access.
Check distribution advisories for exact fixed package versions.
If vendor-supported, disable unused OSS PCM compatibility until patched.
Validation and detection
Inventory Linux kernel versions against vendor fixed-version guidance.
Confirm the running kernel includes the ALSA pcm_oss 16MB period-size limit.
Review whether local users can access affected audio interfaces.
Validate patched systems through normal audio regression testing.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2021-47509 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.