diff options
author | Krzysztof Niemiec <[email protected]> | 2024-08-01 17:40:48 +0200 |
---|---|---|
committer | Andi Shyti <[email protected]> | 2024-08-05 23:10:46 +0100 |
commit | fceff12e52985e49c464f402e11b2f97bce3cc24 (patch) | |
tree | e562322df9774481d0464c0ee2dfe0112a1fee0b /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 843f10ce6539cd5e4989415e18cb809f4cff8b91 (diff) |
drm/i915/gt: Empty uabi engines list during intel_engines_release()
While the uabi_engines_llist is populated in intel_engines_init() during
driver load, the corresponding function intel_engines_release() does not
correctly get rid of it. This can lead to a UAF if, after failed
initialization (for example when gt is set wedged on init), we try to
access the engines.
Suggested-by: Chris Wilson <[email protected]>
Signed-off-by: Krzysztof Niemiec <[email protected]>
Reviewed-by: Andi Shyti <[email protected]>
Signed-off-by: Andi Shyti <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions