Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp86642lqh; Mon, 6 May 2024 12:05:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWVsWuTFJeU0tdWiM3malw6CjOAsDCquLJ4mswXPXkaqUrVSwm3psdO35elwRRjYUX2OnqxrsKgUAYtG88Z6fUBDq6ItaYw/x9bguKP7g== X-Google-Smtp-Source: AGHT+IFFk5+Cya2q+Nug/FxwBo1AF8C08rxLRDNXkr8N64PE4E1kfXIwyqbboS8H/wMI4Fim4lNk X-Received: by 2002:a05:6a00:114d:b0:6ec:e785:98b9 with SMTP id b13-20020a056a00114d00b006ece78598b9mr14547817pfm.27.1715022336627; Mon, 06 May 2024 12:05:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715022336; cv=pass; d=google.com; s=arc-20160816; b=j5V4EzraMeaqPoQyhWUuwitjcvLh8KppXVHC9Dfvvmde7VNeAX1LJAuq1sLZo6+Vs5 d52Bchumkm5D1eTxgfRByYJYkjNyb0sSlgG9rxwxk5n8vflue3dpIv3XRerHb5rzq7M6 5unlWBDFRnJcsVtcnfcUM5iFHvBQAgP87KnrmzJZ4iuzspMJxF05SO5z+GwA12O4qk+q 1cBu14leZ9PPZy8GfM0DzX3eIUnHHwRzfnxh+fM5OfkytOpmCCjaZvoVMWPwsVPU4o/a w2pEqHme2KZAK/hIcnI/Q55o8aSGEOWm7M4B3pPOgQ1JfTwsbPacBkvvE3FJwrm/adGd ucOg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=tW6ZXbuxNCkRRdetUmGMqtCDIB19FjpOX7Yn0qAHvpM=; fh=M2Yu98tf5FnerA2oWFetHVn5oEVjKF9jFNHwPn+X/kY=; b=GKDSyVZ2/nw8Qhxx8dOya/asTqeZUsv3YpLdccAJmcZC+izruxWA8nOJbfUTsunUeR QKn7Xe9vIGLo/IzIHLOFTGwrGN4vkvgzrMfse5slRP1Fzt9Mni4IFY7y4vd7Zpp2dfMz vuope3i9T/AC0unqKASyBDkvgpr3j982jE8BZ8fyIyJC2c9IRhi9TVpm/qIn4Rt8vWpF x/D06mmKYvZz6cyZIEqXRU+6Hi47ZB3lL1E92ilJCBrk2MXxjicyZB1Gp3tXd0KNvgkE bEl6A9vVOGIKtR26gLILnqVo7TzvcikOH293uN0W2IL7PjgjR9hMtBp2YEyzBmoI1emg 2H8g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=f5hZ0027; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-170322-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170322-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id fh39-20020a056a00392700b006ecfa5a3b2fsi8731732pfb.77.2024.05.06.12.05.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 12:05:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170322-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=f5hZ0027; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-170322-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170322-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 2940C284E85 for ; Mon, 6 May 2024 19:04:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 04FDF1591E4; Mon, 6 May 2024 19:04:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="f5hZ0027" Received: from mail-yb1-f178.google.com (mail-yb1-f178.google.com [209.85.219.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DDBD1158DC7 for ; Mon, 6 May 2024 19:04:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715022291; cv=none; b=EhSrlxxs7Ey7pq2Xvs2HRcuV/2CXP5L14nivFjvtN040kgCh1Se7IOTpjCkbXIe6lFCxFUKNhwMwAJ/WmtMS8vYbDBOs17BJto0D1ifza2zXM5QZBFpOCWAKIMVfAHc/N1v60LC+UG8+6QpMFGP7XDEJKg3iWX4nvE/vQZfNM8I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715022291; c=relaxed/simple; bh=tW6ZXbuxNCkRRdetUmGMqtCDIB19FjpOX7Yn0qAHvpM=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=VtRAgr3kbRCE/wrhFZe9i3P4uTaXppI1Bm8ivvZAVskZwo9zlZkjus2pm4426UNmhd90iAW//TkcRegXRy0khDxAMkjCnNsa4ZpqzJ2U/xwm66V181rZvi8WO7Pg7R/j3jpqHF2/7h272OqPi1jnp/DoPfXvzRr0hy5vIaqcV4Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=f5hZ0027; arc=none smtp.client-ip=209.85.219.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-yb1-f178.google.com with SMTP id 3f1490d57ef6-d9b9adaf291so2182278276.1 for ; Mon, 06 May 2024 12:04:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715022289; x=1715627089; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=tW6ZXbuxNCkRRdetUmGMqtCDIB19FjpOX7Yn0qAHvpM=; b=f5hZ0027j6tuOh01uqPVudpyTJa+xNkCO10/V6NYr6V9QYjzs74VuSv6jgymVHBkLR 8mEPTuHO3jluVSuStsWpAQT8+4cFa2LBY37URjDhOZ81AqakT2nNoN7I83iO69f2ErSd aFqdzTcFW4AatEGpt3W8pFXLk1ZOkqvsMCi8p0sdMsLIzor73cv5dOb+2HmlEZj5jQyW VGyzy3yJsdgLkSboDBoGNmn97zZyODQlU3stSQhtIMaPZl7t8w3k/6ePN2chN2csHkT8 hLCAOcY7fSD2J6RNELeNIeFLvsn4O52AZElGXeszMghMZS8IlNYRnyjD1dl/LrBVGXJQ 5Llg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715022289; x=1715627089; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tW6ZXbuxNCkRRdetUmGMqtCDIB19FjpOX7Yn0qAHvpM=; b=FvISYm/TQyZfioEhzx+9EET9Zr1OtokqmuCtRVVaqn9kUMDx5/d+s8cFET/F8OXDs7 ATSvYlkKw+rGlfD0PIK0BZNHhJWEIK7FAWRpIFPs9BmWf4e1l2wLSQs4PvysuNxxsyXv Yb13S3cIVPAT28jRiAYURQoYihMYKxuVEBuQFxUE7w7kfr+jaHIhKyBudpgUPoPWyghw R0lkyP6GwUlR4sop8i4+hm9KwMybdmCNZhkelD4VX7yk+JPlGDicW5hSMjOPQWoBEabH nbrESz8Xm+gflCnlrdf4BWw72a8vrzraHBAofiviUgJhQf+dk5GVfK6T88bMK1LU3SKU q87Q== X-Forwarded-Encrypted: i=1; AJvYcCUSgrXKbtgXHEVDDA35RUn3ypQdzfOTXPD6ndZY+UbI/wIqE/UjLXbgkkdg1VVI52nUXSON1C3hJpn8MPaPt5hpwGqldOSCi8NeI0Ht X-Gm-Message-State: AOJu0YzeW7FpsOdZb2x/AOiM7ymjVNpSnDX1+fCNQiIvbddPrvptmJ4f AZfOYV+IpfY8LmBtmJv2nmulfkf9kOPIfvKmiaCDac2BPh1IJ1oRUrDUyxHrNRzaU2TxQPS8TSL RXJpEgLuKSQRYRFAk4x+ssUzAT3AM3scmUsqU X-Received: by 2002:a5b:1c7:0:b0:dcb:f7a0:b031 with SMTP id f7-20020a5b01c7000000b00dcbf7a0b031mr9837906ybp.50.1715022288568; Mon, 06 May 2024 12:04:48 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240327022903.776-1-justinjiang@vivo.com> <5cf29162-a29d-4af7-b68e-aac5c862d20e@amd.com> <23375ba8-9558-4886-9c65-af9fe8e8e8b6@amd.com> <40ac02bb-efe2-4f52-a4f2-7b56d9b93d2c@amd.com> <4fedd80c-d5b6-4478-bfd3-02d1ee1a26e5@vivo.com> <2ebca2fd-9465-4e64-b3cc-ffb88ef87800@vivo.com> <289b9ad6-58a3-aa39-48ae-a244fe108354@quicinc.com> <8ca45837-cbed-28da-4a6f-0dcec8294f51@quicinc.com> <83605228-92ee-b666-d894-1c145af2e5ab@quicinc.com> In-Reply-To: <83605228-92ee-b666-d894-1c145af2e5ab@quicinc.com> From: "T.J. Mercier" Date: Mon, 6 May 2024 12:04:36 -0700 Message-ID: Subject: Re: [PATCH] dmabuf: fix dmabuf file poll uaf issue To: Charan Teja Kalla Cc: =?UTF-8?Q?Christian_K=C3=B6nig?= , zhiguojiang , Sumit Semwal , linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, linux-kernel@vger.kernel.org, opensource.kernel@vivo.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, May 6, 2024 at 2:30=E2=80=AFAM Charan Teja Kalla wrote: > > Hi TJ, > > Seems I have got answers from [1], where it is agreed upon epoll() is > the source of issue. > > Thanks a lot for the discussion. > > [1] https://lore.kernel.org/lkml/0000000000002d631f0615918f1e@google.com/ > > Thanks > Charan Oh man, quite a set of threads on this over the weekend. Thanks for the lin= k.