Intel

AIKIDO-2026-506426

FreeRTOS.FreeRTOS-Kernel is vulnerable to Use After Free

Use After FreeCVE-2026-77235 Published 2 days ago

73

High Risk

This Affects:

C++FreeRTOS.FreeRTOS-Kernel
10.2.0 - 11.3.0
Fixed in 11.3.1
Are you affected? Scan for Free

TL;DR

On ARM TrustZone (ARMv8-M) configurations, SecureContext_FreeContext does not verify that the secure context being released belongs to a task that is no longer using it. An unprivileged Non-Secure task can free a secure context that is still active, leaving the task stack referencing deallocated secure-heap memory. Subsequent kernel operations write into the freed region and can corrupt other secure-heap allocations, causing crashes or unpredictable behavior. The fix adds a privilege and ownership check before the secure context is freed.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you build an ARM TrustZone (ARMv8-M) port with the MPU enabled that uses secure contexts.

Background info

FreeRTOS.FreeRTOS-Kernel is vulnerable to Use After Free in versions 10.2.0 - 11.3.0.

How to fix this

Upgrade the FreeRTOS.FreeRTOS-Kernel library to the patch version.