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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
dbc8fd7a03cbc0704e8e558a448015f620547a02 to < c5b28fa97ba089db6a892e2af4bc6200ce451723affecteddbc8fd7a03cbc0704e8e558a448015f620547a02 to < 6a1f6cb7593aebcdb4f9022410622128fb23b1a1affected3f63f071bf82b44b9847b28ee9f3d98d973d327eaffected6.18.57 to < 6.19affected
Linux Linux
Default version status: affected
7.2affected0 to < 7.2unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected