FreeRTOS-Kernelのキュー選択処理に型検証の不備、MPU境界を越えて特権メモリに書き込まれるおそれ
Summary
FreeRTOS-Kernelのキューセット選択処理で型の検証が不足しており、ローカルの非特権タスクが特権カーネルのスタック上の特権メモリに、攻撃者が制御するデータを書き込めるおそれがあります。影響するのはバージョン7.4.0から11.3.2までで、MPUを有効にしたポートでキューセットを使うビルドです。修正版のV11.3.3への更新と再ビルド、影響を受けるファームウェアの書き換えが必要です。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
FreeRTOS-Kernelのキューセット選択処理で型の検証が不足しており、ローカルの非特権タスクが特権カーネルのスタック上の特権メモリに、攻撃者が制御するデータを書き込めるおそれがあります。影響するのはバージョン7.4.0から11.3.2までで、MPUを有効にしたポートでキューセットを使うビルドです。修正版のV11.3.3への更新と再ビルド、影響を受けるファームウェアの書き換えが必要です。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| FreeRTOSFreeRTOS-Kernel |
7.4.0 – 11.3.2→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
Missing queue-set type validation in the queue-set selection system call in FreeRTOS-Kernel before V11.3.3 on MPU-enabled ports with queue sets enabled allows a local unprivileged task to write actor-controlled data beyond a pointer-sized object on the privileged kernel stack, affecting privileged memory across the MPU isolation boundary.
To remediate this issue, users should upgrade to FreeRTOS-Kernel V11.3.3, rebuild, and reflash affected firmware. Builds that do not enable queue sets are not affected.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory aws.amazon.com
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- AWS aws.amazon.com
- patch github.com