Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp573455rwd; Sat, 20 May 2023 02:59:11 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6NqIhMoAYc+3IhyWU5tq/GGxSUj1japyF5BgEcCESuZK6dxAxuHjP6p2R0HbOGtn8q7jto X-Received: by 2002:a05:6a00:22c3:b0:64d:1185:243c with SMTP id f3-20020a056a0022c300b0064d1185243cmr6827588pfj.5.1684576751574; Sat, 20 May 2023 02:59:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684576751; cv=none; d=google.com; s=arc-20160816; b=j+RZNOOkO6fRmQg8bXvca1O+Z4SRncGPvXkF021oHokHI5C5w1B+XIlmpmV7fx7ST7 kVDyJEOxP1eWWGjYsQ+TdOGego9keVAThzq67klps9PPbJ2iHcf5Oveyo3Ber4NgaL2C ou/VrtzxFLaaqy54VrlRvG0MSJhXE0PYVyCFf5ngYaTWzU+1zznzBP4Gw2axzzdxQ6aY QbRQt8FcDMjK8u4PdytqBzzvBCkRQz7eVdGcgnoAa76bJPdM1J0JWCrGiJnAsR1Kd0/f X7JYv8V1UFcoCMnmNH7KxGiCPWB4uzJxVCSmTBBwTQfgoL08JgmdSHbVew9yiry/gX2R 43Rg== 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=MnEZtzlyvshLWr/Qr0ZyO86L4TuoLHOwywVUuCSGY2E=; b=TWnVm8CE7Ov6XhMeIATvb4jk75VnNhmM+7T22EDu0Y3/VO+TaBk60Ekx8sVyYqexh0 dXH5e+l046sfo76kBV3qEvaMugWeTN+KjUw6f7dSFa50GvuCqwHRmZxkmYXbcUv1D5bS KI/sj4nc2YHUKxnP7taDVsJxxX1Wd2sXX3P6cLziDCfv6z/TmUFxhTRU6e+4Jtpdp1y1 qeR/hOzXyhM9CcojU4JKBcIlcz1U2C7WdfeRZOV7+mGCBhsOUSwzlRbE8Ceo3S8A1iR7 Wxl2fxQeJ0/OQhFBRXnbVyG2yL78zlCdpK7vOTw9m3cLGRfKqlwjt+ibi/B8SJY/Ubke sg0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=po5DJeGE; 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=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 76-20020a62194f000000b006462cc07d9esi1299225pfz.300.2023.05.20.02.58.57; Sat, 20 May 2023 02:59:11 -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=@linuxfoundation.org header.s=korg header.b=po5DJeGE; 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=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231389AbjETJyZ (ORCPT + 99 others); Sat, 20 May 2023 05:54:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231397AbjETJyX (ORCPT ); Sat, 20 May 2023 05:54:23 -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 4F4BFE4D; Sat, 20 May 2023 02:54:20 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D9D4F60A4A; Sat, 20 May 2023 09:54:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7D854C433D2; Sat, 20 May 2023 09:54:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1684576459; bh=srxttNx0ob8d7XPvQiozrPbGXHOOjc+3+6ZLqelbWZ4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=po5DJeGEXC01gw+dVqJSepdFqD35vsu9JmgFBZwNQ7klC+RJ/FmdJf4yyzEW/87Oh Fj2Ppy23niTqhFNsDpJxsaIHCui37wnsHbaPVXQbEpK0zSE8XhJAz4k3eldvGvxS8A 7GQMPSNqxAGH/bye5xn2Oa7XVNeqFbuq45zMHaaw= Date: Sat, 20 May 2023 10:54:15 +0100 From: Greg Kroah-Hartman To: Carlos Llamas 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: <2023052048-sloping-credible-8871@gregkh> References: <20230519195950.1775656-1-cmllamas@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230519195950.1775656-1-cmllamas@google.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 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? thanks, greg k-h