CVE-2026-139630

accel/amdxdna: Preallocate hardware context schedulers

Published Nov 30, 2026 CVSS 3.1 · 7.1 High EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

accel/amdxdna: Preallocate hardware context schedulers

The hardware context scheduler fence is exposed through
drm_syncobj_add_point(). After a hardware context is destroyed,
userspace can still call drm_sched_fence_get_timeline_name() on the
fence through SYNC_IOC_FILE_INFO. This results in a use-after-free
when accessing fence->sched->name.

Preallocate hardware context schedulers and free them during device
teardown instead. A destroyed hardware context no longer frees its
scheduler, ensuring that the scheduler remains valid while its fences
are still accessible.

Analysis

AI-generated

Technical impact

A use‑after‑free flaw exists in the Linux kernel's accel/amdxdna driver. When a hardware context is destroyed, the associated scheduler remains freeable. Userspace can still call drm_sched_fence_get_timeline_name() via SYNC_IOC_FILE_INFO on a fence whose scheduler name pointer has been freed, causing the driver to dereference an invalid pointer. This dereference corrupts kernel memory and typically results in a kernel crash. The vulnerability is local to the system and does not require remote code execution.

Affected Systems

All Linux kernel builds that include the accel/amdxdna DRM driver without the patch commit, regardless of architecture, are affected. Any distribution shipping an unpatched kernel that loads this driver creates hardware contexts is vulnerable until the kernel is updated.

Risk and Exploitability

The CVE does not have an EPSS score and is not listed in CISA's KEV catalog, indicating that no public exploitation data is available. Nevertheless, the flaw allows a local attacker—one who can create and destroy a hardware context—to trigger a kernel memory corruption that usually leads to a crash. Because the issue directly impacts kernel stability, it should be treated as a high‑severity problem, and relies on local privileges to reproduce.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel update that includes the accel/amdxdna patch (commit d7957565e05797d1eb3ba7d3c585af17303d4717).
  • If a kernel update cannot be applied immediately, unload or blacklist the accel/amdxdna DRM driver to prevent hardware context creation until a fixed kernel is available.
  • Monitor system logs for kernel panics or DRM‑related error messages to confirm that the issue has been resolved and to detect any residual instability.

Generated by OpenCVE AI on December 1, 2026 at 03:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics cvssV3_1

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

Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: accel/amdxdna: Preallocate hardware context schedulers The hardware context scheduler fence is exposed through drm_syncobj_add_point(). After a hardware context is destroyed, userspace can still call drm_sched_fence_get_timeline_name() on the fence through SYNC_IOC_FILE_INFO. This results in a use-after-free when accessing fence->sched->name. Preallocate hardware context schedulers and free them during device teardown instead. A destroyed hardware context no longer frees its scheduler, ensuring that the scheduler remains valid while its fences are still accessible.
Title accel/amdxdna: Preallocate hardware context schedulers
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
Dec 1, 2026, 5:42 AM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Dec 1, 2026, 6:17 AM
Severity
Moderate
Public date
Nov 30, 2026, 1:36 PM