diff options
| author | David Francis <David.Francis@amd.com> | 2026-07-21 09:30:07 -0400 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-07-28 19:59:22 -0400 |
| commit | a9cdc85839e4fe2c760aa4ca6cc341c31ad1918a (patch) | |
| tree | c76098a970b171ac94bc06f738d5371fbd8a4b4f /tools/perf/scripts/python | |
| parent | 0ebf413b444ba22a6422f750c48509d4e91f8555 (diff) | |
drm/amdkfd: Handle invalid event type in CRIU event restore
In kfd_criu_restore_event, there was no handling for
the event priv data having an invalid event type. The priv
data here is untrusted and can be invalid.
In that case, fail with EINVAL.
Signed-off-by: David Francis <David.Francis@amd.com>
Reviewed-by: Kent Russell <kent.russell@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 2e8e9963cd5c41aa14fd5316bf9ec92e7a0e3097)
Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
