CVE-2021-47087

published 4 Mar 2024 · updated 5 Aug 2026

tee: optee: Fix incorrect page free bug

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel ad338d825e3f7b96ee542bf313728af2d19fe9ad, Kernel 806142c805cacd098e61bdc0f72c778a2389fe4a, Kernel 5.10.89 and 4 more.

In the Linux kernel, the following vulnerability has been resolved: tee: optee: Fix incorrect page free bug Pointer to the allocated pages (struct page *page) has already progressed towards the end of allocation. It is incorrect to perform __free_pages(page, order) using this pointer as we would free any arbitrary pages. Fix this by stop modifying the page pointer.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=255e17923b22cb7abd026e044416d61f6bd0eec0, =5.14, >=1340dc3fb75ea69221f4f5dcb0cbace55ad0331c <ad338d825e3f7b96ee542bf313728af2d19fe9ad, >=3c712f14d8a9354a8807c15c64c8dd334499cc42 <806142c805cacd098e61bdc0f72c778a2389fe4a, >=5.10.58 <5.10.89, >=5.13.10 <5.14, >=5.4.140 <5.4.169, >=ec185dd3ab257dc2a60953fdf1b6622f524cc5b7 <18549bf4b21c739a9def39f27dcac53e27286ab5, >=ec185dd3ab257dc2a60953fdf1b6622f524cc5b7 <91e94e42f6fc49635f1a16d8ae3f79552bcfda29ad338d825e3f7b96ee542bf313728af2d19fe9ad, 806142c805cacd098e61bdc0f72c778a2389fe4a, 5.10.89, 5.14, 5.4.169, 18549bf4b21c739a9def39f27dcac53e27286ab5, 91e94e42f6fc49635f1a16d8ae3f79552bcfda29

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-47087 severity on Zeptric[![CVE-2021-47087](https://zeptric.io/badge/cve/CVE-2021-47087.svg)](https://zeptric.io/cve/CVE-2021-47087)