[PATCH 0/5 v11] KASan for Arm

Ard Biesheuvel ardb at kernel.org
Wed Jul 1 17:41:09 EDT 2020


On Wed, 1 Jul 2020 at 22:16, Florian Fainelli <f.fainelli at gmail.com> wrote:
>
>
>
> On 7/1/2020 5:09 AM, Ard Biesheuvel wrote:
> >
> > I pushed these changes and a few more to
> >
> > https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/log/?h=arm-kasan-v11
>
> This branch works a bit better however I am still seeing some boot
> errors (some sample logs attached) similar to Linus' branch.
>

These crashes are all identical, they all crash on the bc9ffe00 shadow
address not being backed by early shadow memory.

That value has all bits PTE index bits set to 1, and given how
memblock usually allocates top down, it means we are allocating page
by page and calling check_memory_region() on it during the memset()
until the point where we hit a PMD that is not set, covering the
window bc800000-bc9fffff

Are there any memory reservations in the range ec000000-ecffffff ? Are
you using the default vmalloc range? Any other peculiarities in the
memory layout?



More information about the linux-arm-kernel mailing list