All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] mm: Fix kernel BUG in __check_heap_object() on PowerPC64
@ 2021-12-25 12:06 ` Kefeng Wang
  0 siblings, 0 replies; 15+ messages in thread
From: Kefeng Wang @ 2021-12-25 12:06 UTC (permalink / raw)
  To: Kees Cook, Laura Abbott, Mark Rutland, linux-mm, Andrew Morton,
	linux-kernel, Michael Ellerman, Benjamin Herrenschmidt,
	Paul Mackerras, linuxppc-dev
  Cc: Nicholas Piggin, Kefeng Wang

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


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2022-01-20 11:09 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-25 12:06 [PATCH v2 0/2] mm: Fix kernel BUG in __check_heap_object() on PowerPC64 Kefeng Wang
2021-12-25 12:06 ` Kefeng Wang
2021-12-25 12:06 ` [PATCH v2 1/2] powerpc: Fix virt_addr_valid() check Kefeng Wang
2021-12-25 12:06   ` Kefeng Wang
2022-01-08 11:58   ` Kefeng Wang
2022-01-11  4:37     ` Nicholas Piggin
2022-01-11  6:04       ` Christophe Leroy
2022-01-19  1:15         ` Kefeng Wang
2022-01-20  7:31           ` Christophe Leroy
2022-01-20 11:09             ` Kefeng Wang
2022-01-10  8:01   ` Christophe Leroy
2021-12-25 12:06 ` [PATCH v2 2/2] mm: usercopy: Warn vmalloc/module address in check_heap_object() Kefeng Wang
2021-12-25 12:06   ` Kefeng Wang
2021-12-26 17:33   ` Christophe Leroy
2021-12-28  4:51     ` Kefeng Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.