CVE-2026-139630: accel/amdxdna: Preallocate hardware context schedulers
accel/amdxdna: Preallocate hardware context schedulers
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.66 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.6 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.6-1 - Compensating control
In the Linux kernel's accel/amdxdna driver, preallocate hardware context schedulers and free them during device teardown so schedulers remain valid while their fences are accessible.
Event History
Frequently Asked Questions
What access is needed to trigger the use-after-free?
A userspace client must be able to create or access a hardware-context scheduler fence, destroy the associated hardware context, and then query fence information through SYNC_IOC_FILE_INFO. The unsafe access occurs when the kernel retrieves the scheduler timeline name from that still-accessible fence.
Which systems are exposed?
Exposure is limited to Linux kernel systems using the AMD XDNA accelerator driver and its hardware contexts. The issue depends on fences being exposed through drm_syncobj_add_point() and remaining accessible after their hardware context is destroyed.
How does the fix prevent the issue?
The fix preallocates hardware-context schedulers and delays freeing them until device teardown. This keeps the scheduler valid for as long as userspace can access fences associated with a destroyed hardware context.