[PATCH 0/2] drm/radeon: Fix off-by-one power_state index heap overwrite
From: Kees Cook
Date: Mon May 03 2021 - 01:06:23 EST
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