Bug 2497695 - CVE-2026-40257 optee_os: OP-TEE: Memory corruption due to heap overflow in ARM Crypto Extensions SHA-3 implementation [fedora-all]
Summary: CVE-2026-40257 optee_os: OP-TEE: Memory corruption due to heap overflow in AR...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: optee_os
Version: 45
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Enric Balletbo i Serra
QA Contact:
URL:
Whiteboard: {"flaws": ["7cf0f7f6-f4d8-4fc0-8684-e...
Depends On:
Blocks: CVE-2026-40257
TreeView+ depends on / blocked
 
Reported: 2026-07-07 12:29 UTC by Keith Grant
Modified: 2026-08-17 15:15 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Keith Grant 2026-07-07 12:29:53 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.21.0 and prior to version 4.11.0, the ARM Crypto Extensions accelerated SHA-3 implementation has an off-by-one error that can cause a massive heap overflow that corrupts all TEE kernel memory following the hash state. This affects all platforms built with `CFG_CRYPTO_WITH_CE82=y` (ARMv8.2+ with SHA3 Crypto Extensions). Version 4.11.0 contains a patch. As a workaround, disable SHA3 Crypto Extensions with `CFG_CRYPTO_WITH_CE82=n`.

Comment 1 Aoife Moloney 2026-08-17 15:15:30 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.


Note You need to log in before you can comment on or make changes to this bug.