diff options
| author | Katya Orlova <[email protected]> | 2024-02-16 15:50:40 +0300 |
|---|---|---|
| committer | Raphael Gallais-Pou <[email protected]> | 2024-07-15 10:22:30 +0200 |
| commit | 19dd9780b7ac673be95bf6fd6892a184c9db611f (patch) | |
| tree | bbe5b66ca919068f60e26c7fc2bad454e43e4b24 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | fd39730c58890cd7f0a594231e19bb357f28877c (diff) | |
drm/stm: Avoid use-after-free issues with crtc and plane
ltdc_load() calls functions drm_crtc_init_with_planes(),
drm_universal_plane_init() and drm_encoder_init(). These functions
should not be called with parameters allocated with devm_kzalloc()
to avoid use-after-free issues [1].
Use allocations managed by the DRM framework.
Found by Linux Verification Center (linuxtesting.org).
[1]
https://lore.kernel.org/lkml/u366i76e3qhh3ra5oxrtngjtm2u5lterkekcz6y2jkndhuxzli@diujon4h7qwb/
Signed-off-by: Katya Orlova <[email protected]>
Acked-by: Raphaƫl Gallais-Pou <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Raphael Gallais-Pou <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions