Bug 2497458 (CVE-2026-41515)

Summary: CVE-2026-41515 optee_os: OP-TEE: Information disclosure via padding oracle in RSA-OAEP decryption
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
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) for Arm Cortex-A cores. The RSA-OAEP decryption implementation in the NXP CAAM crypto driver uses non-constant-time memory comparison for label hash verification, leading to multiple distinguishable error paths. This vulnerability creates a Manger-style padding oracle, which allows a local attacker to recover RSA-OAEP plaintext by performing approximately 1000-2000 adaptive chosen ciphertext queries.
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: 2497689    
Bug Blocks:    

Description OSIDB Bzimport 2026-07-06 20:02:21 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 3.9.0 and prior to version 4.11.0, the RSA-OAEP decryption implementation in the NXP CAAM 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. Version 4.11.0 contains a patch. As a workaround, disable the NXP CAAM RSA driver with `CFG_CRYPTO_DRV_RSA=n`.