From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7CEF6C433EF for ; Fri, 1 Oct 2021 22:49:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 616DF61B01 for ; Fri, 1 Oct 2021 22:49:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355997AbhJAWvg (ORCPT ); Fri, 1 Oct 2021 18:51:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:35150 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230433AbhJAWve (ORCPT ); Fri, 1 Oct 2021 18:51:34 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D83D56105A; Fri, 1 Oct 2021 22:49:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1633128590; bh=t1s5Id57UQAxfr4vIW95kmieylyQ7mBTVJfI5xisW74=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=XnfPheFNziBnMj2DmDmdbHL/zvjtXEdvRmI/mOCcR5vZ9H9Np6oRILbEO/31JPXQC ZHVTGn7boRDP3ntf/1Ep6dF1/dNyhsSE7A5M9XzvtvZ9QbTK7Gjq1kOCR5N2QsVZJh FKYX5z0F/+BbMMhXU9sNboruPxSXYSMwi8ozx+ZY= Date: Fri, 1 Oct 2021 15:49:49 -0700 From: Andrew Morton To: Eric Dumazet Cc: linux-kernel , linux-mm , Eric Dumazet , syzbot , "Huang, Ying" , Mel Gorman Subject: Re: [PATCH v2] mm/mempolicy: do not allow illegal MPOL_F_NUMA_BALANCING | MPOL_LOCAL in mbind() Message-Id: <20211001154949.98956c092734590e781ce672@linux-foundation.org> In-Reply-To: <20211001215630.810592-1-eric.dumazet@gmail.com> References: <20211001215630.810592-1-eric.dumazet@gmail.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 1 Oct 2021 14:56:30 -0700 Eric Dumazet wrote: > From: Eric Dumazet > > syzbot reported access to unitialized memory in mbind() [1] I'm lazy. What memory is being accessed-unintialized? > Issue came with commit bda420b98505 ("numa balancing: migrate on > fault among multiple bound nodes") No cc:stable? What's the worst-case user-visible impact here?