Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp732076rwd; Sat, 20 May 2023 05:56:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7BcUd27AKH2f8kqQT9S7MzjtcYlG/bvNOyPyF9/fqsGGcayrg4xevdLVQjQIft84w1blL8 X-Received: by 2002:a17:90b:198d:b0:253:8eea:cf with SMTP id mv13-20020a17090b198d00b002538eea00cfmr4257106pjb.28.1684587411116; Sat, 20 May 2023 05:56:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684587411; cv=none; d=google.com; s=arc-20160816; b=ImnhIhNAKHmxrlsKnzubojMX/VWngC4Z0z/VmXzi2LDj7ydazZm5JbJGIAibTD+tSn jAhLdTwD+t/fAfyjf1bHrU6n5W/X5BGYC3I36yqq3v2D5utYhNi2i57PLC5oZAYeEGj/ +9FLqk4Af6jTixaAvD26rbVIa7nAOzZdWBAcGv6qkIj1lPxgKFOkkoy20DILDTYNZR7Q XzOGGKxDewx/qTG4ErWzCxFIQXlIW5mJv6f49KG+q8O+07bwAtPZ57c02KzZaMzGNJ5D 6RUwonJcoeRidzsGPfXrMU4FnF+KvMKq1mFMlSK4Zcruo7MNBxO7irnpuokViZ6xx6Rs EG2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Qi1BxeyXyBr0dFvjh80CQh5A+2m5jDZBC0Bu7zhHxEw=; b=PF5OZAxjBJEnBW8TBJSfN6W3AN9zA/2s2NUq1Ngp1E4W+x4dvh1/YgNqeLbwDim1qh cpIuDv9QZu/QrKPQEGlzLLBViyrFnz5edbc8zTlooRcq/FbO9MDHD7QbTE4oMttTQDvj 4YEkdMyFrpEvFPi5Uwn2c2ICOEx6N+P27H/X0FXIVqb4lwRiOtK2BplQpudfYFqM6TJu i549eHp+6yzq5MNxstJmEs7H4dB1w7bhWb+P8ETV33LprN8wj3EPreh6FgqcYTyyIeUy ScvYCm3tEOkTgLIOrfxWnbh1IzvBgln3y9c7oGVBpmxOhDMSIs4s3yjIGID7rCi80/a4 taTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b="QL/LdjHb"; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x69-20020a638648000000b0053063a32dacsi1409350pgd.826.2023.05.20.05.56.36; Sat, 20 May 2023 05:56:51 -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=@google.com header.s=20221208 header.b="QL/LdjHb"; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229563AbjETMfm (ORCPT + 99 others); Sat, 20 May 2023 08:35:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229654AbjETMfk (ORCPT ); Sat, 20 May 2023 08:35:40 -0400 Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98225115 for ; Sat, 20 May 2023 05:35:39 -0700 (PDT) Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-64d2f99c8c3so1270611b3a.0 for ; Sat, 20 May 2023 05:35:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1684586139; x=1687178139; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Qi1BxeyXyBr0dFvjh80CQh5A+2m5jDZBC0Bu7zhHxEw=; b=QL/LdjHbI4m+gVCU+VvtvjX0NJ8mVhPe62iN8KT39wNVWlaM60Jxr2acJQK0RZkR0d nDT/0BYx2tyRGhkwA6WezQrmA76bxlTaLdmhPIpjZ2pDPg7FK44taZnStGq4tSdwrFIs fNarjRaZNC7cW140Z5nwBlcy+/Gz42AV6nYRot7ChkpRrjbwIl5ulku0KwU48qDXg5Zk 7i5GDuSIkgV3Ve74itYUUonXj6phUzztKVazUERNLluyPmnVnqqb63iUXiLi6Y4q8yJn YYsBTHbdSTkTXN8z0p2T9NAY1pYxBqhEb7HZqxbHJuVoEgKFZVOiFtqdBQpxR7KivWg5 mtzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684586139; x=1687178139; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Qi1BxeyXyBr0dFvjh80CQh5A+2m5jDZBC0Bu7zhHxEw=; b=Gboojaei6kgONc5p3pcnRBOQDMOSoqcyYAadMoIRUemFetB5yBLdAgW7JNpjyesozA VbYR845aEOEwZ+hfOvKCTec70mSTMeMMN8XK/EqL1cF3yczloUa+71Y6l/fOr4MCeuCc DVJt1yisbL1ZA33bZzYkncOudux6k0x522Mow+JkkF9xRnjpK5KenlsLLW+pmq36rirg sWL4W5pCFucGRxNhBAe2XiW9zlMU22OLnZxqkHzIYE5JxVK+T7nleLSei/LyI6YWtpat bU58jbiHzB0I/lpUxZ+Ul+J1O33tGsOv806aGI+YdqTJdXYQ684vbE7bz/QDlzcOINFS wZWg== X-Gm-Message-State: AC+VfDzC8makQDwwhylNBDVOzCCWcclbDzgFuZa+xDs6OswUsk5rPUK6 NndyeowN5OqxbaF9ucyulVHY7g== X-Received: by 2002:a05:6a00:891:b0:63b:8afe:a4dc with SMTP id q17-20020a056a00089100b0063b8afea4dcmr6625617pfj.30.1684586138790; Sat, 20 May 2023 05:35:38 -0700 (PDT) Received: from google.com (157.214.185.35.bc.googleusercontent.com. [35.185.214.157]) by smtp.gmail.com with ESMTPSA id r25-20020a62e419000000b0062d859a33d1sm1194351pfh.84.2023.05.20.05.35.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 May 2023 05:35:38 -0700 (PDT) Date: Sat, 20 May 2023 12:35:34 +0000 From: Carlos Llamas To: Greg Kroah-Hartman Cc: Arve =?iso-8859-1?B?SGr4bm5lduVn?= , Todd Kjos , Martijn Coenen , Joel Fernandes , Christian Brauner , Suren Baghdasaryan , "Kirill A. Shutemov" , Michal Hocko , Vlastimil Babka , Matthew Wilcox , Andrew Morton , linux-kernel@vger.kernel.org, kernel-team@android.com, Jann Horn , stable@vger.kernel.org, Minchan Kim , Yang Shi , Liam Howlett , Todd Kjos Subject: Re: [PATCH] binder: fix UAF of alloc->vma in race with munmap() Message-ID: References: <20230519195950.1775656-1-cmllamas@google.com> <2023052048-sloping-credible-8871@gregkh> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2023052048-sloping-credible-8871@gregkh> X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=unavailable 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 Sat, May 20, 2023 at 10:54:15AM +0100, Greg Kroah-Hartman wrote: > On Fri, May 19, 2023 at 07:59:49PM +0000, Carlos Llamas wrote: > > [ cmllamas: clean forward port from commit 015ac18be7de ("binder: fix > > UAF of alloc->vma in race with munmap()") in 5.10 stable. It is needed > > in mainline after the revert of commit a43cfc87caaf ("android: binder: > > stop saving a pointer to the VMA") as pointed out by Liam. The commit > > log and tags have been tweaked to reflect this. ] > > I'm confused, is this for a stable release (and if so, which one), or is > this for Linus's tree? Sorry for the confusion. This is for Linus's tree.