| タイトル | LinaroのOP-TEE Trusted OSにおける整数オーバーフローの脆弱性 |
|---|---|
| 概要 | OP-TEEは、TrustZoneテクノロジーを使用するArm Cortex-Aコア上で動作する非セキュアなLinuxカーネルのためのトラステッド・エクスキューション・エンバイロメント(TEE)です。バージョン3.8.0から4.10までの間、core/drivers/crypto/crypto_api/acipher/rsassa.c内の関数emsa_pkcs1_v1_5_encode()において、「PSサイズ」と呼ばれる必要なパディング量は、鍵の法のサイズからダイジェストやEMA-PKCS1-v1_5エンコーディングに必要な他のフィールドのサイズを引くことで計算されます。非常に小さい法を選択すると、この減算でオーバーフローが発生する可能性があります。パディングはmemset()関数を使用して0xFFバイトの連続として追加されますが、符号なし整数のアンダーフローによりmemset()の呼び出しが過剰に書き込みを行い、結果としてOP-TEEがクラッシュする原因となります。これはRSAアクセラレーションを登録しているプラットフォームにのみ影響を与えます。 |
| 想定される影響 | 当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 また、当該ソフトウェアが扱う情報について、書き換えは発生しません。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| 対策 | 正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年4月24日0:00 |
| 登録日 | 2026年4月30日11:03 |
| 最終更新日 | 2026年4月30日11:03 |
| CVSS3.0 : 重要 | |
| スコア | 7.5 |
|---|---|
| ベクター | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Linaro |
| OP-TEE Trusted OS 3.8.0 から 4.10.0 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年04月30日] 掲載 |
2026年4月30日11:03 |
| 概要 | 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. From 3.8.0 to 4.10, in the function emsa_pkcs1_v1_5_encode() in core/drivers/crypto/crypto_api/acipher/rsassa.c, the amount of padding needed, "PS size", is calculated by subtracting the size of the digest and other fields required for the EMA-PKCS1-v1_5 encoding from the size of the modulus of the key. By selecting a small enough modulus, this subtraction can overflow. The padding is added as a string of 0xFF bytes with a call to memset(), and an underflowed integer will cause the memset() call to overwrite until OP-TEE crashes. This only affects platforms registering RSA acceleration. |
|---|---|
| 公表日 | 2026年4月25日4:17 |
| 登録日 | 2026年4月26日4:07 |
| 最終更新日 | 2026年4月29日0:48 |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:o:linaro:op-tee:*:*:*:*:*:*:*:* | 3.8.0 | 4.10.0 | |||