diff options
| author | Lizhi Hou <lizhi.hou@amd.com> | 2026-05-29 08:28:37 -0700 |
|---|---|---|
| committer | Lizhi Hou <lizhi.hou@amd.com> | 2026-06-03 11:45:47 -0700 |
| commit | 5d12ef71fbfd3b46c1319074e50f814215ae7f3b (patch) | |
| tree | 51ebce548dfc9f9d7af587719e58b669a6957a11 /include/linux/debugobjects.h | |
| parent | 90ae44d1e1bc67e8f6ceef56f184047c5fe775c7 (diff) | |
accel/amdxdna: Remove drv_cmd tracing from job free callback
aie2_sched_job_free() accesses job->drv_cmd for tracing purposes. However,
job->drv_cmd is owned by the caller and may already have been freed when
the job free callback runs, leading to a potential use-after-free.
Remove the job->drv_cmd access from aie2_sched_job_free().
Fixes: 8711eb2dde2e ("accel/amdxdna: Improve tracing for job lifecycle and mailbox RX worker")
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Signed-off-by: Lizhi Hou <lizhi.hou@amd.com>
Link: https://patch.msgid.link/20260529152837.1973405-1-lizhi.hou@amd.com
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
