# ALSA: pcm: oss: Fix negative period/buffer sizes

CVE record · `CVE-2021-47511`

- **Identifiers:** `CVE-2021-47511`
- **State:** Confirmed
- **Severity:** CVSS 5.5 Medium
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 24 May 2024
- **Updated:** 11 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 24 May 2024, 15:09 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before be8869d388593e57223ad39297c8e54be632f2f2` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 502e1146873d870f87da3b8f93d6bf2de5f38d0c` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 8af815ab052eaf74addbbfb556d63ce2137c0e1b` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before f96c0959c1ee92adc911c10d6ec209af50105049` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before f12c8a7515f641885677960af450082569a87243` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 02b2b691b77cd7b951fa7b6c9d44d4e472cdc823` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 00a860678098fcd9fa8db2b5fb9d2ddf4776d4cc` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 9d2479c960875ca1239bcb899f386970c13d9cfe` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.12`
  - unaffected: `before 2.6.12` (semver)
  - unaffected: `4.4.295 to 4.4.*, inclusive` (semver)
  - unaffected: `4.9.293 to 4.9.*, inclusive` (semver)
  - unaffected: `4.14.258 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.221 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.165 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.85 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.8 to 5.15.*, inclusive` (semver)
  - unaffected: `5.16 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 5.5 Medium, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0024, the 15th percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 24 May 2024. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2021-47511](https://www.cve.org/CVERecord?id=CVE-2021-47511)
- [NVD: CVE-2021-47511](https://nvd.nist.gov/vuln/detail/CVE-2021-47511)

### References from the CNA

- <https://git.kernel.org/stable/c/be8869d388593e57223ad39297c8e54be632f2f2>
- <https://git.kernel.org/stable/c/502e1146873d870f87da3b8f93d6bf2de5f38d0c>
- <https://git.kernel.org/stable/c/8af815ab052eaf74addbbfb556d63ce2137c0e1b>
- <https://git.kernel.org/stable/c/f96c0959c1ee92adc911c10d6ec209af50105049>
- <https://git.kernel.org/stable/c/f12c8a7515f641885677960af450082569a87243>
- <https://git.kernel.org/stable/c/02b2b691b77cd7b951fa7b6c9d44d4e472cdc823>
- <https://git.kernel.org/stable/c/00a860678098fcd9fa8db2b5fb9d2ddf4776d4cc>
- <https://git.kernel.org/stable/c/9d2479c960875ca1239bcb899f386970c13d9cfe>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2021-47511>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2021-47511/>. Everything for agents: <https://agentprime.io/llms.txt>.
