diff options
| author | Lucas De Marchi <[email protected]> | 2025-11-18 19:08:11 +0000 |
|---|---|---|
| committer | Lucas De Marchi <[email protected]> | 2025-11-25 19:53:28 +0000 |
| commit | 0e234632e39bd21dd28ffc9ba3ae8eec4deb949c (patch) | |
| tree | c000fdcd39f62c76dd233206bad18682199efa7a /lib/test_fortify/write_overflow-strlcpy-src.c | |
| parent | drm/xe/guc: Fix resource leak in xe_guc_ct_init_noalloc() (diff) | |
| download | kernel-0e234632e39bd21dd28ffc9ba3ae8eec4deb949c.tar.gz kernel-0e234632e39bd21dd28ffc9ba3ae8eec4deb949c.zip | |
drm/xe/guc: Fix stack_depot usage
Add missing stack_depot_init() call when CONFIG_DRM_XE_DEBUG_GUC is
enabled to fix the following call stack:
[] BUG: kernel NULL pointer dereference, address: 0000000000000000
[] Workqueue: drm_sched_run_job_work [gpu_sched]
[] RIP: 0010:stack_depot_save_flags+0x172/0x870
[] Call Trace:
[] <TASK>
[] fast_req_track+0x58/0xb0 [xe]
Fixes: 16b7e65d299d ("drm/xe/guc: Track FAST_REQ H2Gs to report where errors came from")
Tested-by: Sagar Ghuge <[email protected]>
Cc: [email protected] # v6.17+
Reviewed-by: Stuart Summers <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Lucas De Marchi <[email protected]>
(cherry picked from commit 64fdf496a6929a0a194387d2bb5efaf5da2b542f)
Signed-off-by: Lucas De Marchi <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions
