Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp872137lqm; Wed, 1 May 2024 20:10:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVgEYNOHebjkAjRSMdf28JaId0k1Fzxz+pzkFIZ7fs2OhC3gJnG+rYk8QQ51/yxz7v7ds3DkBDabhybiNd0G62/lWOHAcE1Z76sTFj+1Q== X-Google-Smtp-Source: AGHT+IGW52TeJP7MG9wJ8hkLt4njlsWx05CsGOfwbE9YZfFHZ8LeFMk06PRrB4ULutwaeGYgngRQ X-Received: by 2002:a05:6870:19:b0:222:99cb:2215 with SMTP id a25-20020a056870001900b0022299cb2215mr877643oaa.28.1714619443646; Wed, 01 May 2024 20:10:43 -0700 (PDT) Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id jw28-20020a056a00929c00b006ea83747d2bsi188448pfb.244.2024.05.01.20.10.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 20:10:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-165935-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Ve5t+D2w; dkim=pass header.i=@mediateko365.onmicrosoft.com header.s=selector2-mediateko365-onmicrosoft-com header.b=RV1WGeZ0; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-165935-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165935-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 3FA15283AB8 for ; Thu, 2 May 2024 03:10:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 745041B299; Thu, 2 May 2024 03:10:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="Ve5t+D2w"; dkim=pass (1024-bit key) header.d=mediateko365.onmicrosoft.com header.i=@mediateko365.onmicrosoft.com header.b="RV1WGeZ0" Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) (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 5BADB14292; Thu, 2 May 2024 03:10:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=60.244.123.138 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714619433; cv=fail; b=PyIDWTS3ttzOyyXQ0KLHu/jHeqNTXt64vYFKIGM5/3JocVxNYSgjEz4BMtVvL7FwJqnnXL8nQUWA87TRMsRt/DQ2sPufgsovy/zHb8cZs5QgeKYoHoIkzA3QvJZREh3H9CuyKfufXD4kKacC3RCiQPQ+3aovvyqwvszUB8OTAuU= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714619433; c=relaxed/simple; bh=RkURepAiTBbswo2FKVZ7oH17CJKZrj5R3627Ow8abLI=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=CehdWb6AYz7BBBWRMdk6qEhBsjl34EqORRwa9Kag3aZ6leQcgsNwMR1YeqMkLKZKIM9+4o6cVyJ1a7J42FnCh2hQ5rNVIoURiE0TND39XspHWf1cknLRBYbJLCrq3i+wDrn8FDoUke3w1XWh3XhzNy+wmaO/M2CrF6jikgnz5GI= 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=Ve5t+D2w; dkim=pass (1024-bit key) header.d=mediateko365.onmicrosoft.com header.i=@mediateko365.onmicrosoft.com header.b=RV1WGeZ0; arc=fail smtp.client-ip=60.244.123.138 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: 86709594083111efb92737409a0e9459-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=RkURepAiTBbswo2FKVZ7oH17CJKZrj5R3627Ow8abLI=; b=Ve5t+D2wu8xX4a/tiUyWZLPaKHDV/4lhUszCk2S5SR2TdTqyncdLbjEkM2E/2i0wbvGBI3LXjybjQ0tCEy5YsLDtkZqoHZDVevKHfANk+hXWPvtWEDcJASoICFfB6cLVYMOyscrBvJm0PEpMjOXrzd/lALs4cIzLLSRg/tWVkxg=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.38,REQID:67707b2e-f67c-496b-aa2e-26a8c19b96ac,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:16325983-4f93-4875-95e7-8c66ea833d57,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: 86709594083111efb92737409a0e9459-20240502 Received: from mtkmbs10n2.mediatek.inc [(172.21.101.183)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 141310031; Thu, 02 May 2024 11:10:27 +0800 Received: from mtkmbs10n1.mediatek.inc (172.21.101.34) by mtkmbs13n1.mediatek.inc (172.21.101.193) 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 11:10:26 +0800 Received: from APC01-PSA-obe.outbound.protection.outlook.com (172.21.101.237) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Thu, 2 May 2024 11:10:26 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kgx2i8UzydeLSU8ToP986ZSfDEpVW5IAKhKdCJLmUPFEmi/JjXVy2UWvaf5+hKT3ZddJQtlF+99U6zoXcCqeOt1O1FOTapFklglFXH345vNidmwCgC+pntujYnMvYTOTAsVSXoBRVTUCjUzXtFNC4RjV317ojwIACro2uy5spHICjx5zWblTU76UVJE+uk7HewEWmfV0rD70qljfZ6EsRhOowqLvXTJ09fgcOwjxA/kYy5DVBRHFDwrYa7S9bASJgLc5kFKv2HPC4XmkLFr3BSNarQ5GIQ4NxpqkkaWPF8U/ARtLjQULiWtLvJ+6JD2JNWXkzl7eUAOUXN2xPAVu5w== 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=RkURepAiTBbswo2FKVZ7oH17CJKZrj5R3627Ow8abLI=; b=OX2Ddujfnb2E9PHeQLDaB1Bt7f2/QVPZd0BokAvh9JaToArEI6wsOv9JsRMS+uDZeF147MZsaUwP2DtQRvzqL1NYd7cuZm2parkd+Cjytvw22GQV+52iAWKxK6PFzWm7bZFLK+p+2GadwjdFhdjE5B0mEEVse+iS2Y7fYATGVG7lurBCAIhX1hkwtSUbgPSHh4SLcrOg6DfH9UuyswmbpggOFjj6GEU2SG9vYkP3n9L9NhQJM0+j4G+pnSd+Oeg7YdUzG5C3pMrVPFJYVl+TVdJDwjk4OQmW4TJPTwugFCb9KnIs+OxFZTndV6TNJMAxL04+HWNzYEPMfqnwzIKDKw== 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=RkURepAiTBbswo2FKVZ7oH17CJKZrj5R3627Ow8abLI=; b=RV1WGeZ0MGdN/IcvRVBzVFWR8DqmjeG71jonMrg207gf0+/Ec9Bno32IxdGDz8djdBrrcwHq6nq5XklVA39VA2rBUL2Pyfa2bT/yaS5mZOFGfoL3etYkfUskipt03eWxCe/7Q+zbX6BzeQieXqs+CwIcFheNlj0MiiD3L+yrPIM= Received: from TYZPR03MB7183.apcprd03.prod.outlook.com (2603:1096:400:33a::11) by JH0PR03MB7716.apcprd03.prod.outlook.com (2603:1096:990:16::5) 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 03:10:24 +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 03:10:24 +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+aQGAgAEyugCAA7F4AA== Date: Thu, 2 May 2024 03:10:24 +0000 Message-ID: <661f101456506db945ccbd94700a0f47b95f91e5.camel@mediatek.com> References: <20240426073410.17154-1-Tze-nan.Wu@mediatek.com> <20240428202837.0cabca17@rorschach.local.home> <20240429144626.7d868ad3@gandalf.local.home> In-Reply-To: <20240429144626.7d868ad3@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_|JH0PR03MB7716:EE_ x-ms-office365-filtering-correlation-id: ebf94aab-b6a4-4b0f-a610-08dc6a55691d 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:13230031|366007|376005|1800799015|38070700009; x-microsoft-antispam-message-info: =?utf-8?B?NkhwcHNpM0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3c1UwWENjKzBM?= =?utf-8?B?ZHJ1cDgydHl1RHZOcWtodz09?= 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)(366007)(376005)(1800799015)(38070700009);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?L3BrdUJBY3M0amVTQlZCN3h6Z290bE52amFXTUZYQnFRYUxlbE02cEZGeGFQ?= =?utf-8?B?OGM5YkNsY3kwL1J1VW4wQXM2R3hDRHdodCtzZkdObSsvSmR2UEsrcGcxK0NW?= =?utf-8?B?SGNHRmxCNmErNTJOR3Jub0d6eXpXSzRtUDYzZnlkenE1MGZ2cjQ4cWlydEtp?= =?utf-8?B?bnM4STBmRXQ2ZzM0QnRTdVNPbWREQVRjU3VSRjdKMnFQUHJhQTZ4OGZJUWxI?= =?utf-8?B?YzBZZ0IrZDJlREpqT0dQazNqbm9uUXFud05TUTl6TTVyVVpvN2lGd29hWlRj?= =?utf-8?B?UTlxYjFVdFBTQlRLRG52c3ViZ095MkhYRnliYVJzTlZyN3RtdlJjT1YyMGhK?= =?utf-8?B?UExvRGdsby9ENW9CQTdNTy90Y3Bva0NCQ0U3K1RHaHZWQ3NMUkVESFRLcUd3?= =?utf-8?B?alZ1Mkh6TmNGMUd2WTZ1L1FVVzE2ZFJ3N1VHYlR3bjlJT2M2WFhuVFp1eUdv?= =?utf-8?B?ZUxjSHJSanVEeXQ5eVFOcURPL3lMSVRlWW5uaG5IS2ZFZFlDNG1zVHBvdXY2?= =?utf-8?B?M3BXVVF1YXhaYXBjMUdXSHozNzZyb0lyd05JUVVmcENENWJrblRRQVpnNzd1?= =?utf-8?B?c3U4RXIyR2JNcnFvcCtsbkdmR1VlblBndUE4bXVpcGN5MEh3dFVURzZ1UElO?= =?utf-8?B?dFlzcGc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Y1h4N244d25GY2lSUGhRcXYvWEppM0x0UHRGYVdPRHBWWUJ5?= =?utf-8?B?MHFxTXc4QlREUElZK1lXeGpNQW56Rzkrckpud05GOWVRSk45b1J6YW5haU92?= =?utf-8?B?T05kQjJ0YjBaL3dYNDZzMVRwWDhYdW0yeWlpLzJlU1l4d3Uyc0Q4RVRUYy9t?= =?utf-8?B?Zkk4OEVWS3JVK0U2YUt5WTk4bTF0VFNBc05SOEJnOC9vQjg4TG9iRFAyakJJ?= =?utf-8?B?R1QxZ2VEQzZ6b1V6cU1xbDE3cVFtNmlrQm85YWlndllncWlQWDU4R0hGM3Vq?= =?utf-8?B?U2l4dVVPYXA2V1VqWU51RGZVbnV0dzZFdFp3WXk3UERMeTBkd3VLYTBCaFAz?= =?utf-8?B?S1Nia3FHWkVUak5xaGg5ZFBJa1dCWEo3azZtc2dyci9Rdm5RakxQMjlxalZv?= =?utf-8?B?M0trUm5nQkxjYStMU1dTZk14Sjl5T203M3h0dlBmdE0wNkVuZzZsdFR4TEpz?= =?utf-8?B?RHhGUzE3eVp4SytvaU9HL056NTQ2WmcxQndyOE1HWFBEaG1BaXJwa2ltM3Q3?= =?utf-8?B?R3ZTbUpBS2FTV3Z3VXpPK0xJZnBDUVF1MVNrNlZJY1pzOHpCeWlnT29ObVc3?= =?utf-8?B?THc9PQ==?= Content-Type: text/plain; charset="utf-8" Content-ID: <86E044F6CE2D4846AA9569B600C9E333@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: ebf94aab-b6a4-4b0f-a610-08dc6a55691d X-MS-Exchange-CrossTenant-originalarrivaltime: 02 May 2024 03:10:24.7524 (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: Lb/Qdh4xwodGuP0ekn96BFqoroGbg6KumcZ0PV+HzSSFrjvJP16vMQ/I7FQ55Yx1kDhaCSapE8jvqqRfYLbENQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: JH0PR03MB7716 T24gTW9uLCAyMDI0LTA0LTI5IGF0IDE0OjQ2IC0wNDAwLCBTdGV2ZW4gUm9zdGVkdCB3cm90ZToN Cj4gIAkgDQo+IEV4dGVybmFsIGVtYWlsIDogUGxlYXNlIGRvIG5vdCBjbGljayBsaW5rcyBvciBv cGVuIGF0dGFjaG1lbnRzIHVudGlsDQo+IHlvdSBoYXZlIHZlcmlmaWVkIHRoZSBzZW5kZXIgb3Ig dGhlIGNvbnRlbnQuDQo+ICBPbiBTdW4sIDI4IEFwciAyMDI0IDIwOjI4OjM3IC0wNDAwDQo+IFN0 ZXZlbiBSb3N0ZWR0IDxyb3N0ZWR0QGdvb2RtaXMub3JnPiB3cm90ZToNCj4gDQo+ID4gPiBMb29r aW5nIGZvciBhbnkgc3VnZ2VzdGlvbiBvciBzb2x1dGlvbiwgYXBwcmVjaWF0ZS4gIA0KPiA+IA0K PiA+IFllYWgsIEkgZG8gbm90IHRoaW5rIGV2ZW50ZnMgc2hvdWxkIGJlIGludm9sdmVkIGluIHRo aXMuIEl0IG5lZWRzDQo+IHRvIGJlDQo+ID4gcHJvdGVjdGVkIGF0IGEgaGlnaGVyIGxldmVsIChp biB0aGUgc3ludGhldGljL2R5bmFtaWMgZXZlbnQgY29kZSkuDQo+ID4gDQo+ID4gSSdtIGp1c3Qg Y29taW5nIGJhY2sgZnJvbSBKYXBhbiwgYW5kIEknbGwgbmVlZCB0byB0YWtlIGEgZGVlcGVyDQo+ IGxvb2sgYXQNCj4gPiB0aGlzIGFmdGVyIEkgcmVjb3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