diff options
author | 2024-04-04 23:33:25 +0300 | |
---|---|---|
committer | 2024-04-08 18:01:17 +0300 | |
commit | 3eadd887dbac1df8f25f701e5d404d1b90fd0fea (patch) | |
tree | a7bb4683acb225316a2a6639167869b511f3ad74 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | gpu: host1x: Do not setup DMA for virtual devices (diff) | |
download | wireguard-linux-3eadd887dbac1df8f25f701e5d404d1b90fd0fea.tar.xz wireguard-linux-3eadd887dbac1df8f25f701e5d404d1b90fd0fea.zip |
drm/client: Fully protect modes[] with dev->mode_config.mutex
The modes[] array contains pointers to modes on the connectors'
mode lists, which are protected by dev->mode_config.mutex.
Thus we need to extend modes[] the same protection or by the
time we use it the elements may already be pointing to
freed/reused memory.
Cc: stable@vger.kernel.org
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/10583
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240404203336.10454-2-ville.syrjala@linux.intel.com
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions