Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLocal access to amdxdna accel device
-
DeliveryInduce context restart with channel-start failure
-
ExploitDriver retains freed mailbox channel pointer
-
ExecutionSubmit job or trigger context teardown
-
ImpactUse-after-free and double-free in kernel memory
Vulnerability Assessment
| Exploitation Conditions | Requires: (1) the amdxdna kernel driver loaded on a system with AMD XDNA/Ryzen AI NPU hardware; (2) local access (PR:L) to the accel/DRM device sufficient to submit jobs to a hardware context; and (3) a failure of xdna_mailbox_start_channel() specifically on the restart path (aie2_hwctx_restart via timeout/resume), where aie2_create_context() is called on an already-live context. Per the commit, a channel start can fail when firmware reports ring-buffer sizes that are not both powers of two, or when request_irq() fails. LIMITING factors: the create path itself is NOT affected (cleanup frees the enclosing structure); the triggering start-failure is a firmware/resource condition not directly controlled by the attacker (hence AC:H); the vector is local only (AV:L), requires some privilege (PR:L), and the specific NPU hardware and driver must be present, which sharply narrows real-world exposure. |
| Impact | Signals are consistent and point to a genuine but low-urgency, hard-to-reach bug. The CVSS 3.1 vector (AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H, base 7.0) describes a local, authenticated, high-complexity flaw with high impact to confidentiality, integrity and availability - a classic kernel use-after-free/double-free profile, not a remotely reachable issue. EPSS is very low (0.16%, 5th percentile) and the bug is NOT on CISA KEV, so there is no evidence of active exploitation. No PoC or exploit reference appears in the input - only the two kernel.org fix commits and the NVD page. The vuln.today decision label is 'this_week', which is a patch-management priority, not an emergency; that is coherent with a high-severity-but-low-exploitability memory bug. The one point to verify is reach: the AC:H reflects that triggering requires a channel-start failure on the restart path that the attacker does not directly control (firmware reporting non-power-of-two ring-buffer sizes, or request_irq() failing), so a straightforward local user cannot reliably force the condition. Net: a real correctness defect worth patching in routine cycles, not a priority fire - the high CVSS is driven by impact, while every exploitation signal (EPSS, no KEV, no PoC, AC:H, local vector) indicates low real-world risk. |
| Exploit ScenarioDerived | A local user with access to the AMD XDNA accel device operates on a hardware context whose channel restart fails (e.g. firmware reports ring-buffer sizes that are not powers of two, or request_irq() fails), leaving the driver holding a pointer to a freed mailbox channel. Subsequent job submission, a command timeout, or device close then reaches xdna_mailbox_stop_channel()/free on already-freed memory, producing a use-after-free and a second free that can corrupt kernel memory. No public exploit is identified at time of analysis, and the high attack complexity means the triggering failure is not directly attacker-controlled. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 22, 2026
Use-after-free and double-free in the Linux kernel accel/amdxdna driver leave a hardware context holding a mailbox channel pointer to memory that was already released, because aie2_create_context() frees the channel after a failed xdna_mailbox_start_channel() but never clears hwctx->priv->mbox_chann. The stale pointer defeats every NULL-based guard in the driver (aie2_destroy_context, aie2_sched_job_run, the message helpers), so the next job submission, a second command timeout, or closing the device reaches xdna_mailbox_stop_channel() and xdna_mailbox_free_channel() on freed memory. Systems running the amdxdna accel driver against AMD XDNA/Ryzen AI NPU hardware are affected, and the restart path (aie2_hwctx_restart, reached via timeout or resume) is where the failure must occur; a channel start can fail today when firmware reports ring-buffer sizes that are not both powers of two, or when request_irq() fails. The bug is local-only, requires some privilege and a start failure not directly under attacker control, no public exploit has been identified at time of analysis, and EPSS is 0.16% (5th percentile); priority is to fold the fix into this week's patch cycle rather than treat it as an emergency.
RemediationAI
Vendor-released patch: apply the upstream fixes at commit 35003a3a2221207ded92ca4c60a54c2f83136473 or 2117e3d96a4fd1ee13fa28b31494ff5f5db6ccf4 (https://git.kernel.org/stable/c/35003a3a2221207ded92ca4c60a54c2f83136473, https://git.kernel.org/stable/c/2117e3d96a4fd1ee13fa28b31494ff5f5db6ccf4), which are shipped in Linux 7.3.2 and 7.4-rc1 or later; the change simply sets hwctx->priv->mbox_chann to NULL right after xdna_mailbox_free_channel() in aie2_create_context(), matching what aie4_mailbox_start() already does for the AIE4 management channel. Kernels tracking stable should update to a release containing the backport, and downstream distributions running 7.0-era kernels need to confirm the commit is present in their amdxdna build rather than assuming it from the version string alone. No vendor-documented workaround accompanies the commit; where patching must be deferred, the only exposure-removing compensating measure evidenced by the affected code path is to avoid loading or binding the amdxdna driver on hosts without a patched kernel (for example by blacklisting the module), with the trade-off that AMD XDNA/Ryzen AI NPU acceleration is lost entirely and no partial mitigation is described. The trigger itself is a firmware-reported ring-buffer size condition or a request_irq() failure on the restart path, neither of which is controllable from userspace, so there is no configuration switch that reliably avoids it while keeping the NPU in use.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw lives in the AMD XDNA (amdxdna) accelerator driver in drivers/accel/amdxdna, which services AMD XDNA/Ryzen AI NPU hardware over a mailbox transport; each hardware context owns an mbox_chann allocated with xdna_mailbox_alloc_channel() and activated with xdna_mailbox_start_channel(). No CWE identifier was supplied with this record, but the behaviour described is a classic memory-safety defect pair: dangling-pointer use-after-free plus double-free. In aie2_create_context(), the error path jumps to free_channel and calls xdna_mailbox_free_channel() without nulling the struct field, so the field becomes the driver's only liveness test and it lies. The restart flow is what makes the dangling reference reachable: aie2_hwctx_restart() re-enters aie2_create_context() on a context that aie2_hwctx_stop() already tore down, and both of its callers tolerate failure - aie2_sched_job_timedout() discards the return value outright and aie2_hwctx_resume() merely propagates it - so the context survives in a live-but-poisoned state. The commit notes the AIE4 management channel already handles this correctly (aie4_mailbox_start() clears ndev->aie.mgmt_chann immediately after freeing), and that the initial create path is not affected because aie2_xrs_load() failure causes xrs_allocate_resource() to remove the solver node without invoking ->unload, and aie2_hwctx_init() frees hwctx->priv so the stale pointer cannot outlive its enclosing structure.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Local accel-device access gives PR:L/AV:L; the required channel-start failure is not attacker-controlled, so AC:H; UAF/double-free corrupts kernel memory, yielding C:H/I:H/A:H, same system (S:U).
Primary rating from Vendor (Linux).
CVSS VectorVendor: Linux
Lifecycle Timeline
4DescriptionCVE.org
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.
Executive ViewAI
A high-severity memory-safety flaw in the Linux kernel's AMD XDNA/Ryzen AI NPU accelerator driver (amdxdna) can allow a privileged local user to corrupt kernel memory and potentially crash or compromise systems equipped with AMD NPU hardware. Leadership should care because this touches emerging AI-capable endpoints and servers entering the fleet, and although exploitation prerequisites are constrained, any affected asset running untrusted local workloads carries elevated risk until patched.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-130160
GHSA-2255-vxmv-hcqm
NVD
CVE.org
EPSS
VulDB
Exploit-DB