CVE-2026-139701

accel/amdxdna: Fix potential deadlock in BO open and close callbacks

Published Nov 30, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

accel/amdxdna: Fix potential deadlock in BO open and close callbacks

In amdxdna_gem_obj_open(), abo->lock is held when calling
amdxdna_gem_add_bo_usage(), which then acquires client->mm_lock.

However, the heap update path may acquire these locks in the reverse
order, creating a potential deadlock.

Fix this by saving the client pointer locally before acquiring abo->lock,
and releasing abo->lock before calling amdxdna_gem_add_bo_usage().

Apply the same change to amdxdna_gem_obj_close().

Analysis

AI-generated

Technical impact

The vulnerability arises from a lock ordering mismatch in the Linux kernel's amdxdna driver. While opening a buffer object, the routine obtains a lock on the object and then calls a function that acquires the client's memory management lock. The reverse order can occur during a heap update, potentially causing a deadlock that stalls kernel threads and may lead to a system hang or crash. This deadlock can be triggered by any process that interacts with the amdxdna device, so local users or privileged code could exploit it to disrupt system operation.

Affected Systems

All distributions of the Linux kernel that include the amdxdna driver before the patch are affected. The specific product is the Linux kernel, with any kernel version that contains the unloadable AMD XDNA driver module lacking the fix. Vendors supplying a kernel build that includes the driver without this patch are at risk.

Risk and Exploitability

No EPSS score is available, but the flaw touches core kernel synchronisation primitives, indicating high severity. The CVE is not listed in CISA KEV, yet the risk of causing a denial of service is significant because a deadlock in kernel space can halt services and require a reboot. The likely attack vector is local, through the amdxdna device interface, which is typically available to privileged or local users. The exploit does not require network access but can be amplified by a privileged process to deny service for the whole system.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the amdxdna deadlock fix
  • Reboot the system to load the updated kernel and clear any stalled threads
  • If the amdxdna driver is not required for your environment, unload or remove it to eliminate the vulnerability

Generated by OpenCVE AI on December 1, 2026 at 13:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-665
Type Values Removed Values Added
Weaknesses CWE-833
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-665
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: accel/amdxdna: Fix potential deadlock in BO open and close callbacks In amdxdna_gem_obj_open(), abo->lock is held when calling amdxdna_gem_add_bo_usage(), which then acquires client->mm_lock. However, the heap update path may acquire these locks in the reverse order, creating a potential deadlock. Fix this by saving the client pointer locally before acquiring abo->lock, and releasing abo->lock before calling amdxdna_gem_add_bo_usage(). Apply the same change to amdxdna_gem_obj_close().
Title accel/amdxdna: Fix potential deadlock in BO open and close callbacks
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:37 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:20 PM
Modified
Nov 30, 2026, 2:20 PM
Severity
Moderate
Public date
Nov 30, 2026, 1:37 PM