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:   Fri, 19 Jan 2018 16:15:29 -0800
From:   Dan Williams <dan.j.williams@...el.com>
To:     Jan H. Schönherr <jschoenh@...zon.de>
Cc:     Andrew Morton <akpm@...ux-foundation.org>,
        Linux MM <linux-mm@...ck.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] mm: Fix memory size alignment in devm_memremap_pages_release()

On Wed, Jan 17, 2018 at 4:06 PM, Jan H. Schönherr <jschoenh@...zon.de> wrote:
> The functions devm_memremap_pages() and devm_memremap_pages_release() use
> different ways to calculate the section-aligned amount of memory. The
> latter function may use an incorrect size if the memory region is small
> but straddles a section border.
>
> Use the same code for both.
>
> Fixes: 5f29a77cd957 ("mm: fix mixed zone detection in devm_memremap_pages")
> Signed-off-by: Jan H. Schönherr <jschoenh@...zon.de>

Looks good to me, applied for 4.16.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ