summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorLizhi Hou <lizhi.hou@amd.com>2026-02-05 22:03:06 -0800
committerLizhi Hou <lizhi.hou@amd.com>2026-02-23 09:24:15 -0800
commit8363c02863332992a1822688da41f881d88d1631 (patch)
tree8ffd3ebe39e8407e13c9472118e3cfc04cb53398 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parentc68a6af400ca80596e8c37de0a1cb564aa9da8a4 (diff)
accel/amdxdna: Fix crash when destroying a suspended hardware context
If userspace issues an ioctl to destroy a hardware context that has already been automatically suspended, the driver may crash because the mailbox channel pointer is NULL for the suspended context. Fix this by checking the mailbox channel pointer in aie2_destroy_context() before accessing it. Fixes: 97f27573837e ("accel/amdxdna: Fix potential NULL pointer dereference in context cleanup") Reviewed-by: Karol Wachowski <karol.wachowski@linux.intel.com> Signed-off-by: Lizhi Hou <lizhi.hou@amd.com> Link: https://patch.msgid.link/20260206060306.4050531-1-lizhi.hou@amd.com
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions