Messages in this thread | | | Date | Mon, 15 Sep 2014 09:24:41 -0700 | From | Randy Dunlap <> | Subject | Re: [RFC/PATCH v2 01/10] Add kernel address sanitizer infrastructure. |
| |
On 09/15/14 08:28, Andrey Ryabinin wrote: > On 09/14/2014 05:35 AM, Randy Dunlap wrote: >> Following sentence is confusing. I'm not sure how to fix it. >> > > > Perhaps rephrase is like this: > > Do not use slub poisoning with KASan if user tracking enabled (iow slub_debug=PU).
if user tracking is enabled
> User tracking info (allocation/free stacktraces) are stored inside slub object's metadata. > Slub poisoning overwrites slub object and it's metadata with poison value on freeing.
its
> So if KASan will detect use after free, allocation/free stacktraces will be overwritten
So if KASan detects a use after free, allocation/free stacktraces are overwritten
> and KASan won't be able to print them.
Thanks.
-- ~Randy
| |