Messages in this thread | | | From | Andrey Konovalov <> | Date | Tue, 30 Mar 2021 17:41:02 +0200 | 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@mediatek.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
| |