From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753566AbcAGXN7 (ORCPT ); Thu, 7 Jan 2016 18:13:59 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:60760 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752302AbcAGXN5 (ORCPT ); Thu, 7 Jan 2016 18:13:57 -0500 Date: Thu, 7 Jan 2016 15:13:56 -0800 From: Andrew Morton To: Mike Kravetz Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Hillf Danton , Hugh Dickins , Naoya Horiguchi , Davidlohr Bueso , Dave Hansen , stable@vger.kernel.org Subject: Re: [PATCH] mm/hugetlbfs Fix bugs in hugetlb_vmtruncate_list Message-Id: <20160107151356.0e131b25f5740f6046221419@linux-foundation.org> In-Reply-To: <1452206137-12441-1-git-send-email-mike.kravetz@oracle.com> References: <1452206137-12441-1-git-send-email-mike.kravetz@oracle.com> X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 7 Jan 2016 14:35:37 -0800 Mike Kravetz wrote: > Hillf Danton noticed bugs in the hugetlb_vmtruncate_list routine. > The argument end is of type pgoff_t. It was being converted to a > vaddr offset and passed to unmap_hugepage_range. However, end > was also being used as an argument to the vma_interval_tree_foreach > controlling loop. In addition, the conversion of end to vaddr offset > was incorrect. Could we please have a description of the user-visible effects of the bug? It's always needed for -stable things. And for all bugfixes, really. (stable@vger.kernel.org[4.3] isn't an email address btw - my client barfed)