Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2021-47087
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-47087 is a vulnerability in the Linux kernel's TEE (Trusted Execution Environment) OptEE driver, discovered and disclosed in March 2024. The vulnerability affects multiple versions of the Linux kernel, including versions from 5.4.140 to 5.4.169, 5.10.58 to 5.10.89, 5.14 to 5.15.12, and various 5.16 release candidates (NVD).

Technical details

The vulnerability stems from an incorrect page free bug in the OptEE driver where the pointer to allocated pages (struct page *page) progresses incorrectly towards the end of allocation. When performing __free_pages(page, order), this results in freeing arbitrary pages instead of the intended ones. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability could lead to arbitrary page freeing in the Linux kernel, potentially resulting in system instability, information disclosure, or privilege escalation. The high CVSS score indicates significant potential impact on the confidentiality, integrity, and availability of the affected system (NVD).

Exploitability

The vulnerability requires local access and low privileges to exploit. It was discovered and reported by Patrik Lantz, and the fix was developed by Sumit Garg with reviews from Tyler Hicks (Kernel Patch).

Mitigation and workarounds

The vulnerability has been fixed in the Linux kernel through a patch that modifies the page pointer handling in the OptEE driver. The fix involves changing how the page array is populated, preventing the incorrect progression of the page pointer. The patch has been merged into various stable kernel branches (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-89775CRITICAL9.3
  • Linux Kernel logoLinux Kernel
  • kernel-rt-debug-modules
NoNoSep 16, 2026
CVE-2026-89771HIGH7.8
  • Linux Kernel logoLinux Kernel
  • kernel-rt-modules-internal
NoNoSep 11, 2026
CVE-2026-89912HIGH7.1
  • Linux Kernel logoLinux Kernel
  • kernel-debug-modules-internal
NoYesSep 16, 2026
CVE-2026-89772HIGH7
  • Linux Kernel logoLinux Kernel
  • linux-hwe-7.0
NoNoSep 11, 2026
CVE-2026-89773MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • linux-xilinx
NoYesSep 11, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management