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 5769FC433F5 for ; Sun, 12 Dec 2021 13:55:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231286AbhLLNzC (ORCPT ); Sun, 12 Dec 2021 08:55:02 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:43205 "EHLO out4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229979AbhLLNzB (ORCPT ); Sun, 12 Dec 2021 08:55:01 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 9A3305C0118; Sun, 12 Dec 2021 08:55:00 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sun, 12 Dec 2021 08:55:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=DU5SXriTNRyS71l2bxO2m+nfg0d UpC1LU1HuaivfHlQ=; b=FJbUlQnjlXMPLDuiUPofv+v99/CAdmIIhstdQfXtgRz cXqrFfvpiZ0JlTihyZ/PNa9RDQdH7/CXffOfjeTMdZYB7s9RFy0CbAN7CQ3Ag4Cn +CEwWG7dp6Qj+xDWheAbxWYLv2btS8G0DRFKTx/25yVzuMypPXrL2MzFEwFm0wjJ RJ7BHLztu9yo0URpPgQnzJypGFqvAGcnyCwR6csf12fG54WUd4q0BbeR2vLq7UMT 4VvdYE0Q34n/SjGORhSMEnUez9+klqoUwy+K8xgZQsm7HAX/4TMeY6cmFYNHQDyT p9PVvKXRF6asanmIoiJUqiur2EZLmR6ll7fS0JdZTjg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=DU5SXr iTNRyS71l2bxO2m+nfg0dUpC1LU1HuaivfHlQ=; b=a2px8q7dbHR3zIhEBq1qyw KaTRzZ/j+ZayQjx/oZxMlhGTuQQIn314780fZmBa6C40qtXUvBpNSJLIAyGwojQX d72ro0Polr2+Vb9hgqcUmikYmty7Do1lp31v3gnAhyDBb06rLc6PXPQUEEbIogFD P/9x1VcKwhgZl8d9CDf5/9cew8J4W+9tSpBcOlko5q4HiHcfe8xEUaERgfawnGXF /tO+l8Nlk1Hr0SZ6n6/9veMFw1z8WxQzrPMkLSMJVYbetKx5C9r3RWOY37922lIJ tht8y0U1yOcdkLkt4KSl3PqTBOfFkZJPvrDNPW2sQtXiQJ7QkHHmu2wSq2H+NU0A == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrkeeigdehkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepifhrvghgucfm jfcuoehgrhgvgheskhhrohgrhhdrtghomheqnecuggftrfgrthhtvghrnhepveeuheejgf ffgfeivddukedvkedtleelleeghfeljeeiueeggeevueduudekvdetnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepghhrvghgsehkrhhorghhrd gtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 12 Dec 2021 08:54:59 -0500 (EST) Date: Sun, 12 Dec 2021 14:54:45 +0100 From: Greg KH To: Eric Biggers Cc: stable@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 5.10 0/5] aio poll fixes for 5.10 Message-ID: References: <20211210234805.39861-1-ebiggers@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211210234805.39861-1-ebiggers@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 10, 2021 at 03:48:00PM -0800, Eric Biggers wrote: > Backport the aio poll fixes to 5.10. This resolves a conflict in > aio_poll_wake() in patch 4. It's a "trivial" conflict, but I'm sending > this to make sure it doesn't get dropped. > > Eric Biggers (5): > wait: add wake_up_pollfree() > binder: use wake_up_pollfree() > signalfd: use wake_up_pollfree() > aio: keep poll requests on waitqueue until completed > aio: fix use-after-free due to missing POLLFREE handling > > drivers/android/binder.c | 21 ++-- > fs/aio.c | 184 ++++++++++++++++++++++++++------ > fs/signalfd.c | 12 +-- > include/linux/wait.h | 26 +++++ > include/uapi/asm-generic/poll.h | 2 +- > kernel/sched/wait.c | 7 ++ > 6 files changed, 195 insertions(+), 57 deletions(-) > > -- > 2.34.1 > Thanks for all of the backports, much appreciated and now queued up. greg k-h