[PATCH v2 0/2] mm: Fix kernel BUG in __check_heap_object() on PowerPC64

From: Kefeng Wang
Date: Sat Dec 25 2021 - 06:57:06 EST


v2:
- Fix powerpc virt_addr_valid() instead of workaround in
check_heap_object(), suggested by Christophe and Nicholas
- Add WARN_ON in check_heap_object() incase of virt_addr_valid is
insufficient on some archs

Kefeng Wang (2):
powerpc: Fix virt_addr_valid() check
mm: usercopy: Warn vmalloc/module address in check_heap_object()

arch/powerpc/include/asm/page.h | 5 ++++-
mm/usercopy.c | 2 ++
2 files changed, 6 insertions(+), 1 deletion(-)

--
2.26.2