# tee: optee: Fix incorrect page free bug

CVE record · `CVE-2021-47087`

- **Identifiers:** `CVE-2021-47087`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 4 Mar 2024
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 4 Mar 2024, 18:10 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: `3c712f14d8a9354a8807c15c64c8dd334499cc42 to before 806142c805cacd098e61bdc0f72c778a2389fe4a` (git)
  - affected: `1340dc3fb75ea69221f4f5dcb0cbace55ad0331c to before ad338d825e3f7b96ee542bf313728af2d19fe9ad` (git)
  - affected: `ec185dd3ab257dc2a60953fdf1b6622f524cc5b7 to before 91e94e42f6fc49635f1a16d8ae3f79552bcfda29` (git)
  - affected: `ec185dd3ab257dc2a60953fdf1b6622f524cc5b7 to before 18549bf4b21c739a9def39f27dcac53e27286ab5` (git)
  - affected: `255e17923b22cb7abd026e044416d61f6bd0eec0` (git)
  - affected: `5.4.140 to before 5.4.169` (semver)
  - affected: `5.10.58 to before 5.10.89` (semver)
  - affected: `5.13.10 to before 5.14` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.14`
  - unaffected: `before 5.14` (semver)
  - unaffected: `5.4.169 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.89 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.12 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

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0024, the 14th 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 4 Mar 2024. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/806142c805cacd098e61bdc0f72c778a2389fe4a>
- <https://git.kernel.org/stable/c/ad338d825e3f7b96ee542bf313728af2d19fe9ad>
- <https://git.kernel.org/stable/c/91e94e42f6fc49635f1a16d8ae3f79552bcfda29>
- <https://git.kernel.org/stable/c/18549bf4b21c739a9def39f27dcac53e27286ab5>

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

---

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