Linux Kernelのamdxdnaドライバーに解放済みのメールボックスチャネルを使う脆弱性
概要
Linux Kernelのamdxdnaドライバーで、チャネルの開始に失敗したあとも解放済みのメールボックスチャネルを指すポインターが残り、解放済みのチャネルを使ってしまう問題です。影響するのは7.0.0以降7.3.2未満のKernelで、修正版は7.3.2です。CVSSは7.0で、公表から日が浅いため、修正版への更新を優先して進めてください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Linux Kernelのamdxdnaドライバーで、チャネルの開始に失敗したあとも解放済みのメールボックスチャネルを指すポインターが残り、解放済みのチャネルを使ってしまう問題です。影響するのは7.0.0以降7.3.2未満のKernelで、修正版は7.3.2です。CVSSは7.0で、公表から日が浅いため、修正版への更新を優先して進めてください。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| LinuxLinux | — | 記載なし |
| LinuxKernel |
7.0.0 以上 7.3.2 未満→ 7.3.2 |
7.3.2 |
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。
- BellSoft Alpaquita BELL-CVE-2026-99485
- Debian DEBIAN-CVE-2026-99485 linux 修正版あり
- Ubuntu UBUNTU-CVE-2026-99485 linux-vmware, linux-starfive-6.5, linux-starfive-6.2 ほか 118 件 この記録に修正版の記載なし
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
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(), - closin…
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory github.com
- advisory nvd.nist.gov
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web github.com