cve-ja
← 新着
CVE

低権限のログインで、解放済みのチャネルを二重に解放させるおそれ。

解放済みメモリの使用。対象は Linux kernel(7.3.2 未満・7.4-rc1 未満)。

CVE-2026-99485参考情報

一言・影響を受ける人・対策は AI(sonnet)が元の説明文から作成。版の番号などは元の文と機械で照合した。対応の前に元の告知を確かめてほしい。誤りに気づいたら運営者へ。

CVSS
7.0
High
CNA
悪用
未確認
CISA の一覧には無い
PoC
見つかっていない
11/26 時点
修正
修正版あり
7.3.2・7.4-rc1 以降
国内
まだ無い
同じ CVE 番号の記事を待っている
まずやること:Linux カーネルを 7.3.2 以降に更新する
公開
2026年11月19日
最終更新
2026年11月19日
優先度の理由
特定構成のみ
最終確認
2026年11月26日
EPSS
0.16%
PoC
見つかっていない
攻撃の条件
手元の操作・一般のログインが要る・相手の操作は要らない・既定でない設定のとき
国内
まだ無い

概要

低権限のログインで、解放済みのチャネルを二重に解放させるおそれ。

元の説明(英語)を読む

In the Linux kernel, the following vulnerability has been resolved: accel/amdxdna: clear the mailbox channel pointer when starting it fails aie2_create_context() allocates a mailbox channel, starts it, and on a failed start frees it again: hwctx->priv->mbox_chann = xdna_mailbox_alloc_channel(ndev->mbox); ... ret = xdna_mailbox_start_channel(hwctx->priv->mbox_chann, ...); if (ret) goto free_channel; ... free_channel: xdna_mailbox_free_channel(hwctx->priv->mbox_chann); hwctx->priv->mbox_chann keeps pointing at the freed channel. That pointer is the driver's own test for whether a hardware context has a usable channel: aie2_destroy_context() returns early on NULL, aie2_sched_job_run() refuses to run a job on NULL, and the message helpers return -ENODEV on NULL. A stale pointer passes all of them. It matters on the restart path. aie2_hwctx_restart() calls aie2_create_context() again on a hardware context that is already live, after aie2_hwctx_stop() has torn its channel down, and the context survives a failure there: aie2_sched_job_timedout() discards the return value entirely, and aie2_hwctx_resume() only propagates it. What is left is a live hardware context holding a freed channel, and every later user of it takes the non-NULL branch: - the next job submitted reaches xdna_mailbox_send_msg() on the freed channel, via the !mbox_chann guard in aie2_sched_job_run(), - a second command timeout reaches aie2_hwctx_stop() -> aie2_destroy_context(), - closing the device reaches aie2_hwctx_fini() -> aie2_release_resource() -> xrs_release_resource() -> aie2_xrs_unload() -> aie2_destroy_context(), and aie2_destroy_context() then calls xdna_mailbox_stop_channel() followed by xdna_mailbox_free_channel() on memory that was already freed: a use-after-free, and a second free of the same channel. The AIE4 management channel already does this correctly - aie4_mailbox_start() clears ndev->aie.mgmt_chann right after freeing it. Do the same here. The create path itself is not affected: when aie2_xrs_load() fails, xrs_allocate_resource() removes the solver node without calling ->unload, and aie2_hwctx_init() frees hwctx->priv, so the stale pointer never outlives the structure holding it. Starting a channel can fail today without this patch: the ring buffer sizes firmware reports are rejected unless both are powers of two, and request_irq() can fail.

影響を受ける人

amdxdna ドライバを使う Linux の利用者

対策

  • Linux カーネルを 7.3.2 以降に更新する

国内の動き

本文に同じ CVE 番号のある国内の注意喚起・報道は、まだ無い。

海外の動き

本文に同じ CVE 番号のある海外の注意喚起・報道は、まだ無い。

PoC

公開されている PoC は、まだ見つかっていない。

経過

2026年11月19日・一次情報
脆弱性が公開された

影響する版

Linux Linux範囲は告知を確認
Linux Linux7.3.2 未満が対象(7.3.2 で修正)・7.4-rc1 未満が対象(7.4-rc1 で修正)