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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8B391EB64DA for ; Tue, 4 Jul 2023 16:18:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231460AbjGDQSO (ORCPT ); Tue, 4 Jul 2023 12:18:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229615AbjGDQSL (ORCPT ); Tue, 4 Jul 2023 12:18:11 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57E9BDA for ; Tue, 4 Jul 2023 09:18:10 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id E06EC612DC for ; Tue, 4 Jul 2023 16:18:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E59F5C433C7; Tue, 4 Jul 2023 16:18:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1688487489; bh=plFnlH3PVa4WT7JKH0cCP1otEaPsygd1p/9DKGjnZlY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=DP+7MVF9vnt3bFNlQkpF4LExsXEbROYu+xuyqDpBQzN9EIZJgYMCQ3rRO3qj64/s5 yd/IuW/oKpDL8zTX7u+j+d8QhVQkrxzzOdnvwaPICdLx+y4LQgCKjjqcZGrfHT6/zH arQfP+r/qWPUZQdOu9jZZCWHKufOwfpShgZOVKCM= Date: Tue, 4 Jul 2023 09:18:08 -0700 From: Andrew Morton To: Greg KH Cc: Suren Baghdasaryan , Linux regressions mailing list , Bagas Sanjaya , Jacob Young , Laurent Dufour , Linux Kernel Mailing List , Linux Memory Management , Linux PowerPC , Linux ARM Subject: Re: Fwd: Memory corruption in multithreaded user space program while calling fork Message-Id: <20230704091808.aa2ed3c11a5351d9bf217ac9@linux-foundation.org> In-Reply-To: <2023070453-plod-swipe-cfbf@gregkh> References: <5c7455db-4ed8-b54f-e2d5-d2811908123d@leemhuis.info> <2023070359-evasive-regroup-f3b8@gregkh> <2023070453-plod-swipe-cfbf@gregkh> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; 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 Tue, 4 Jul 2023 09:00:19 +0100 Greg KH wrote: > > > > > Thanks! I'll investigate this later today. After discussing with > > > > > Andrew, we would like to disable CONFIG_PER_VMA_LOCK by default until > > > > > the issue is fixed. I'll post a patch shortly. > > > > > > > > Posted at: https://lore.kernel.org/all/20230703182150.2193578-1-surenb@google.com/ > > > > > > As that change fixes something in 6.4, why not cc: stable on it as well? > > > > Sorry, I thought since per-VMA locks were introduced in 6.4 and this > > patch is fixing 6.4 I didn't need to send it to stable for older > > versions. Did I miss something? > > 6.4.y is a stable kernel tree right now, so yes, it needs to be included > there :) I'm in wait-a-few-days-mode on this. To see if we have a backportable fix rather than disabling the feature in -stable.