Request an assessment

// CVE · Published · Linux kernel

CVE-2026-99485Fix authored · not scored

Linux kernel amdxdna mailbox channel use-after-free and double free.

A failed mailbox channel start in the AMD XDNA NPU kernel driver left a pointer to freed memory, leading to a use-after-free and a double free on the context restart path. Found and fixed upstream by XSource.

Published
Product
Linux kernel, accel/amdxdna (AMD XDNA NPU driver)
Affected
Linux 7.0 to 7.3.1
Fixed in
Linux 7.4; Linux 7.3.2 stable
Credit
Eva Crystal (0xiviel), XSource Security

Summary

When starting a mailbox channel failed, aie2_create_context() in the AMD XDNA NPU driver freed the channel but left hwctx->priv->mbox_chann pointing at the freed memory. The driver uses that pointer as its test for a usable channel, so the stale value passed every NULL check.

Impact

On the context restart path (command timeout, resume) a live hardware context could keep the freed channel. The next job submission, a second timeout or closing the device then reached that channel: a use-after-free and a double free in the kernel.

Affected and fixed

  • Affected: Linux 7.0 up to 7.3.1 (since commit d5b8b0347fa8).
  • Fixed: Linux 7.4 (mainline commit 2117e3d96a4f) and Linux 7.3.2 stable (commit 35003a3a2221). The fix clears the pointer after the channel is freed.

Timeline

  • 14 Sep 2026: patch posted to dri-devel.
  • 16 Sep 2026: Reviewed-by from the AMD maintainer.
  • 17 Sep 2026: applied to drm-misc-next.
  • 24 Oct 2026: merged into mainline Linux (7.4).
  • 6 Nov 2026: released in Linux 7.3.2 stable.
  • 19 Nov 2026: CVE-2026-99485 published by the Linux kernel CNA.

Credit

Found, fixed and upstreamed by Eva Crystal (0xiviel), XSource Security. The fix commit is authored under her name; Linux kernel CVE records carry no separate credit field.

More disclosures

All disclosures →