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]
Date:   Tue, 22 Aug 2017 14:17:38 +0200
From:   Linus Walleij <linus.walleij@...aro.org>
To:     Seraphime Kirkovski <kirkseraph@...il.com>
Cc:     "linux-mmc@...r.kernel.org" <linux-mmc@...r.kernel.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: KASAN + general protection fault while writing to mmc

On Thu, Aug 10, 2017 at 10:07 PM, Seraphime Kirkovski
<kirkseraph@...il.com> wrote:

> I got this while restoring a backup with dd on an SDCard.
> On 4.13.0-rc4 I get it everytime.
>
> I'm not sure if it isn't a hardware problem as I have no more cards
> left.

The only patch that touched blk_rq_map_sg() that calls sg_next()
was this:

commit 67e69d5220c904238f94bb2e6001d7c590f5a0bb
Author: Linus Walleij <linus.walleij@...aro.org>
Date:   Fri May 19 15:37:27 2017 +0200

    mmc: block: remove req back pointer

    Just as we can use blk_mq_rq_from_pdu() to get the per-request
    tag we can use blk_mq_rq_to_pdu() to get a request from a tag.
    Introduce a static inline helper so we are on the clear what
    is happening.

    Suggested-by: Christoph Hellwig <hch@....de>
    Signed-off-by: Linus Walleij <linus.walleij@...aro.org>
    Signed-off-by: Ulf Hansson <ulf.hansson@...aro.org>

Can you try reverting it and see if the problem goes away?

Yours,
Linus Walleij

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ