Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp896283lqm; Wed, 1 May 2024 21:23:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUFxb3vtBH9NYQk0UMhjTEC9E8nGKgntPxHSQlf7Y03A4MYn/147Q4UqOeEFiglTYyA8Cz3nS4LKCmf/QspPWso3W3OuzaD+kznSGoE6w== X-Google-Smtp-Source: AGHT+IG1Z7c6//+rjWZMl0fWGLzcyUJ3qxxfXo4x/A2HwnobDEQeZ3OqNW1tlwaHnDQm+K7RBcu8 X-Received: by 2002:a05:622a:1450:b0:43a:d17c:a5bc with SMTP id v16-20020a05622a145000b0043ad17ca5bcmr2998826qtx.21.1714623805012; Wed, 01 May 2024 21:23:25 -0700 (PDT) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id y6-20020a05622a004600b0043a90715475si202644qtw.79.2024.05.01.21.23.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 21:23:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-165960-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=oFSMgaP1; dkim=pass header.i=@mediateko365.onmicrosoft.com header.s=selector2-mediateko365-onmicrosoft-com header.b=d2SBZ75c; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-165960-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165960-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id ABC5A1C21205 for ; Thu, 2 May 2024 04:23:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7F7F21BF47; Thu, 2 May 2024 04:23:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="oFSMgaP1"; dkim=pass (1024-bit key) header.d=mediateko365.onmicrosoft.com header.i=@mediateko365.onmicrosoft.com header.b="d2SBZ75c" Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) (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 B4C22171AA; Thu, 2 May 2024 04:23:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=210.61.82.184 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714623797; cv=fail; b=EeZk2aWFA4FEmnuSqg1kxNov1b4iHoY02epTHxbtbUJT9RNeQgDUawk5qpeOKBYFgdUg5E3+2gfagc2H3KkLP1XW4LfemWmm3EpGYkAF5r5MRjQUusOmWs87BwvYlx9vKP7/bXtd1qwznAxog3B2phfiO7mC5DBTWrdl5pbuq5k= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714623797; c=relaxed/simple; bh=swxhv+BmmQBRZy2ZE15cVMpJcZC/iUXfGkl6rvwkzcY=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=quae/ivt+P5Zbg1IcdbpSSf8AkfLqbiWi66oXYtK/kW2EGOMbJbJ/RsIpDotkCq1MPuMUE3c7AAATZal8rAU3utiSXUnZkCksGqrWV/Zxn+eGoQslEiSyCpZ9l/lTrz/GKai2vzXIYMSiB27ZpemgTfP7wma4Ucgz4jwJZDu99M= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com; spf=pass smtp.mailfrom=mediatek.com; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b=oFSMgaP1; dkim=pass (1024-bit key) header.d=mediateko365.onmicrosoft.com header.i=@mediateko365.onmicrosoft.com header.b=d2SBZ75c; arc=fail smtp.client-ip=210.61.82.184 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mediatek.com X-UUID: ac070770083b11ef8065b7b53f7091ad-20240502 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=MIME-Version:Content-Transfer-Encoding:Content-ID:Content-Type:In-Reply-To:References:Message-ID:Date:Subject:CC:To:From; bh=swxhv+BmmQBRZy2ZE15cVMpJcZC/iUXfGkl6rvwkzcY=; b=oFSMgaP1X1fh+jXJyMR5AJCkTG0VhvYerMRXPbEQ8fycLl11VS/nyoY+N9nSSiCPDB1lviQ9i2NtKp+Eb7ebvq/YR02Dilsm+QMm+2CdUqsJPKxMFS9TZnT6FAI2PjWyg0g81yWGsrHTtmAlrw/1xYPb9XvQ/18KB3Z2kB6JhPE=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.38,REQID:8f954a97-d0d7-42ca-8c14-a1a228a5a866,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:82c5f88,CLOUDID:a6364192-e2c0-40b0-a8fe-7c7e47299109,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,RT:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0,LES:1, SPR:NO,DKR:0,DKP:0,BRR:0,BRE:0 X-CID-BVR: 0,NGT X-CID-BAS: 0,NGT,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR X-UUID: ac070770083b11ef8065b7b53f7091ad-20240502 Received: from mtkmbs13n1.mediatek.inc [(172.21.101.193)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 667929636; Thu, 02 May 2024 12:23:05 +0800 Received: from mtkmbs10n2.mediatek.inc (172.21.101.183) by mtkmbs13n2.mediatek.inc (172.21.101.108) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Thu, 2 May 2024 12:23:04 +0800 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (172.21.101.237) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Thu, 2 May 2024 12:23:03 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=R/xfJWuzQfgAh7v95lrW8B3fV7/fGw0hlN7Cxr0qFbzhOCqlgcR2CI76x1Y/NTqGilcAu85fKBYDH46Okzh0WdYnyWwG2KeT4W5MfqfMM/Py724fn71bDpY1WI41xt7HepbkUeDQyBczXJsdMAYYIKXvE1Fxpw2FGTCB/Uz35QyQvp8AVpv+T5bVXNbpI8INCAw0Aj/1kzMCsU0mUi4PohKHTl6Gsy7DrDjeJga8g8dJ1QmkO/IrNbNOJdbmEhkalpYlhyE9wuZI6haHLL9p/PilAgV+QRLufb/Qhkwz0pLaWRCgTgCx8/CmLjiWGYzBua6k6X89OMqO9HMPtxhAOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=swxhv+BmmQBRZy2ZE15cVMpJcZC/iUXfGkl6rvwkzcY=; b=B6km1BT16YaCh7fkkyZnC+gQYTwv1pTDEk+aZHhX/YPyu1yCeXySZQnRnDBxYU05qMPONGE3xGpWz4qXq7BtVdpz2WVJ7R/jvrz2wKI859pe3z7T9pyxmD2GUhwyWMsb/66N1pn5ByZygUoWeObFVI2pB2/tRXbZm2/HubbTjnyzD6v5qowqAFZuWQQdLE5py5p+n8mpYnnTyIk7HyW6KenuxQDyWarQr7ZxlS6kRj3ZXntPfsyoM1dIf4FLgEX1Epiy31lHvYfb5Lyi1YZb+V7zQPPKXfSQKvLtBWUpyYF0Z4DRg9yM/KZvs5M7CBn1qaEYqcg+KThTa//s84eA5g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mediatek.com; dmarc=pass action=none header.from=mediatek.com; dkim=pass header.d=mediatek.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mediateko365.onmicrosoft.com; s=selector2-mediateko365-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=swxhv+BmmQBRZy2ZE15cVMpJcZC/iUXfGkl6rvwkzcY=; b=d2SBZ75ccXReUKAQBvpjxKEsoJaGYg3nMdtVoxnqUr83nrIMLXDRkkseUw4LzT32ywmV4JDuHXcU/E5MEdh5IPWzFswswQy1/WUvcncHd6GtTHZib2VrdE3JdmglVQGkXM0uhKmRxYNIQasd85Go446mH/U9GDJ0VVxpJi9x7Io= Received: from TYZPR03MB7183.apcprd03.prod.outlook.com (2603:1096:400:33a::11) by SG2PR03MB6825.apcprd03.prod.outlook.com (2603:1096:4:1d0::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.26; Thu, 2 May 2024 04:23:01 +0000 Received: from TYZPR03MB7183.apcprd03.prod.outlook.com ([fe80::343a:d17a:5383:4b1a]) by TYZPR03MB7183.apcprd03.prod.outlook.com ([fe80::343a:d17a:5383:4b1a%7]) with mapi id 15.20.7544.023; Thu, 2 May 2024 04:23:01 +0000 From: =?utf-8?B?VHplLW5hbiBXdSAo5ZCz5r6k5Y2XKQ==?= To: "rostedt@goodmis.org" CC: "linux-kernel@vger.kernel.org" , "linux-trace-kernel@vger.kernel.org" , "linux-mediatek@lists.infradead.org" , =?utf-8?B?Q2hlbmctSnVpIFdhbmcgKOeOi+ato+edvyk=?= , wsd_upstream , =?utf-8?B?Qm9idWxlIENoYW5nICjlvLXlvJjnvqkp?= , "linux-arm-kernel@lists.infradead.org" , "mhiramat@kernel.org" , "mathieu.desnoyers@efficios.com" Subject: Re: [PATCH] tracing: Fix uaf issue in tracing_open_file_tr Thread-Topic: [PATCH] tracing: Fix uaf issue in tracing_open_file_tr Thread-Index: AQHal6xCZTDOyK83d0m4QJA7T219GbF+aQGAgAEyugCAA7F4AIAAC0UAgAAJBAA= Date: Thu, 2 May 2024 04:23:01 +0000 Message-ID: References: <20240426073410.17154-1-Tze-nan.Wu@mediatek.com> <20240428202837.0cabca17@rorschach.local.home> <20240429144626.7d868ad3@gandalf.local.home> <661f101456506db945ccbd94700a0f47b95f91e5.camel@mediatek.com> <20240501235044.12fa3297@gandalf.local.home> In-Reply-To: <20240501235044.12fa3297@gandalf.local.home> Accept-Language: zh-TW, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=mediatek.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: TYZPR03MB7183:EE_|SG2PR03MB6825:EE_ x-ms-office365-filtering-correlation-id: e7eb7575-ed94-42ab-fa4f-08dc6a5f8dc8 x-ld-processed: a7687ede-7a6b-4ef6-bace-642f677fbe31,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA: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lacno3eVZw?= =?utf-8?B?NTkzQ2tudGpzSjZBTmR0bDNVVFY0UmprdGhOMVA1NkwyOExBL1p2cnc0d2pZ?= =?utf-8?B?RFJObmFTckdHOUt2c3lRQT09?= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYZPR03MB7183.apcprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(376005)(366007)(38070700009);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?d3FRbDdiZFlhK3VXTEE1L3MxdVBIVWJzRHFjbTV2dUg2emc4UFQ4Yjc4anRo?= =?utf-8?B?T0p5OGpUOGJCZ2ZUckV2MVBuVEJpa3RGVndabktHbDd5SHZOY0RzZElSQjN0?= =?utf-8?B?Qi85dUxMNmRabm4xMnpNUFk1WWpwM2hXVGt4cnZ4OUJVUWJIVEUzS0oxVXh5?= =?utf-8?B?a2RhWEkvZlZQVEZrN2lOZGEyWjA5RHl3OTRzeEhSbmhZa1c2ZnFQbmppcVpF?= =?utf-8?B?RU4rL2VnR2k1UFZnTG5NcWUzZ3QwVWx1YlJnd1BlSU96Sjhia1J1bGNjaEV6?= =?utf-8?B?eVJGbEwrWVUxUlVrT3cxYlhyRzAzcmVlSzM4UWNCT2pqT2IxS0dTMjFOQlFL?= =?utf-8?B?ekppQ3h0UVNJbURsR2ZTZTJsN2hmdjQ5ZGhWNmc5eUpBZUt0VjlKcmx4Y0dR?= =?utf-8?B?N2dOMzlydVZQNzAvUWloUkFIL1hSdTl4WG9BckpWVEFUV2F2YkZvZFFnQkxS?= =?utf-8?B?dkUzdFFVZ2VNTElBWXp2RlRxOHZoQ0RzOUZRTThHVlJkbmh1SWNKa0hicXc1?= =?utf-8?B?K1dWNDdWY3dxSC9VYzVUMVdmOGVaTVBuYmhyL3Q1S282WFhwRWdvTWwwWE55?= =?utf-8?B?ZF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Y3hTU3kybDZSSHdkdUxFZENTOG1aaG5wUSt1RHVtbzNBQ2x3UFRlSU51SS9S?= =?utf-8?B?RmRiTzVOUzlwZlFteWppcjlzbk9yaWtmS2VPTEk4YmhDQmo4dVpNbVppV2lC?= =?utf-8?B?Y3BLSlYrZHlzOHF6dXRMNFRiNW5IV2pkWk42ODhQa2UvZHhkWWNzU3JUZGs0?= =?utf-8?B?TEpHRUxOTDBFbFZGSHNzelNFcEpQeTVmME9WSTFRckZRNm5FY3FIb28zYXVo?= =?utf-8?B?QlB5aklYSzRZWThoUUVuZjZRVFhENEE1RU53UzVXMXR5QVVSM0tiOGF5VzBz?= =?utf-8?B?SExZQ2xoQUNzdFkxNDJCUUZSYnFVY0JHbk9zaVZoMHRiVkpRNUNwaEw4WUt6?= =?utf-8?B?Qy9PemlHNjB2SEFwczZGNSszbjhqblcxYWx0RUNPaDVVdjlsRzZZWXdORW41?= =?utf-8?B?cDgwbENkUnpPT3daY3RnTnRyU3ZIc2pxSTVRZHBjY3QwWHgrYmJidHJTUmRO?= =?utf-8?B?UFNXK1BocVFqUTcyVW1TNGxSU3NxZWVISnNMYmpOdGFGTTVneVllVmtFc044?= =?utf-8?B?V0N3MSsraXZnWXcybWwwUHlCUEZxeFpyb3ZRdDc0MUx5aVVBeHhXOU14Vitq?= =?utf-8?B?dzJ4VVptS3BGM0RkSTNGRkhCdjNWdlkzUmhEdjRvNWpmeGN1OHB2ZlZXUlRa?= =?utf-8?B?TEE9PQ==?= Content-Type: text/plain; charset="utf-8" Content-ID: <9B6BE1910872D34484C63CB83FF90F75@apcprd03.prod.outlook.com> Content-Transfer-Encoding: base64 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TYZPR03MB7183.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e7eb7575-ed94-42ab-fa4f-08dc6a5f8dc8 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 May 2024 04:23:01.2913 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a7687ede-7a6b-4ef6-bace-642f677fbe31 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: gDL/0FSXNFQzaQaLwQRLTf6LYq0b6WOhY4x/bl4ZySof7SAH5ioMGvtRSE8rE3+1ADmSViGa3UCeYCfU7aG+pA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR03MB6825 T24gV2VkLCAyMDI0LTA1LTAxIGF0IDIzOjUwIC0wNDAwLCBTdGV2ZW4gUm9zdGVkdCB3cm90ZToN Cj4gIAkgDQo+IEV4dGVybmFsIGVtYWlsIDogUGxlYXNlIGRvIG5vdCBjbGljayBsaW5rcyBvciBv cGVuIGF0dGFjaG1lbnRzIHVudGlsDQo+IHlvdSBoYXZlIHZlcmlmaWVkIHRoZSBzZW5kZXIgb3Ig dGhlIGNvbnRlbnQuDQo+ICBPbiBUaHUsIDIgTWF5IDIwMjQgMDM6MTA6MjQgKzAwMDANCj4gVHpl LW5hbiBXdSAo5ZCz5r6k5Y2XKSA8VHplLW5hbi5XdUBtZWRpYXRlay5jb20+IHdyb3RlOg0KPiAN Cj4gPiA+ICAgDQo+ID4gU29ycnkgZm9yIG15IGxhdGUgcmVwbHksIEknbSB0ZXN0aW5nIHRoZSBw YXRjaCBvbiBteSBtYWNoaW5lIG5vdy4gDQo+ID4gVGVzdCB3aWxsIGJlIGRvbmUgaW4gZm91ciBo b3Vycy4NCj4gPiANCj4gPiBUaGVyZSdzIHNvbWV0aGluZyBJJ20gd29ycnlpbmcgYWJvdXQgaW4g dGhlIHBhdGNoLA0KPiA+IHdoYXQgSSdtIHdvcnJ5aW5nIGFib3V0IGlzIGNvbW1lbnRlZCBpbiB0 aGUgY29kZSBiZWxvdy4NCj4gPiANCj4gPiAva2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