Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 17 Aug 2020 12:24:29 -0700
From: Kees Cook <>
To: "Eric W. Biederman" <>
Cc: Alexander Popov <>, Jann Horn <>,
	Will Deacon <>,
	Andrey Ryabinin <>,
	Alexander Potapenko <>,
	Dmitry Vyukov <>,
	Christoph Lameter <>, Pekka Enberg <>,
	David Rientjes <>,
	Joonsoo Kim <>,
	Andrew Morton <>,
	Masahiro Yamada <>,
	Masami Hiramatsu <>,
	Steven Rostedt <>,
	Peter Zijlstra <>,
	Krzysztof Kozlowski <>,
	Patrick Bellasi <>,
	David Howells <>,
	Johannes Weiner <>,
	Laura Abbott <>, Arnd Bergmann <>,
	Greg Kroah-Hartman <>,,,,,, Kexec Mailing List <>
Subject: Re: [PATCH RFC 2/2] lkdtm: Add heap spraying test

On Mon, Aug 17, 2020 at 01:24:37PM -0500, Eric W. Biederman wrote:
> Alexander Popov <> writes:
> > Add a simple test for CONFIG_SLAB_QUARANTINE.
> >
> > It performs heap spraying that aims to reallocate the recently freed heap
> > object. This technique is used for exploiting use-after-free
> > vulnerabilities in the kernel code.
> >
> > This test shows that CONFIG_SLAB_QUARANTINE breaks heap spraying
> > exploitation technique.
> >
> > Signed-off-by: Alexander Popov <>
> Why put this test in the linux kernel dump test module?
> I have no problem with tests, and I may be wrong but this
> does not look like you are testing to see if heap corruption
> triggers a crash dump.  Which is what the rest of the tests
> in lkdtm are about.  Seeing if the test triggers successfully
> triggers a crash dump.

The scope of LKDTM has shifted a bit, and I'm fine with tests that
don't cause crashes as long as they're part of testing system-wide
defenses, etc. It's easier to collect similar tests together (even if
they don't break the system).

Kees Cook

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.