diff options
author | 2022-05-23 13:35:41 +0200 | |
---|---|---|
committer | 2022-05-23 14:37:27 -0400 | |
commit | 6b03816f869529393b37d03e5d75b68f7365a7a4 (patch) | |
tree | 69a2ab0ae1dd409b70f42df2e779dbd5b0c2aadd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Revert "dt-bindings:drm/bridge:anx7625: add port@0 property" (diff) | |
download | linux-dev-6b03816f869529393b37d03e5d75b68f7365a7a4.tar.xz linux-dev-6b03816f869529393b37d03e5d75b68f7365a7a4.zip |
drm/nouveau: clear output poll workers before nouveau_fbcon_destroy()
Resources needed for output poll workers are destroyed in
nouveau_fbcon_fini() before output poll workers are cleared in
nouveau_display_fini(). This means there is a time between fbcon_fini()
and display_fini(), where if output poll happens, it crashes.
This patch introduces another output poll clearing before fbcon
resources are destroyed.
BUG: KASAN: use-after-free in
__drm_fb_helper_initial_config_and_unlock.cold+0x1f3/0x291
[drm_kms_helper]
Cc: Ben Skeggs <bskeggs@redhat.com>
Cc: Karol Herbst <kherbst@redhat.com>
Cc: Lyude Paul <lyude@redhat.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: dri-devel@lists.freedesktop.org
Cc: nouveau@lists.freedesktop.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Mark Menzynski <mmenzyns@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220523113541.10562-1-mmenzyns@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions