7.8high
tee: optee: Fix incorrect page free bug
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.24% (higher than 15% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 3c712f14d8a9354a8807c15c64c8dd334499cc42 before 806142c805cacd098e61bdc0f72c778a2389fe4a, from 1340dc3fb75ea69221f4f5dcb0cbace55ad0331c before ad338d825e3f7b96ee542bf313728af2d19fe9ad, from ec185dd3ab257dc2a60953fdf1b6622f524cc5b7 before 91e94e42f6fc49635f1a16d8ae3f79552bcfda29, from ec185dd3ab257dc2a60953fdf1b6622f524cc5b7 before 18549bf4b21c739a9def39f27dcac53e27286ab5, 255e17923b22cb7abd026e044416d61f6bd0eec0, from 5.4.140 before 5.4.169, from 5.10.58 before 5.10.89, from 5.13.10 before 5.14 and 1 more Not affected: before 5.14, from 5.4.169 up to 5.4.*, from 5.10.89 up to 5.10.*, from 5.15.12 up to 5.15.*, from 5.16 up to * | CVE List |
| linux linux_kernel | from 5.4.140 before 5.4.169, from 5.10.58 before 5.10.89, from 5.14 before 5.15.12, 5.16 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: tee: optee: corrige el error de liberación de página incorrecta. El puntero a las páginas asignadas (página de estructura *página) ya ha avanzado hacia el final de la asignación. Es incorrecto ejecutar __free_pages(page, order) usando este puntero ya que liberaríamos páginas arbitrarias. Solucione este problema dejando de modificar el puntero de la página.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-47087 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2021-47087 changed 2026-08-04 | Public domain |