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] [day] [month] [year] [list]
Message-ID: <CA+icZUU1cCGSs8+W6ndP1qeBOw_Q7h-hwZPpxj88vwajfx9qpw@mail.gmail.com>
Date:   Thu, 25 Jul 2019 08:08:38 +0200
From:   Sedat Dilek <sedat.dilek@...il.com>
To:     Daniel Vetter <daniel@...ll.ch>,
        Sergey Senozhatsky <sergey.senozhatsky@...il.com>
Cc:     Jani Nikula <jani.nikula@...ux.intel.com>,
        Joonas Lahtinen <joonas.lahtinen@...ux.intel.com>,
        Rodrigo Vivi <rodrigo.vivi@...el.com>,
        David Airlie <airlied@...ux.ie>,
        Hugh Dickins <hughd@...gle.com>,
        David Howells <dhowells@...hat.com>,
        Andrew Morton <akpm@...ux-foundation.org>,
        linux-kernel@...r.kernel.org, intel-gfx@...ts.freedesktop.org,
        dri-devel@...ts.freedesktop.org, linux-mm@...ck.org
Subject: Re: [linux-next] mm/i915: i915_gemfs_init() NULL dereference

On Wed, Jul 24, 2019 at 8:44 PM Sedat Dilek <sedat.dilek@...il.com> wrote:
>
> Hi Daniel, Hi Sergey,
>
> I observed the same call-trace since next-20190712 with i195-gfx.
>
> First thought this is a problem with clang-9/ld-lld-9, but turned out
> to be a different objtool problem.
>
> The same call-trace I saw with gcc-8 from Debian/buster.
>
> This is with clang-9 (prerelease) and ld.bfd (I switched the linker).
>
> My kernel-log and dmesg-log are attached.
>
> If you need more informations or already have a fix baked up, please
> let me know.
>
> Thanks.
>
> Regards,
> - Sedat -
>
> [1] https://github.com/ClangBuiltLinux/linux/issues/617
> [2] https://lore.kernel.org/patchwork/patch/1103984/

The snippet from Sergey fixes the issue for me (details see [1]).

Base was linux-next (next-20190723) with the "uaccess fixes" patchset
(see [2]) from Josh.

Just as a sidenote:
This issue is independent of any $COMPILER.
I saw the issue with both gcc-8 and clang-9 (snapshot).

My kernel-log and dmesg-log are attached.

Please, fix this is linux-next.

Thanks.

- Sedat -

[1] https://github.com/ClangBuiltLinux/linux/issues/617#issuecomment-514906560
[2] https://lkml.org/lkml/2019/7/24/2002

View attachment "config-5.3.0-rc1-3-amd64-cbl-asmgoto.txt" of type "text/plain" (219540 bytes)

View attachment "dmesg_5.3.0-rc1-3-amd64-cbl-asmgoto.txt" of type "text/plain" (82145 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ