CVE-2026-139774: accel/amdxdna: Fix possible use-after-free when freeing device BO

Published Nov 30, 2026
·
Updated

accel/amdxdna: Fix possible use-after-free when freeing device BO

Affected Software

5 affected componentsFixes available
Linux Linux kernel
linux/kernel>=6.18.57<6.19
6.19
linux/kernel>=7.2.0<7.3.6
7.3.6
debian/linux<7.3.6-1
7.3.6-1
debian/linux
7.3.6-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.19
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.6
  3. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 7.3.6-1
  4. Compensating control

    Track heap BOs referenced by device BOs so they can be accessed without dereferencing abo->client, and call amdxdna_gem_heap_free() before clearing the client structure.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:37 PM
Data Sourced
via MITRE·01:37 PM
Description
Data Sourced
via OSV·01:37 PM
DescriptionAffected Software
Data Sourced
via NVD·02:20 PM
Description

Frequently Asked Questions

1

When can the use-after-free occur?

It can occur after a DRM file descriptor is closed and amdxdna_client_cleanup() frees the client structure while device buffer objects remain alive. A later attempt to free one of those device BOs may access the freed client through abo->client.

2

What component and object lifetime condition are relevant for exposure?

The issue is in the Linux kernel amdxdna accelerator/DRM code path. Systems are relevant when device BOs can outlive the client associated with a closed DRM file descriptor, including device BOs that reference heap BOs.

3

What does the fix change?

The fix calls amdxdna_gem_heap_free() before abo->client is cleared in the BO close callback, because that function accesses the client. It also tracks heap BOs referenced by device BOs so they can be accessed without dereferencing abo->client.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203