本文へ移動
English version →
高 7.8

Zephyrの充電器ドライバーに脆弱性、一般ユーザーの権限でカーネル権限のコードを実行されるおそれ

CVE-2026-91007 SecPulse初出

概要

Zephyrの充電器ドライバーAPIで、ユーザーモードから渡された関数ポインターが検証されず、カーネル権限で実行される可能性があります。影響を受けるのは3.7.0以上4.3.2未満と4.4.0以上4.5.0未満で、修正版は4.3.2と4.5.0です。CONFIG_USERSPACEを使う環境は、修正版への更新を優先して確認してください。

AI要約

SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。

Zephyrの充電器ドライバーAPIで、ユーザーモードから渡された関数ポインターが検証されず、カーネル権限で実行される可能性があります。影響を受けるのは3.7.0以上4.3.2未満と4.4.0以上4.5.0未満で、修正版は4.3.2と4.5.0です。CONFIG_USERSPACEを使う環境は、修正版への更新を優先して確認してください。

影響パッケージ

パッケージ影響を受ける版 → 修正版
zephyrprojectzephyr
3.7.0 以上 4.3.2 未満→ 4.3.2
4.4.0 以上 4.5.0 未満→ 4.5.0
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。

The user-mode syscall verifiers for the charger driver API in drivers/charger/charger_handlers.c did not inspect the prop argument before copying union charger_propval across the user/kernel boundary. Two members of that union are function pointers — status_notification (CHARGER_PROP_STATUS_NOTIFICATION) and online_notification (CHARGER_PROP_ONLINE_NOTIFICATION), declared in include/zephyr/drivers/charger.h — and z_vrfy_charger_set_prop() forwarded the caller-supplied union verbatim to the driver's set_property callback for any property. z_vrfy_charger_get_prop() had the mirror defect and copied the stored kernel callback address back out to user memory.

With CONFIG_USERSPACE enabled, any user-mode thread that has been granted a charger device object could call charger_set_prop() with CHARGER_PROP_STATUS_NOTIFICATION or CHARGER_PROP_ONLINE_NOTIFICATION and an arbitrary pointer value. Drivers that implement these properties — drivers/charger/charger_max20335.c, drivers/charger/charger_pf1550.c and drivers/charger/charger_bq2518x.c — store the pointer in device data and later invoke it from their interrupt work handlers, which run in supervisor mode, on any charger state change such as a cable plug/unplug.

The result is a control-flow hijack at kernel privilege from an unprivileged thread, defeating the isolation that CONFIG_USERSPACE is meant to provide; the read path additionally disclosed a kernel code address to user mode, and clearing a notifier installed by a supervisor…

出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

参照URL

当サイトでは、アクセス解析と広告の効果測定のためにCookieを使います。株式会社Gameのサイト共通の設定です。 詳しく