lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <60bda4a9-f4f8-3641-2612-17fab3173b29@gmail.com>
Date:   Mon, 18 Nov 2019 16:13:55 -0800
From:   Florian Fainelli <f.fainelli@...il.com>
To:     Marco Felsch <m.felsch@...gutronix.de>,
        Florian Fainelli <f.fainelli@...il.com>
Cc:     mark.rutland@....com, alexandre.belloni@...tlin.com,
        mhocko@...e.com, julien.thierry@....com, catalin.marinas@....com,
        christoffer.dall@....com, dhowells@...hat.com,
        yamada.masahiro@...ionext.com, ryabinin.a.a@...il.com,
        glider@...gle.com, kvmarm@...ts.cs.columbia.edu, corbet@....net,
        liuwenliang@...wei.com, daniel.lezcano@...aro.org,
        linux@...linux.org.uk, kasan-dev@...glegroups.com,
        geert@...ux-m68k.org, dvyukov@...gle.com,
        bcm-kernel-feedback-list@...adcom.com, drjones@...hat.com,
        vladimir.murzin@....com, keescook@...omium.org, arnd@...db.de,
        marc.zyngier@....com, andre.przywara@....com, pombredanne@...b.com,
        jinb.park7@...il.com, tglx@...utronix.de, kernel@...gutronix.de,
        linux-arm-kernel@...ts.infradead.org, nico@...xnic.net,
        gregkh@...uxfoundation.org, ard.biesheuvel@...aro.org,
        linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
        rob@...dley.net, philip@....systems, akpm@...ux-foundation.org,
        thgarnie@...gle.com, kirill.shutemov@...ux.intel.com
Subject: Re: [PATCH v6 0/6] KASan for arm

On 11/15/19 3:44 AM, Marco Felsch wrote:
> 
> With your v7 it is working on my imx6 but unfortunately I can't run my
> gstreamer testcase. My CPU load goes to 100% after starting gstreamer
> and nothing happens.. But the test_kasan module works =) So I decided to
> check a imx6quadplus but this target did not boot.. I used another
> toolchain for the imx6quadplus gcc-9 instead of gcc-8. So it seems that
> something went wrong during compilation. Because you didn't changed
> something within the logic.
> 
> I wonder why we must not define the CONFIG_KASAN_SHADOW_OFFSET for arm.

That is was oversight. I have pushed updates to the branch here:

https://github.com/ffainelli/linux/pull/new/kasan-v7

which defines CONFIG_KASAN_SHADOW_OFFSET from the PAGE_OFFSET value
directly, and recalculate KASAN_SHADOW_START/END accordingly using the
same formula as ARM64.

can you try them out? If that still does not work, can you detail the
imx6qdp memory layout a little more? Any chance of running a kernel with
DEBUG_LL/EARLYPRINTK turned on so we can see where the problem could be?
-- 
Florian

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ