[PATCH 0/2] drm/radeon: Fix off-by-one power_state index heap overwrite
Kees Cook
keescook at chromium.org
Mon May 3 05:06:06 UTC 2021
Hi,
This is an attempt at fixing a bug[1] uncovered by the relocation of
the slab freelist pointer offset, as well as some related clean-ups.
I don't have hardware to do runtime testing, but it builds. ;)
-Kees
[1] https://bugzilla.kernel.org/show_bug.cgi?id=211537
Kees Cook (2):
drm/radeon: Fix off-by-one power_state index heap overwrite
drm/radeon: Avoid power table parsing memory leaks
drivers/gpu/drm/radeon/radeon_atombios.c | 26 ++++++++++++++++--------
1 file changed, 18 insertions(+), 8 deletions(-)
--
2.25.1
More information about the amd-gfx
mailing list