CVE-2021-47511ALSA: pcm: oss: Fix negative period/buffer sizes
- 5.5MediumCVSS base score
- 0.24%Exploitation in 30 daysEPSS · top 85% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: ALSA: pcm: oss: Fix negative period/buffer sizes The period size calculation in OSS layer may receive a negative value as an error, but the code there assumes only the positive values and handle them with size_t. Due to that, a too big value may be passed to the lower layers. This patch changes the code to handle with ssize_t and adds the proper error checks appropriately.
Timeline
ID reserved
By Linux
Published
- 24 months later
· 24 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.24% · top 85% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < be8869d388593e57223ad39297c8e54be632f2f2
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 502e1146873d870f87da3b8f93d6bf2de5f38d0c
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 8af815ab052eaf74addbbfb556d63ce2137c0e1b
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < f96c0959c1ee92adc911c10d6ec209af50105049
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < f12c8a7515f641885677960af450082569a87243
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 02b2b691b77cd7b951fa7b6c9d44d4e472cdc823
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 00a860678098fcd9fa8db2b5fb9d2ddf4776d4cc
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 9d2479c960875ca1239bcb899f386970c13d9cfe
- affected 2.6.12
- unaffected < 2.6.12
- unaffected 4.4.295 – ≤ 4.4.*
- unaffected 4.9.293 – ≤ 4.9.*
- unaffected 4.14.258 – ≤ 4.14.*
- unaffected 4.19.221 – ≤ 4.19.*
- unaffected 5.4.165 – ≤ 5.4.*
- unaffected 5.10.85 – ≤ 5.10.*
- unaffected 5.15.8 – ≤ 5.15.*
- unaffected 5.16 – ≤ *
References
References8
- https://git.kernel.org/stable/c/be8869d388593e57223ad39297c8e54be632f2f2 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/502e1146873d870f87da3b8f93d6bf2de5f38d0c (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/8af815ab052eaf74addbbfb556d63ce2137c0e1b (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/f96c0959c1ee92adc911c10d6ec209af50105049 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/f12c8a7515f641885677960af450082569a87243 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/02b2b691b77cd7b951fa7b6c9d44d4e472cdc823 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/00a860678098fcd9fa8db2b5fb9d2ddf4776d4cc (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/9d2479c960875ca1239bcb899f386970c13d9cfe (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-34515 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-47511)Record last updated .