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 PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 24 Jul 2014 08:48:34 -0400 From: Sasha Levin <sasha.levin@...cle.com> To: Andrey Ryabinin <a.ryabinin@...sung.com>, "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>, Linus Torvalds <torvalds@...ux-foundation.org>, Andrew Morton <akpm@...ux-foundation.org>, Mel Gorman <mgorman@...e.de>, Rik van Riel <riel@...hat.com> CC: Andi Kleen <ak@...ux.intel.com>, Matthew Wilcox <matthew.r.wilcox@...el.com>, Dave Hansen <dave.hansen@...ux.intel.com>, Alexander Viro <viro@...iv.linux.org.uk>, Dave Chinner <david@...morbit.com>, Ning Qu <quning@...il.com>, linux-mm@...ck.org, linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org, Dave Jones <davej@...hat.com>, Konstantin Khlebnikov <koct9i@...il.com> Subject: Re: [PATCHv3 1/2] mm: introduce vm_ops->map_pages() On 07/24/2014 02:53 AM, Andrey Ryabinin wrote: > On 07/24/14 07:33, Sasha Levin wrote: >> > On 02/27/2014 02:53 PM, Kirill A. Shutemov wrote: >>> >> The patch introduces new vm_ops callback ->map_pages() and uses it for >>> >> mapping easy accessible pages around fault address. >>> >> >>> >> On read page fault, if filesystem provides ->map_pages(), we try to map >>> >> up to FAULT_AROUND_PAGES pages around page fault address in hope to >>> >> reduce number of minor page faults. >>> >> >>> >> We call ->map_pages first and use ->fault() as fallback if page by the >>> >> offset is not ready to be mapped (cold page cache or something). >>> >> >>> >> Signed-off-by: Kirill A. Shutemov <kirill.shutemov@...ux.intel.com> >>> >> --- >> > >> > Hi all, >> > >> > This patch triggers use-after-free when fuzzing using trinity and the KASAN >> > patchset. >> > > I think this should be fixed already by following patch: > > From: Konstantin Khlebnikov <koct9i@...il.com> > Subject: mm: do not call do_fault_around for non-linear fault I don't think so. It's supposed to deal with a different issue, and it was already in my -next tree which triggered the issue I've reported. Thanks, Sasha -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists