All of lore.kernel.org
 help / color / mirror / Atom feed
* [backport v3.12 PATCH 0/3] Avoid out of bounds access in isolate_migratepages_range
@ 2016-05-10  3:43 Gavin Guo
  2016-05-10  3:43 ` [backport v3.12 PATCH 1/3] mm: pass VM_BUG_ON() reason to dump_page() Gavin Guo
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Gavin Guo @ 2016-05-10  3:43 UTC (permalink / raw)
  To: jslaby, stable; +Cc: Gavin Guo

The backport is to avoid the out of bounds access detected by the
KASan kernel. The details can be found:
mm: compaction: buffer overflow in isolate_migratepages_range
https://lkml.org/lkml/2014/8/9/162

The first patch, pass VM_BUG_ON() reason to dump_page(), was
backported to avoid the kernel building errors which is lacking of
VM_BUG_ON_PAGE macro definition.

The second patch, redesign ballooned pages management, is the patch to
fix the bug and other 3 related bugs. 

The third patch, fix deflation when compaction is disabled, is the fix
to avoid the unnecessary check if the CONFIG_BALLOON_COMPACTION is not
enabled.

Dave Hansen (1):
  mm: pass VM_BUG_ON() reason to dump_page()

Konstantin Khlebnikov (2):
  mm/balloon_compaction: redesign ballooned pages management
  mm/balloon_compaction: fix deflation when compaction is disabled

 drivers/virtio/virtio_balloon.c    | 15 +++---
 include/linux/balloon_compaction.h | 97 ++++++++++----------------------------
 include/linux/migrate.h            | 11 +----
 include/linux/mm.h                 | 19 ++++++++
 include/linux/mmdebug.h            |  9 ++++
 mm/balloon_compaction.c            | 28 +++++------
 mm/compaction.c                    |  2 +-
 mm/migrate.c                       | 21 +++------
 8 files changed, 81 insertions(+), 121 deletions(-)

-- 
2.0.0


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

end of thread, other threads:[~2016-05-13 12:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-10  3:43 [backport v3.12 PATCH 0/3] Avoid out of bounds access in isolate_migratepages_range Gavin Guo
2016-05-10  3:43 ` [backport v3.12 PATCH 1/3] mm: pass VM_BUG_ON() reason to dump_page() Gavin Guo
2016-05-13 12:54   ` Jiri Slaby
2016-05-10  3:43 ` [backport v3.12 PATCH 2/3] mm/balloon_compaction: redesign ballooned pages management Gavin Guo
2016-05-10  3:43 ` [backport v3.12 PATCH 3/3] mm/balloon_compaction: fix deflation when compaction is disabled Gavin Guo

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.