Skip to main content
Vulnerability Database/CVE-2026-109587

CVE-2026-109587: FreeRTOS-Kernel Privilege Escalation

CVE-2026-109587 is a privilege escalation vulnerability in FreeRTOS-Kernel affecting Arm Cortex-R82 MPU port that allows unprivileged tasks to access kernel memory. This article covers technical details, affected versions, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-109587 Overview

CVE-2026-109587 is an incorrect authorization vulnerability [CWE-863] in the Arm Cortex-R82 (Armv8-R AArch64) Memory Protection Unit (MPU) port of the FreeRTOS-Kernel. The flaw affects FreeRTOS-Kernel versions V11.3.0 and V11.3.1 on MPU-enabled builds. An unprivileged task can pass a crafted buffer argument to an MPU system call and read or write privileged kernel memory outside its assigned regions. Successful exploitation breaks the task isolation guarantees that the MPU port is designed to enforce. The issue is resolved in FreeRTOS-Kernel V11.3.2.

Critical Impact

An unprivileged FreeRTOS task on an Armv8-R AArch64 (Cortex-R82) MPU build can read and write privileged kernel memory, enabling full compromise of the real-time operating system.

Affected Products

  • FreeRTOS-Kernel V11.3.0 (Arm Cortex-R82 / Armv8-R AArch64 MPU port, MPU-enabled builds)
  • FreeRTOS-Kernel V11.3.1 (Arm Cortex-R82 / Armv8-R AArch64 MPU port, MPU-enabled builds)
  • Downstream products embedding the affected FreeRTOS-Kernel MPU port on Cortex-R82 targets

Discovery Timeline

  • 2026-10-16 - CVE-2026-109587 published to NVD
  • 2026-10-20 - Last updated in NVD database

Technical Details for CVE-2026-109587

Vulnerability Analysis

FreeRTOS-Kernel provides an MPU port for Arm Cortex-R82 (Armv8-R AArch64) that separates unprivileged application tasks from the privileged kernel. System calls allow unprivileged tasks to request kernel services, and arguments passed across this boundary must be validated against the caller's permitted MPU regions. In the affected port, buffer arguments passed to MPU system calls are not correctly checked for authorization. A task can therefore supply a pointer that references privileged kernel memory, and the kernel will operate on that pointer while running at the privileged level. This defeats the memory isolation that the MPU port is intended to enforce on MPU-enabled builds.

Root Cause

The root cause is incorrect authorization [CWE-863] in the system call argument validation path of the Armv8-R AArch64 MPU port. The kernel accepts caller-supplied buffer addresses without verifying that the entire buffer lies within an MPU region accessible to the calling unprivileged task. Address and length checks are either missing or insufficient for the Cortex-R82 port.

Attack Vector

Exploitation requires local code execution as an unprivileged FreeRTOS task on an MPU-enabled build running on the Armv8-R AArch64 (Cortex-R82) port. The attacker invokes an MPU system call and passes a buffer argument whose address points into privileged kernel memory. The kernel services the call using that address, resulting in a read or write of kernel memory outside the task's regions. No user interaction is required.

No verified proof-of-concept code is available. See the GitHub Security Advisory GHSA-pv9j-rq42-3fjc and the FreeRTOS-Kernel Release V11.3.2 notes for technical details.

Detection Methods for CVE-2026-109587

Indicators of Compromise

  • Unexpected modifications to privileged kernel data structures, task control blocks, or MPU region configurations at runtime.
  • Faults, resets, or watchdog timeouts correlating with system call invocations from specific unprivileged tasks.
  • Firmware images or software bills of materials that list FreeRTOS-Kernel V11.3.0 or V11.3.1 with the Cortex-R82 MPU port enabled.

Detection Strategies

  • Inventory firmware builds and identify Cortex-R82 targets using FreeRTOS-Kernel V11.3.0 or V11.3.1 with configENABLE_MPU enabled.
  • Review application code paths that invoke MPU system calls with pointer or buffer arguments supplied by untrusted logic.
  • Enable kernel assertions and MPU fault handlers during integration testing to surface out-of-region accesses.

Monitoring Recommendations

  • Instrument privileged system call handlers to log the calling task identifier and the address range of buffer arguments during development and QA.
  • Monitor device telemetry for abnormal reset reasons, MPU faults, or integrity check failures that may indicate exploitation attempts in the field.
  • Track upstream FreeRTOS-Kernel security advisories and the AWS Security Bulletin 2026-138 for related updates.

How to Mitigate CVE-2026-109587

Immediate Actions Required

  • Upgrade FreeRTOS-Kernel to V11.3.2 or later on all Armv8-R AArch64 (Cortex-R82) targets using the MPU port.
  • Rebuild and reflash affected firmware images, and verify the kernel version string in the deployed binary.
  • Audit application code that invokes MPU system calls to confirm that buffer arguments originate from trusted memory regions.

Patch Information

The FreeRTOS project addressed the issue in FreeRTOS-Kernel Release V11.3.2. The fix corrects authorization checks on buffer arguments passed to MPU system calls in the Arm Cortex-R82 (Armv8-R AArch64) MPU port. Additional vendor guidance is available in AWS Security Bulletin 2026-138 and GitHub Security Advisory GHSA-pv9j-rq42-3fjc.

Workarounds

  • If upgrading immediately is not feasible, restrict which tasks can invoke MPU system calls and validate buffer pointers at the application layer before passing them to the kernel.
  • Reduce the attack surface by minimizing the amount of untrusted code running as unprivileged tasks on affected Cortex-R82 builds.
  • Where supported, disable the Armv8-R AArch64 MPU port features that are not required by the application until the kernel is updated.
bash
# Configuration example: pin FreeRTOS-Kernel to the fixed version
git -C FreeRTOS-Kernel fetch --tags
git -C FreeRTOS-Kernel checkout V11.3.2
# Verify the tag matches the fixed release
git -C FreeRTOS-Kernel describe --tags

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.