Eclipse ThreadXでCortex-A7の範囲検査が先頭アドレスのみ確認され不正なメモリ読み書きのおそれ
Summary
Eclipse ThreadXのCortex-A7向けMMUモジュールでは、呼び出し元が指定したバッファ範囲の検査が先頭1バイトしか行われません。このため、保護されたモジュールの特権処理により範囲全体が読み書きされるおそれがあります。影響は Eclipse ThreadX 6.1 以降から 6.5.1.202602a までです。修正版の有無については最新の情報を確認してください。
AI summary
Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.
Eclipse ThreadXのCortex-A7向けMMUモジュールでは、呼び出し元が指定したバッファ範囲の検査が先頭1バイトしか行われません。このため、保護されたモジュールの特権処理により範囲全体が読み書きされるおそれがあります。影響は Eclipse ThreadX 6.1 以降から 6.5.1.202602a までです。修正版の有無については最新の情報を確認してください。
Affected packages
| Ecosystem | Package | Affected | Fixed |
|---|---|---|---|
| Eclipse Foundation | Eclipse ThreadX |
6.1 – 6.5.1.202602a |
— |
Original description The description as published by the source.
The Cortex-A7 MMU Modules port validates a caller-supplied buffer by translating one address — the first byte. The common Module Manager hands its range check the module instance, the start address and the complete byte size; the Cortex-A7 implementation discarded the instance and the size and asked the MMU a single question about the start.
A memory-protected module therefore passed any range whose first byte was user-readable, however far the rest of it reached. Privileged dispatch code then read or wrote the whole range. Because every protected-module dispatcher that consumes a buffer or an extra-parameter array goes through this one macro, the defect is not in any individual service: it is in the primitive all of them rely on.
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov