linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Hugepage cleanup and bugfix
@ 2012-02-16  4:23 David Gibson
  2012-02-16  4:23 ` [PATCH 1/2] Cleanup to hugetlb.h David Gibson
  2012-02-16  4:24 ` [PATCH 2/2] hugepages: Fix use after free bug in "quota" handling David Gibson
  0 siblings, 2 replies; 5+ messages in thread
From: David Gibson @ 2012-02-16  4:23 UTC (permalink / raw)
  To: akpm, abarry; +Cc: hughd, mgorman, minchan.kim, paulus, linux-kernel

Hi, this is a revised version of Andrew Barry's fix for the hugepage
race between unmount and quota update.  In fact it's not just that
race which is a problem, it's a more general use-after-free problem on
fs inodes from the hugepage code.

Despite all the abstract talk in the patch comments about layering
violations, this fixes a real, exploitable, crash bug which has been
in the kernel for a very long time now.

Andrew, please apply.


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

end of thread, other threads:[~2012-03-06  3:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-16  4:23 Hugepage cleanup and bugfix David Gibson
2012-02-16  4:23 ` [PATCH 1/2] Cleanup to hugetlb.h David Gibson
2012-02-16  4:24 ` [PATCH 2/2] hugepages: Fix use after free bug in "quota" handling David Gibson
2012-02-16 12:33   ` Hillf Danton
2012-03-06  2:37     ` David Gibson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).