Skip to main content

AMD XDNA Driver EUVDEUVD-2026-130160

| CVE-2026-99485 HIGH
2026-11-19 Linux GHSA-2255-vxmv-hcqm
7.0
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Local access to amdxdna accel device
  2. Delivery
    Induce context restart with channel-start failure
  3. Exploit
    Driver retains freed mailbox channel pointer
  4. Execution
    Submit job or trigger context teardown
  5. Impact
    Use-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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Linux patch: 0
Linux 7.0
Linux d5b8b0347fa8470b751a506fb801797e271d7548 <35003a3a2221207ded92ca4c60a54c2f83136473
Linux d5b8b0347fa8470b751a506fb801797e271d7548 <2117e3d96a4fd1ee13fa28b31494ff5f5db6ccf4
Linux patch: 7.3.2
Linux patch: 7.4-rc1

Affected Packages

euvd linux no fix

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

Vendor (Linux) PRIMARY 7.0 HIGH
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

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).

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 4.7 MEDIUM

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Nov 22, 2026 - 11:22 NVD
7.0 (HIGH)
Patch available
Nov 19, 2026 - 16:18 EUVD
CVE Published
Nov 19, 2026 - 14:43 cve.org
HIGH 7.0
CVE Published
Nov 19, 2026 - 14:43 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Low
amdxdna is a niche driver, loads only on AMD XDNA/Ryzen AI NPU hardware
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy