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

Kefeng Wang wangkefeng.wang at huawei.com
Sat Dec 25 23:06:19 AEDT 2021


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



More information about the Linuxppc-dev mailing list