diff options
| author | Lizhi Hou <lizhi.hou@amd.com> | 2026-07-07 13:15:56 -0700 |
|---|---|---|
| committer | Lizhi Hou <lizhi.hou@amd.com> | 2026-07-07 20:49:28 -0700 |
| commit | c69dbbf0212734e22219dfc31c0922bd7c9ffbb0 (patch) | |
| tree | 4bfbbbe6d0260f8f5bf765c963d57825e7cd990c /drivers/gpu | |
| parent | 44d8fddf1c87d6bb6b65983041a0ce6c2af66bb9 (diff) | |
accel/amdxdna: Fix potential NULL pointer dereference of abo->client
Closing a BO handle clears abo->client, while the underlying GEM object
may remain alive due to internal kernel references. As a result, code
executed after the BO handle is closed may dereference a NULL abo->client
pointer.
Remove accesses to abo->client from code paths that may execute after the
BO handle has been closed.
Fixes: d76856beb4a4 ("accel/amdxdna: Refactor GEM BO handling and add helper APIs for address retrieval")
Reviewed-by: Max Zhen <max.zhen@amd.com>
Signed-off-by: Lizhi Hou <lizhi.hou@amd.com>
Link: https://patch.msgid.link/20260707201556.562191-1-lizhi.hou@amd.com
Diffstat (limited to 'drivers/gpu')
0 files changed, 0 insertions, 0 deletions
