# tty: serial: 8250: serial_cs: Fix a memory leak in error handling path

CVE record · `CVE-2021-47330`

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

Published by the CVE Program (CNA: Linux) at 21 May 2024, 14:35 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: `15b99ac1729503db9e6dc642a50b9b6cb3bf51f9 to before b5a2799cd62ed30c81b22c23028d9ee374e2138c` (git)
  - affected: `15b99ac1729503db9e6dc642a50b9b6cb3bf51f9 to before 331f5923fce4f45b8170ccf06c529e8eb28f37bc` (git)
  - affected: `15b99ac1729503db9e6dc642a50b9b6cb3bf51f9 to before 34f4590f5ec9859ea9136249f528173d150bd584` (git)
  - affected: `15b99ac1729503db9e6dc642a50b9b6cb3bf51f9 to before cddee5c287e26f6b2ba5c0ffdfc3a846f2f10461` (git)
  - affected: `15b99ac1729503db9e6dc642a50b9b6cb3bf51f9 to before ee16bed959862a6de2913f71a04cb563d7237b67` (git)
  - affected: `15b99ac1729503db9e6dc642a50b9b6cb3bf51f9 to before 7a80f71601af015856a0aeb1e3c294037ac3dd32` (git)
  - affected: `15b99ac1729503db9e6dc642a50b9b6cb3bf51f9 to before c39cf4df19acf0133fa284a8cd83fad42cd13cc2` (git)
  - affected: `15b99ac1729503db9e6dc642a50b9b6cb3bf51f9 to before b2ef1f5de40342de44fc5355321595f91774dab5` (git)
  - affected: `15b99ac1729503db9e6dc642a50b9b6cb3bf51f9 to before fad92b11047a748c996ebd6cfb164a63814eeb2e` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.17`
  - unaffected: `before 2.6.17` (semver)
  - unaffected: `4.4.276 to 4.4.*, inclusive` (semver)
  - unaffected: `4.9.276 to 4.9.*, inclusive` (semver)
  - unaffected: `4.14.240 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.198 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.134 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.52 to 5.10.*, inclusive` (semver)
  - unaffected: `5.12.19 to 5.12.*, inclusive` (semver)
  - unaffected: `5.13.4 to 5.13.*, inclusive` (semver)
  - unaffected: `5.14 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

No source has published a CVSS score for this record yet.

- **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 21 May 2024. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/b5a2799cd62ed30c81b22c23028d9ee374e2138c>
- <https://git.kernel.org/stable/c/331f5923fce4f45b8170ccf06c529e8eb28f37bc>
- <https://git.kernel.org/stable/c/34f4590f5ec9859ea9136249f528173d150bd584>
- <https://git.kernel.org/stable/c/cddee5c287e26f6b2ba5c0ffdfc3a846f2f10461>
- <https://git.kernel.org/stable/c/ee16bed959862a6de2913f71a04cb563d7237b67>
- <https://git.kernel.org/stable/c/7a80f71601af015856a0aeb1e3c294037ac3dd32>
- <https://git.kernel.org/stable/c/c39cf4df19acf0133fa284a8cd83fad42cd13cc2>
- <https://git.kernel.org/stable/c/b2ef1f5de40342de44fc5355321595f91774dab5>
- <https://git.kernel.org/stable/c/fad92b11047a748c996ebd6cfb164a63814eeb2e>

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-47330>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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