diff options
author | John Harrison <John.C.Harrison@Intel.com> | 2022-03-01 16:33:57 -0800 |
---|---|---|
committer | John Harrison <John.C.Harrison@Intel.com> | 2022-03-03 15:03:12 -0800 |
commit | e1dd871442c05ad5f53bc1eac22f71b53eb48a8a (patch) | |
tree | a535592aedfef9adbe23331262d07c1f7d6e5720 /drivers/gpu/drm/i915/gt/intel_engine_types.h | |
parent | drm/i915/guc: Drop obsolete H2G definitions (diff) | |
download | wireguard-linux-e1dd871442c05ad5f53bc1eac22f71b53eb48a8a.tar.xz wireguard-linux-e1dd871442c05ad5f53bc1eac22f71b53eb48a8a.zip |
drm/i915/guc: Fix potential invalid pointer dereferences when decoding G2Hs
Some G2H handlers were reading the context id field from the payload
before checking the payload met the minimum length required.
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220302003357.4188363-9-John.C.Harrison@Intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/gt/intel_engine_types.h')
0 files changed, 0 insertions, 0 deletions