Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp442173lqo; Wed, 8 May 2024 04:52:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUtc4J392njt+63Ktk0iysGwZYzvf5w8+wxXuMr7ZiDKtgpkCytOFuHEJ6vNlPEldy/3oOc7qganWaXVRZBgbl9eORsjWy1yIotNKrdTA== X-Google-Smtp-Source: AGHT+IHlezU/mq5AQXLE5PvrAAUO1zhxrKEePpaegx0V8USqEh0Sao0zuAvhTAykYMXIyWWh4vRn X-Received: by 2002:a05:6359:4c8b:b0:192:59ac:6694 with SMTP id e5c5f4694b2df-192d3156be8mr257347555d.16.1715169149892; Wed, 08 May 2024 04:52:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715169149; cv=pass; d=google.com; s=arc-20160816; b=K42brg/Xw0zBUjZuA0Dr8cwwlioasDLKONsyWEBx2/naifm92rtFTAiUugHVthq117 +R9kDfDFLxEYooGjz5CY6XYbTqRYeI8N6Flr4KokrHulH/+nCKUTGACb6WQzM+yxwPeg 7jyTJCnWA/G1jh4LQ1zQXNWG6iiS+6felBtHHyxBtFhR2d+0A6r8bc0J6F2skB8lwPOC 8D2QFwbQB7Lhmg2mq3c4An3wQTLHhCzm/kwyValPe3w4joq+2BoqUdjuaJRxr/nbHkUV Df/78LD1UYN0HbnxSu6JgNCRH+uN0Dl10PHPXbrPQjw/Aq57/rPRZK5Qu+Yel+x6A2lj MWuQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:to:from; bh=3TcpGLamPR+er3cedcxqpNcBb7/RyBJ4tTHiLInhVpI=; fh=pRJqm84zH18p3KTFjd9mP3bBHvBQl7hDEsUjw3/J70o=; b=wrytTy1OmuhVU4NEOHjyxi4ka0kMgT/eo2hsTW/5bx+M4ttIBv8yN4cMXeFLuNT6XZ erC9zEH6KnZcQiZKRxWxtqYhl+OddBIH3NwxEj/St+40m79v/Zmw0eBicmTVqBDonCrd sguki1O9KxHrjYooMY15EwtaLmwO6MMlSBzHkmHRTKsuoZZXf9Lw7bn0INvMjiVqUOdo CKHPbgusv7d54tjVeJ6u+QU74wrhUphltInhfh2lZ015qp/7eT7NHyokzi8ud498DEhM uKLdiYZnclMJQZO5/JI8N1sPU/MdaUrTaXazvvR2UiSfrcz4TssAUQH3ziEkxs7KgJl3 Rwog==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=aculab.com dmarc=pass fromdomain=aculab.com); spf=pass (google.com: domain of linux-kernel+bounces-173182-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173182-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id k15-20020a636f0f000000b005f8080d566asi12747746pgc.699.2024.05.08.04.52.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 04:52:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-173182-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; arc=pass (i=1 spf=pass spfdomain=aculab.com dmarc=pass fromdomain=aculab.com); spf=pass (google.com: domain of linux-kernel+bounces-173182-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173182-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.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 3998D285F2C for ; Wed, 8 May 2024 11:52:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A014E839E6; Wed, 8 May 2024 11:52:16 +0000 (UTC) Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.85.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 77A4282876 for ; Wed, 8 May 2024 11:52:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.58.85.151 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715169136; cv=none; b=frF3Z6i9iZ8XdbKk64VaDvPiR4PAP3sdMc/hyzGHROUIyX/uDJ0OUB5RExyZnu94rSSeKo4895USr+QbpPCsxt4qCFDLFHnPW/c+XeEULrRTOnHIjCTErNDgvbh5aBy6WlM11Pcam9YtvWPfFdgzrfr4HCqFaUcvKspLxfHUpJE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715169136; c=relaxed/simple; bh=3TcpGLamPR+er3cedcxqpNcBb7/RyBJ4tTHiLInhVpI=; h=From:To:Subject:Date:Message-ID:References:In-Reply-To: MIME-Version:Content-Type; b=EUxRBh8V+uiOuyewowKk6TkNyOnjUKVWOzgK6p6d0xgRWoIxht04hDJ29VU8vAbkC1Kwt3EMI3/MIgV7YcTT7rFguVid5vmnAQ+LU7oKBQdO2jtC053HafSp+pnJWgX68/W4GddxkIhEItAUjgUXkuKtcZknWWFczgM5IGZs5VE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ACULAB.COM; spf=pass smtp.mailfrom=aculab.com; arc=none smtp.client-ip=185.58.85.151 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ACULAB.COM Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=aculab.com Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with both STARTTLS and AUTH (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-28-ejStQR8JMFGrAgvUcnec0Q-1; Wed, 08 May 2024 12:52:11 +0100 X-MC-Unique: ejStQR8JMFGrAgvUcnec0Q-1 Received: from AcuMS.Aculab.com (10.202.163.4) by AcuMS.aculab.com (10.202.163.4) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Wed, 8 May 2024 12:51:40 +0100 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.048; Wed, 8 May 2024 12:51:40 +0100 From: David Laight To: =?utf-8?B?J0NocmlzdGlhbiBLw7ZuaWcn?= , "T.J. Mercier" , Charan Teja Kalla , 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" Subject: RE: [PATCH] dmabuf: fix dmabuf file poll uaf issue Thread-Topic: [PATCH] dmabuf: fix dmabuf file poll uaf issue Thread-Index: AQHaoId+JYKtMQTt+U6dUCQNubR7xbGNNzKw Date: Wed, 8 May 2024 11:51:40 +0000 Message-ID: References: <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> <8915fcc1-d8f1-48c2-9e51-65159aaa5a3b@amd.com> <44b08793-cf44-4cbd-a3bb-583af351ab9e@amd.com> In-Reply-To: <44b08793-cf44-4cbd-a3bb-583af351ab9e@amd.com> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 RnJvbTogQ2hyaXN0aWFuIEvDtm5pZw0KPiBTZW50OiAwNyBNYXkgMjAyNCAxNTowNQ0KLi4uDQo+ IEkgYWN0dWFsbHkgaGF2ZSBiZWVuIHRlbGxpbmcgcGVvcGxlIHRvIChhYil1c2UgdGhlIGVwb2xs IGJlaGF2aW9yIHRvDQo+IGNoZWNrIGlmIHR3byBmaWxlIGRlc2NyaXB0b3JzIHBvaW50IHRvIHRo ZSBzYW1lIHVuZGVybHlpbmcgZmlsZSB3aGVuDQo+IEtDTVAgaXNuJ3QgYXZhaWxhYmxlLg0KDQpJ biB3aGF0IHdheT8NCllvdSBjYW4gYWRkIGJvdGggZmQgdG8gdGhlIHNhbWUgZXBvbGwgZmQuDQpS ZWx5aW5nIG9uIHRoZSBpbXBsaWNpdCBFUE9MTF9DVExfREVMIG5vdCBoYXBwZW5pbmcgdW50aWwg Ym90aCBmZCBhcmUNCmNsb3NlZCBpcyBhIHJlY2lwZSBmb3IgZGlzYXN0ZXIuDQooQW5kIEkgY2Fu J3Qgc2VlIGFuIG9idmlvdXMgd2F5IG9mIHRlc3RpbmcgaXQuKQ0KDQpRNi9BNiBvbiBlcG9sbCg3 KSBzaG91bGQgYWx3YXlzIGhhdmUgaGFkIGEgY2F2ZWF0IHRoYXQgaXQgaXMgYW4NCidpbXBsZW1l bnRhdGlvbiBkZXRhaWwnIGFuZCBzaG91bGRuJ3QgYmUgcmVsaWVkIG9u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