[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CA+fCnZdugY3ei_iZ3OLukdgLnGx8b0h-TmbFARXQQWwww3EZmA@mail.gmail.com>
Date: Tue, 30 Mar 2021 17:41:02 +0200
From: Andrey Konovalov <andreyknvl@...il.com>
To: Lecopzer Chen <lecopzer.chen@...iatek.com>,
Will Deacon <will@...nel.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Catalin Marinas <catalin.marinas@....com>,
Dmitry Vyukov <dvyukov@...gle.com>,
Alexander Potapenko <glider@...gle.com>, gustavoars@...nel.org,
kasan-dev@...glegroups.com, linux-arm-kernel@...ts.infradead.org,
LKML <linux-kernel@...r.kernel.org>, linux@...ck-us.net,
maz@...nel.org, rppt@...nel.org,
Andrey Ryabinin <ryabinin.a.a@...il.com>,
tyhicks@...ux.microsoft.com, yj.chiang@...iatek.com,
lecopzer@...il.com
Subject: Re: [PATCH v4 5/5] arm64: Kconfig: select KASAN_VMALLOC if
KANSAN_GENERIC is enabled
On Tue, Mar 30, 2021 at 10:14 AM Lecopzer Chen
<lecopzer.chen@...iatek.com> wrote:
>
> > Do you know if anybody is working on this? It's really unfortunate that
> > we can't move exclusively to VMAP_STACK just because of SW_TAGS KASAN.
> >
> > That said, what is there to do? As things stand, won't kernel stack
> > addresses end up using KASAN_TAG_KERNEL?
>
> Hi Andrey,
>
> Do you or any KASAN developers have already had any plan for this?
Hi Will and Lecopzer,
We have an issue open to track this [1], but no immediate plans to work on this.
Now that we have GENERIC vmalloc support for arm64, there's a chance
that SW_TAGS vmalloc will just work once allowed via configs. However,
I would expect that we'll still need to at least add some
kasan_reset_tag() annotations here and there.
Thanks!
[1] https://bugzilla.kernel.org/show_bug.cgi?id=211777
Powered by blists - more mailing lists