diff options
| author | Mario Limonciello <mario.limonciello@amd.com> | 2025-02-28 22:18:14 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-03-10 20:30:51 +0300 |
| commit | 725a04ba5a95e89c89633d4322430cfbca7ce128 (patch) | |
| tree | 5870e2d012378d00981160dcbf06bbdc74ab353a /tools/perf/scripts/python/libxed.py | |
| parent | 29c1c20496a7a9bafe2bc2f833d69aa52e0f2c2d (diff) | |
| download | linux-725a04ba5a95e89c89633d4322430cfbca7ce128.tar.xz | |
drm/amd/display: Fix slab-use-after-free on hdcp_work
[Why]
A slab-use-after-free is reported when HDCP is destroyed but the
property_validate_dwork queue is still running.
[How]
Cancel the delayed work when destroying workqueue.
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4006
Fixes: da3fd7ac0bcf ("drm/amd/display: Update CP property based on HW query")
Cc: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
