mbox series

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

Message ID 20211225120621.13908-1-wangkefeng.wang@huawei.com (mailing list archive)
Headers show
Series mm: Fix kernel BUG in __check_heap_object() on PowerPC64 | expand

Message

Kefeng Wang Dec. 25, 2021, 12:06 p.m. UTC
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(-)