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: <ae39b767-3356-d0a6-4a2d-9154d2eede4f@applied-asynchrony.com>
Date:   Wed, 11 Jan 2023 21:52:22 +0100
From:   Holger Hoffstätte <holger@...lied-asynchrony.com>
To:     Liam Howlett <liam.howlett@...cle.com>,
        "linux-mm@...ck.org" <linux-mm@...ck.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        Andrew Morton <akpm@...ux-foundation.org>,
        "maple-tree@...ts.infradead.org" <maple-tree@...ts.infradead.org>
Cc:     "stable@...r.kernel.org" <stable@...r.kernel.org>,
        "amanieu@...il.com" <amanieu@...il.com>
Subject: Re: [PATCH] maple_tree: Fix mas_empty_area_rev() lower bound
 validation

On 2023-01-11 21:02, Liam Howlett wrote:
> mas_empty_area_rev() was not correctly validating the start of a gap
> against the lower limit.  This could lead to the range starting lower
> than the requested minimum.
> 
> Fix the issue by better validating a gap once one is found.
> 
> This commit also adds tests to the maple tree test suite for this issue
> and tests the mas_empty_area() function for similar bound checking.
> 
> Cc: stable@...r.kernel.org
> BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=216911
> Reported-by: amanieu@...il.com
> Fixes: 54a611b60590 ("Maple Tree: add new data structure")
> Link: https://lore.kernel.org/linux-mm/0b9f5425-08d4-8013-aa4c-e620c3b10bb2@leemhuis.info/
> Signed-off-by: Liam R. Howlett <Liam.Howlett@...cle.com>

Tested-by: Holger Hoffstätte <holger@...lied-asynchrony.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ