{"id":"CVE-2021-47087","aliases":["CVE-2021-47087"],"related":[],"kind":"vulnerability","state":"published","title":"tee: optee: Fix incorrect page free bug","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ntee: optee: Fix incorrect page free bug\n\nPointer to the allocated pages (struct page *page) has already\nprogressed towards the end of allocation. It is incorrect to perform\n__free_pages(page, order) using this pointer as we would free any\narbitrary pages. Fix this by stop modifying the page pointer.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ntee: optee: Fix incorrect page free bug\n\nPointer to the allocated pages (struct page *page) has already\nprogressed towards the end of allocation. It is incorrect to perform\n__free_pages(page, order) using this pointer as we would free any\narbitrary pages. Fix this by stop modifying the page pointer.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2024-03-04T18:10:17.107Z","modified":"2026-08-05T08:45:56.013Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-763"],"affected":[{"ranges":[{"type":"git","introduced":"3c712f14d8a9354a8807c15c64c8dd334499cc42","fixed":"806142c805cacd098e61bdc0f72c778a2389fe4a","status":"affected"},{"type":"git","introduced":"1340dc3fb75ea69221f4f5dcb0cbace55ad0331c","fixed":"ad338d825e3f7b96ee542bf313728af2d19fe9ad","status":"affected"},{"type":"git","introduced":"ec185dd3ab257dc2a60953fdf1b6622f524cc5b7","fixed":"91e94e42f6fc49635f1a16d8ae3f79552bcfda29","status":"affected"},{"type":"git","introduced":"ec185dd3ab257dc2a60953fdf1b6622f524cc5b7","fixed":"18549bf4b21c739a9def39f27dcac53e27286ab5","status":"affected"},{"type":"git","version":"255e17923b22cb7abd026e044416d61f6bd0eec0","status":"affected"},{"type":"semver","introduced":"5.4.140","fixed":"5.4.169","status":"affected"},{"type":"semver","introduced":"5.10.58","fixed":"5.10.89","status":"affected"},{"type":"semver","introduced":"5.13.10","fixed":"5.14","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.14","status":"unaffected"},{"type":"semver","introduced":"5.4.169","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.89","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.12","lastAffected":"5.15.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.16","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.4.140","fixed":"5.4.169"},{"status":"affected","introduced":"5.10.58","fixed":"5.10.89"},{"status":"affected","introduced":"5.14","fixed":"5.15.12"},{"status":"affected","version":"5.16"},{"status":"affected","version":"5.16"},{"status":"affected","version":"5.16"},{"status":"affected","version":"5.16"},{"status":"affected","version":"5.16"},{"status":"affected","version":"5.16"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/806142c805cacd098e61bdc0f72c778a2389fe4a","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ad338d825e3f7b96ee542bf313728af2d19fe9ad","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/91e94e42f6fc49635f1a16d8ae3f79552bcfda29","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/18549bf4b21c739a9def39f27dcac53e27286ab5","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-03-06T20:26:26.296Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-47087","url":"https://www.cve.org/CVERecord?id=CVE-2021-47087","licence":"CVE Terms of Use","modified":"2026-08-05T08:45:56.013Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-47087","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47087","licence":"Public domain","modified":"2026-08-04T10:16:44.987Z"}],"updatedAt":"2026-11-25T22:58:08.654Z","epss":{"score":0.00236,"percentile":0.15625,"date":"2026-12-01T12:00:22.000Z"}}