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

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

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

When the DRM file descriptor is closed, amdxdna_client_cleanup() frees the client structure. If device BOs are still alive, freeing them may access abo->client and result in a use-after-free.

Move amdxdna_gem_heap_free(), which accesses abo->client, before clearing abo->client in the BO close callback. Also track the heap BOs referenced by device BOs so they can be accessed without dereferencing abo->client.

ProductVersions
Linux Linuxdbc8fd7a03cbc0704e8e558a448015f620547a02 to before c5b28fa97ba089db6a892e2af4bc6200ce451723 Affecteddbc8fd7a03cbc0704e8e558a448015f620547a02 to before 6a1f6cb7593aebcdb4f9022410622128fb23b1a1 Affected3f63f071bf82b44b9847b28ee9f3d98d973d327e Affected6.18.57 to before 6.19 Affected
Linux Linux7.2 Affectedbefore 7.2 Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.