CyberRota Analysis
AI-GeneratedThe Hisilicon HPRE crypto driver in OP-TEE versions 4.5.0 to 4.10.0 is vulnerable due to a non-constant-time implementation of `memcmp()` used for label hash verification in RSA-OAEP decryption, which can lead to a padding oracle attack. This vulnerability allows an attacker to recover plaintext from RSA-OAEP with approximately 1000-2000 adaptive chosen ciphertext queries. Users of affected Linux and Oracle systems, particularly those utilizing the plat-d06 configuration with the Hisilicon HPRE driver enabled, should prioritize applying the patch in version 4.11.0 or disable the driver as a workaround.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
OP-TEE is a Trusted Execution Environment (TEE) designed as companion to a non-secure Linux kernel running on Arm; Cortex-A cores using the TrustZone technology. Starting in version 4.5.0 and prior to version 4.11.0, the RSA-OAEP decryption implementation in the Hisilicon HPRE crypto driver uses non-constant-time `memcmp()` for label hash verification and has multiple distinguishable error paths. This creates a Manger-style padding oracle that allows an attacker to recover RSA-OAEP plaintext with approximately 1000-2000 adaptive chosen ciphertext queries. Only affects plat-d06 with `CFG_HISILICON_ACC_V3=y`, which seems to be disabled by default. Version 4.11.0 contains a patch. As a workaround, disable Hisilicon HPRE RSA driver with `CFG_HISILICON_ACC_V3=n`.
Related CVEs
Other vulnerabilities affecting the same vendor(s)