Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp27916181rwd; Tue, 4 Jul 2023 09:38:05 -0700 (PDT) X-Google-Smtp-Source: APBJJlFFeFrK1zijHlkaNVHYGzqhKQ+C1qrWb7NwMEX/i3BKv88x2L9r0nWKMLGZxrRGCten/fR9 X-Received: by 2002:a17:902:c94d:b0:1b7:f98d:5570 with SMTP id i13-20020a170902c94d00b001b7f98d5570mr11000484pla.56.1688488685442; Tue, 04 Jul 2023 09:38:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688488685; cv=none; d=google.com; s=arc-20160816; b=UvSA9cdwVzSuOu5yZA9EJ1/iu4ReI7aSsSlfeLKe05YVkVIST5GlD5fW9PEFKUV9c2 PSwEGZYWUfW+N0xFOMqpcP/tuZUbnp6HSCmITcWr6RdOUdEkOvZX7zm5CCdslu5pyweL 9QAsdXJ71b4MhjCgRuQA77J1JkRnsQgW3yF1e8ZVu+ERV68v7vpClMcO6dg8wpkbCws/ EmbeybL8ZA/9PiufNAWAhFgRcHv44vn4iXngg9SVrhKfCubrxZTCVF4l5D4b1XjYvbzn bkDWMrqb00cyXcb203ReK4Apj/aREjiMlDqMYw1CSgh6wfokL8egyAmkErJf4+YhYp6a Qzug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=7EkdEUlovGWkvLNfvrB3aOUhAMERLNdWSHcuPj6NsM0=; fh=j9/FlrpwPJfgRnQUdJWoFg0hSKdsjBzmeUYO8cxaObk=; b=aTWn+QMqXLHTzbpThdn9DoOkm9beaMTac8IFmMjRIQ5h/LdpfzGRtAf36FBmbqAnvg ayL70QbuYSIqpamQY7o7Pt/wojI1w15KYLl97vYjFbWwPCQKAsZtMcYrlLx3mnuI/rHS tOY7JBmIWxvdtKQ1DVeUPBX4SgOieirdu2FaMuOZrwP+0k3dAKSMfvqwG/GBPz8EpKyw P33qZYbDR2b3ZZRxSm8uD81gzeqqTHU4Br21efe4VEYnJRxNROyIUo6BtTEoiGjnTNhJ tmnzcjmhPS4m6aeY2dBV1oALIej3n2BBfdSJYFIjPPPgmc1qVpqGSRT1D6mL9IZMw0P/ hygg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=DP+7MVF9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w12-20020a170902ca0c00b001b7f086e19bsi18387283pld.373.2023.07.04.09.37.51; Tue, 04 Jul 2023 09:38:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=DP+7MVF9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230477AbjGDQSN (ORCPT + 99 others); Tue, 4 Jul 2023 12:18:13 -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 X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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.