[PATCH v5 0/6] Series from memory leak on qxl unbind
Óscar Megía López <[email protected]>
| Newsgroups | dev.linux.lists.linux-kernel-mentees,org.freedesktop.lists.dri-devel,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
This is a series of bugs that leak memory on qxl unbind.
For test you must apply first ("[PATCH v3] drm/qxl: fix use-after-free
in qxl_irq_handler on PCI") because if not, you will get
"---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---".
Link: https://lore.kernel.org/lkml/
[email protected]/
Óscar Megía López (6):
Memory leak error in qxl unbind
list_lru_init() does not check return value
ttm_pool_fini() does not destroy list lru
ttm_pool_type_init() does not check return value
ttm_pool_mgr_fini() does not destroy the list_lru
ttm_pool_mgr_init() does not check return value
drivers/gpu/drm/ttm/ttm_device.c | 4 +-
drivers/gpu/drm/ttm/ttm_pool.c | 194 +++++++++++++++++++++++++------
include/drm/ttm/ttm_pool.h | 2 +-
3 files changed, 161 insertions(+), 39 deletions(-)
--
2.55.0