Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9b9861c0-4c94-a51f-bbac-bd5e9b77d9e0@linux.com>
Date: Fri, 4 Dec 2020 14:54:26 +0300
From: Alexander Popov <alex.popov@...ux.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Alexander Potapenko <glider@...gle.com>, Kees Cook
 <keescook@...omium.org>, Jann Horn <jannh@...gle.com>,
 Will Deacon <will@...nel.org>, Andrey Ryabinin <aryabinin@...tuozzo.com>,
 Dmitry Vyukov <dvyukov@...gle.com>, Christoph Lameter <cl@...ux.com>,
 Pekka Enberg <penberg@...nel.org>, David Rientjes <rientjes@...gle.com>,
 Joonsoo Kim <iamjoonsoo.kim@....com>, Masahiro Yamada
 <masahiroy@...nel.org>, Masami Hiramatsu <mhiramat@...nel.org>,
 Steven Rostedt <rostedt@...dmis.org>, Peter Zijlstra <peterz@...radead.org>,
 Krzysztof Kozlowski <krzk@...nel.org>,
 Patrick Bellasi <patrick.bellasi@....com>,
 David Howells <dhowells@...hat.com>, Eric Biederman <ebiederm@...ssion.com>,
 Johannes Weiner <hannes@...xchg.org>, Laura Abbott <labbott@...hat.com>,
 Arnd Bergmann <arnd@...db.de>,
 Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
 Daniel Micay <danielmicay@...il.com>,
 Andrey Konovalov <andreyknvl@...gle.com>,
 Matthew Wilcox <willy@...radead.org>, Pavel Machek <pavel@...x.de>,
 Valentin Schneider <valentin.schneider@....com>,
 kasan-dev <kasan-dev@...glegroups.com>,
 Linux Memory Management List <linux-mm@...ck.org>,
 Kernel Hardening <kernel-hardening@...ts.openwall.com>,
 LKML <linux-kernel@...r.kernel.org>, notify@...nel.org
Subject: Re: [PATCH RFC v2 2/6] mm/slab: Perform init_on_free earlier

On 03.12.2020 23:49, Andrew Morton wrote:
> On Thu, 3 Dec 2020 22:50:27 +0300 Alexander Popov <alex.popov@...ux.com> wrote:
> 
>> On 30.09.2020 15:50, Alexander Potapenko wrote:
>>> On Tue, Sep 29, 2020 at 8:35 PM Alexander Popov <alex.popov@...ux.com> wrote:
>>>>
>>>> Currently in CONFIG_SLAB init_on_free happens too late, and heap
>>>> objects go to the heap quarantine being dirty. Lets move memory
>>>> clearing before calling kasan_slab_free() to fix that.
>>>>
>>>> Signed-off-by: Alexander Popov <alex.popov@...ux.com>
>>> Reviewed-by: Alexander Potapenko <glider@...gle.com>
>>
>> Hello!
>>
>> Can this particular patch be considered for the mainline kernel?
> 
> All patches are considered ;) And merged if they're reviewed, tested,
> judged useful, etc.
> 
> If you think this particular patch should be fast-tracked then please
> send it as a non-RFC, standalone patch.  Please also enhance the
> changelog so that it actually explains what goes wrong.  Presumably
> "objects go to the heap quarantine being dirty" causes some
> user-visible problem?  What is that problem?

Ok, thanks!
I'll improve the commit message and send the patch separately.

Best regards,
Alexander

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.