From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757232AbdETCkt (ORCPT ); Fri, 19 May 2017 22:40:49 -0400 Received: from mail-pf0-f175.google.com ([209.85.192.175]:35232 "EHLO mail-pf0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755213AbdETCks (ORCPT ); Fri, 19 May 2017 22:40:48 -0400 Date: Fri, 19 May 2017 19:40:38 -0700 (PDT) From: Hugh Dickins X-X-Sender: hugh@eggly.anvils To: Xishi Qiu cc: Hugh Dickins , Andrew Morton , Tejun Heo , Michal Hocko , Johannes Weiner , Mel Gorman , Michal Hocko , Vlastimil Babka , Minchan Kim , David Rientjes , Joonsoo Kim , aarcange@redhat.com, sumeet.keswani@hpe.com, Rik van Riel , Linux MM , LKML , zhong jiang Subject: Re: mm, something wring in page_lock_anon_vma_read()? In-Reply-To: <591FA78E.9050307@huawei.com> Message-ID: References: <591D6D79.7030704@huawei.com> <591EB25C.9080901@huawei.com> <591EBE71.7080402@huawei.com> <591F9A09.6010707@huawei.com> <591FA78E.9050307@huawei.com> User-Agent: Alpine 2.11 (LSU 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 20 May 2017, Xishi Qiu wrote: > > Here is a bug report form redhat: https://bugzilla.redhat.com/show_bug.cgi?id=1305620 > And I meet the bug too. However it is hard to reproduce, and > 624483f3ea82598("mm: rmap: fix use-after-free in __put_anon_vma") is not help. > > From the vmcore, it seems that the page is still mapped(_mapcount=0 and _count=2), > and the value of mapping is a valid address(mapping = 0xffff8801b3e2a101), > but anon_vma has been corrupted. > > Any ideas? Sorry, no. I assume that _mapcount has been misaccounted, for example a pte mapped in on top of another pte; but cannot begin tell you where in Red Hat's kernel-3.10.0-229.4.2.el7 that might happen. Hugh