Bug 2497456 (CVE-2026-41514)

Summary: CVE-2026-41514 optee: OP-TEE: Information disclosure via padding oracle in RSA-OAEP decryption
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in OP-TEE, a Trusted Execution Environment (TEE) designed for Arm Cortex-A cores. The RSA-OAEP decryption implementation in the Hisilicon HPRE crypto driver uses a non-constant-time comparison function, creating a vulnerability known as a padding oracle. This allows a local attacker to potentially recover sensitive information, specifically RSA-OAEP plaintext, by performing a series of adaptive chosen ciphertext queries. This issue primarily affects systems where the Hisilicon HPRE RSA driver is explicitly enabled.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2497691    
Bug Blocks:    

Description OSIDB Bzimport 2026-07-06 20:02:12 UTC
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`.