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: <CAPcyv4gMahR82SOUBKd5sNHexFq0y6iwWkKfjjv-S+Osw8+2BA@mail.gmail.com>
Date:   Tue, 6 Mar 2018 11:09:35 -0800
From:   Dan Williams <dan.j.williams@...el.com>
To:     Logan Gunthorpe <logang@...tatee.com>
Cc:     "Oliver O'Halloran" <oohall@...il.com>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        linux-nvdimm <linux-nvdimm@...ts.01.org>,
        Christoph Hellwig <hch@....de>
Subject: Re: [PATCH] kernel/memremap: Remove stale devres_free() call

On Tue, Mar 6, 2018 at 8:55 AM, Logan Gunthorpe <logang@...tatee.com> wrote:
>
>
> On 05/03/18 09:56 PM, Oliver O'Halloran wrote:
>>
>> devm_memremap_pages() was re-worked in e8d513483300 to take a caller
>> allocated struct dev_pagemap as a function parameter. A call to
>> devres_free() was left in the error cleanup path which results in
>> a kernel panic if the remap fails for some reason. Remove it
>> to fix the panic and let devm_memremap_pages() fail gracefully.
>>
>> Fixes: e8d513483300 ("memremap: change devm_memremap_pages interface to
>> use struct dev_pagemap")
>> Cc: Logan Gunthorpe <logang@...tatee.com>
>> Cc: Christoph Hellwig <hch@....de>
>> Cc: Dan Williams <dan.j.williams@...el.com>
>> Signed-off-by: Oliver O'Halloran <oohall@...il.com>
>
>
> Reviewed-by: Logan Gunthorpe <logang@...tatee.com>

Thanks, applied.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ