{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-47087","id":"CVE-2021-47087","title":"tee: optee: Fix incorrect page free bug","description":"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.","descriptionLong":"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.","published":"2024-03-04T18:10:17.107Z","updated":"2026-08-05T08:45:56.013Z","reserved":"2024-02-29T22:33:44.299Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"3c712f14d8a9354a8807c15c64c8dd334499cc42","lessThan":"806142c805cacd098e61bdc0f72c778a2389fe4a","status":"affected","versionType":"git"},{"version":"1340dc3fb75ea69221f4f5dcb0cbace55ad0331c","lessThan":"ad338d825e3f7b96ee542bf313728af2d19fe9ad","status":"affected","versionType":"git"},{"version":"ec185dd3ab257dc2a60953fdf1b6622f524cc5b7","lessThan":"91e94e42f6fc49635f1a16d8ae3f79552bcfda29","status":"affected","versionType":"git"},{"version":"ec185dd3ab257dc2a60953fdf1b6622f524cc5b7","lessThan":"18549bf4b21c739a9def39f27dcac53e27286ab5","status":"affected","versionType":"git"},{"version":"255e17923b22cb7abd026e044416d61f6bd0eec0","status":"affected","versionType":"git"},{"version":"5.4.140","lessThan":"5.4.169","status":"affected","versionType":"semver"},{"version":"5.10.58","lessThan":"5.10.89","status":"affected","versionType":"semver"},{"version":"5.13.10","lessThan":"5.14","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.14","status":"affected"},{"version":"0","lessThan":"5.14","status":"unaffected","versionType":"semver"},{"version":"5.4.169","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.89","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.12","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.16","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-763"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/806142c805cacd098e61bdc0f72c778a2389fe4a","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/ad338d825e3f7b96ee542bf313728af2d19fe9ad","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/91e94e42f6fc49635f1a16d8ae3f79552bcfda29","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/18549bf4b21c739a9def39f27dcac53e27286ab5","tags":["x_transferred","Patch","fix"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00236,"epssPercentile":0.14769,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-47087","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47087","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-47087","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-47087","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}