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 0610AC6FD1F for ; Wed, 8 Mar 2023 01:41:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229768AbjCHBlp (ORCPT ); Tue, 7 Mar 2023 20:41:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59832 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229529AbjCHBlm (ORCPT ); Tue, 7 Mar 2023 20:41:42 -0500 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4EBEBA2C14; Tue, 7 Mar 2023 17:41:40 -0800 (PST) X-UUID: 5b8c3b38bd5211eda06fc9ecc4dadd91-20230308 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=O8TV+n0E86mIpsHsR/NE+P7Dh5kJI0yOuXwyOmrcTy4=; b=GVMGuiYQKD1QS5YyOFPxsV9qhHgN05KbF/iRfPssAFWnPwoRlTw8Xg8ukUgKVFqiE5QRBle7jLZ42SEtdWaZjrqxV7sHHlq19W2Gh4xR6O9vcCi3PDZ4gZpg4JXlM5wbrEdRWFgrKGT9j0bKxSBEFMpQbYO47aaGsffJDvTM/hk=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.20,REQID:e4e2e5bc-a1b7-4680-8253-166f230757b4,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:-5,FILE:0,BULK:28,RULE:Release_Ham,ACTIO N:release,TS:23 X-CID-INFO: VERSION:1.1.20,REQID:e4e2e5bc-a1b7-4680-8253-166f230757b4,IP:0,URL :0,TC:0,Content:0,EDM:0,RT:0,SF:-5,FILE:0,BULK:28,RULE:Release_Ham,ACTION: release,TS:23 X-CID-META: VersionHash:25b5999,CLOUDID:1e0a88b2-beed-4dfc-bd9c-e1b22fa6ccc4,B ulkID:230307172758IQBBNO8X,BulkQuantity:34,Recheck:0,SF:38|17|19|102,TC:ni l,Content:1,EDM:-3,IP:nil,URL:11|1,File:nil,Bulk:40|20,QS:nil,BEC:nil,COL: 0,OSI:0,OSA:0,AV:0 X-CID-BVR: 0,NGT X-UUID: 5b8c3b38bd5211eda06fc9ecc4dadd91-20230308 Received: from mtkmbs13n1.mediatek.inc [(172.21.101.193)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 371908054; Wed, 08 Mar 2023 09:41:33 +0800 Received: from mtkmbs10n2.mediatek.inc (172.21.101.183) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.25; Wed, 8 Mar 2023 09:41:32 +0800 Received: from APC01-SG2-obe.outbound.protection.outlook.com (172.21.101.239) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server id 15.2.1118.25 via Frontend Transport; Wed, 8 Mar 2023 09:41:32 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=coIOCTxM0FLhe+mt33dx0PBwabIeeMkw1U806ng7ch0eye9EJs0sG65+dGr1rvkmkzH9tha1+b327GhTsTZxGJU/C/VOdneuJvpVlp1XowzoCMS3YGjw0plFF93PLYxJMWMHi6K0v54zam5+HDjVrHa2MLzTrw4/VYL/Vf6uaKIAlm4zH293q+HmTKuFzttmlMaJLTq93GftUOpiaTZ8Az6YCSW7NhIaPRKzuBcCwEJMNP+1cxjca3TopQGz1wmSSsibhbxTErwI6slt/u2PjoOykTbbW4bO3I4LGFOy4yHDw78ttBK2quuFYyua7ycC0qEL49QYG5/7yUGKb1E1cQ== 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=O8TV+n0E86mIpsHsR/NE+P7Dh5kJI0yOuXwyOmrcTy4=; b=OVG4tBfuq0HRAW94GGQeqan9OgtWtBZyZ8oO6mjLi4GPBn+W9SmPjiVNxALvM/lLbJsgN+spxhhZ2Evh+ghH6E2IykH7N7vo3lRzA6KBwK9dELwmALbe822YG4kG+e9XzcpfvscnraqyMWone7rtdELqC83xg9h3iEPTgCGYJmHIoL4YG9L23og/cOcaW5he6aAR2VInZDlJ1O9pBdgBIVdPXjI4TDtU0AK+juygoQDpeINlXegg6EHO7zhIBw17rbkJA1E4i+TTUzHJSFgvvXcU/alv799uu49CYiC//uFpvqvmzX9JiRDEC/Aw3VPYZona9h4cJwjUwKyRpd6BGA== 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=O8TV+n0E86mIpsHsR/NE+P7Dh5kJI0yOuXwyOmrcTy4=; b=GdDUPjQ8GuFXpKf0Bbp51IdZBSJkJ1xKNZDRp4iaerO8tbGv/ku/0ujtYr5oJJyljE53cv98NOTyUh/qxswF+8BKTF/A2sk9IiPkgqmvUgExS/ors3ezCp0/m1VnufwoxwUv+neR2jtXNT+eSDLixBV/nfqhXcaoNBx/HCrPdaE= Received: from PUZPR03MB6186.apcprd03.prod.outlook.com (2603:1096:301:b9::5) by KL1PR03MB5634.apcprd03.prod.outlook.com (2603:1096:820:3b::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.28; Wed, 8 Mar 2023 01:41:30 +0000 Received: from PUZPR03MB6186.apcprd03.prod.outlook.com ([fe80::804e:d33a:c275:6d52]) by PUZPR03MB6186.apcprd03.prod.outlook.com ([fe80::804e:d33a:c275:6d52%8]) with mapi id 15.20.6156.028; Wed, 8 Mar 2023 01:41:30 +0000 From: =?utf-8?B?S3lyaWUgV3UgKOWQtOaZlyk=?= To: =?utf-8?B?SXJ1aSBXYW5nICjnjovnkZ4p?= , "hackerzheng666@gmail.com" CC: "linux-kernel@vger.kernel.org" , "linux-mediatek@lists.infradead.org" , "linux-media@vger.kernel.org" , "mchehab@kernel.org" , "zyytlz.wz@163.com" , "alex000young@gmail.com" , =?utf-8?B?QmluIExpdSAo5YiY5b2sKQ==?= , "linux-arm-kernel@lists.infradead.org" , "matthias.bgg@gmail.com" , "angelogioacchino.delregno@collabora.com" , "1395428693sheep@gmail.com" <1395428693sheep@gmail.com> Subject: Re: [RESEND PATCH] media: mtk-jpeg: Fix use after free bug due to uncanceled work Thread-Topic: [RESEND PATCH] media: mtk-jpeg: Fix use after free bug due to uncanceled work Thread-Index: AQHZUNol+KoTCb2NbEShoW8BcHTMZK7vGQcAgABRWYCAALIggA== Date: Wed, 8 Mar 2023 01:41:30 +0000 Message-ID: References: <20230306062633.200427-1-zyytlz.wz@163.com> <57c17bfd-83f3-fcce-0eab-e28469fb0ced@collabora.com> <11c2bce1e5286ad3a9a5be2ee59c2beac168f135.camel@mediatek.com> In-Reply-To: Accept-Language: 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: PUZPR03MB6186:EE_|KL1PR03MB5634:EE_ x-ms-office365-filtering-correlation-id: 81086d13-0b46-4749-984c-08db1f763d9d x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 6GuEIgr3YSXquOudEozXR1zqHeJsdhNT387jJgU0tLFdOE/XUhOSGP/hPG3GBv1G9M/l75RvZeERp/SrS/tmJZFfmDecdAvtpQNKXUyR6kkdXButRzbfsBUxIJURDstL9rxar0QkrrzNwhhaA1eGIst/+gkdoI6dhBHCinjfwd5LlnDpP+tn5N0u+D0zvZKtlT0RK5h1+XYlNjt1UDjAiCd0e500dDhevsOQ2oAOfc6BvNjhb1iUdv+uVX0h4t47ibb0cL0HYCEkocyPD+pHb1Nw4Y/1nr+zgr39EufDFMqZ3bQYJZZ7QhCVnWTC8/D1BJwTClY/+NqqYhTlNT1TKzBJVHHQ42Iz0lXTX2Iq8dx3BAKTkJiWlG7PkRlMFoBB1Jyvhdn7dkwqfm5Sld9g0N70OaXz+h/cgFQhGj8seul+pwrflsztwmhsci0M59UgGZI7+12CkaAQG1h2kKuxeIjWZ3n8xpCg8vfOTdSNGzR7fWmcyA+tu0crUpCRI0qlzCYZIY5yy5c+ojdjXNjkAy2iT7M06ZyyeKxaceGHm+DNKH9xBJVaTKYK4+9HI/sjY//F0d8FSGx4L5dW9asKBLdbsyEojP7Fn0xURRQTY/GN8bAmP9CPKqbfxNR8epu1O9WCsPSqVGeAtSt7FoDq8prvBvKUfWxZY0JQFUOCj7aVnQJXRRkCwLDhzsnoUp8ndRFrnG9bekK+GTEu6G43f+KQQvkhyb0WVn7Gzk3hJzPv8gDPTLGTMQOMrjUxY5QE x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PUZPR03MB6186.apcprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(4636009)(396003)(136003)(376002)(366004)(39860400002)(346002)(451199018)(85182001)(36756003)(76116006)(66946007)(41300700001)(4326008)(66556008)(8676002)(2906002)(64756008)(66476007)(5660300002)(66446008)(7416002)(38070700005)(86362001)(122000001)(38100700002)(8936002)(6486002)(54906003)(71200400001)(316002)(478600001)(6506007)(110136005)(91956017)(6512007)(26005)(83380400001)(2616005)(186003);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?bmErMG9VakZlZUdXYmVEMFdqTHp4Z0gyRWhpbFJjOFFlYVJjZWVNcWRNMnVw?= =?utf-8?B?dUhNTmY4MkNJZjYvb0Zic2pqcFRYMk5xaWpCY1cxeTNEVTQ4aFJ5ak9pRHlR?= =?utf-8?B?OUgrekxXRkE3NlJHanFDaDVZQmxpWjBzYnNEcnJUaWREaGY0SWR4MmYrNTd2?= =?utf-8?B?d0V5TUJuSm9Ma3V0bWZlU042aUZhTHJ4QlJrcXRsNUs2c0tJcDA2TGxqZm1x?= =?utf-8?B?S0Y5bjRBdGlKVWdPRzA3SENlejBLbHN6c21abWcxaXRIQXdldm8wcThvajR1?= =?utf-8?B?SlpscWlDeVlMcmZTekFzMmdFV2JtMUo5TVlhYVRlSEpHd1ZNb2F5VW9paFhC?= =?utf-8?B?SXJmZVkrczZXRjFrcjA2RjB6bWZJWVZrclNjUDJ3d1NsOXlsYklFRUJBK3oy?= =?utf-8?B?NkluNnJLSVA5cU4rcjh4elFSeFBvcHdmdmM3YWYzN0JoUlQwZ21JeVhCazNJ?= =?utf-8?B?WUFqZjZTVWd3N244OTNCeWdraXBidkxvUjFyVHJ4UG5tbGhmRkdRVTRyNWZq?= =?utf-8?B?RW90Z0gwZkcxMzhKakdLNVlEcEtMRmFpYkNOR3I2VStWdHdyYTU5TW1OU0Iv?= =?utf-8?B?UUUwY3dzZ1htS2VsTnB1TURHaStrOW15Qmw3V0Q2blJUQUFjM2xYU0FTNUor?= =?utf-8?B?WllacXprSGswRTJSS0NMb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?utf-8?B?NU1yL2NzSmN5bGQ5WXJxam0wem5tODV5Yk0yQkdPVDZIOXU0QnJwSWROR2pD?= =?utf-8?B?NXl4TEtwS3RvbmphYngwWXIxR09RRVBPWW1icndNd2EyUExyNitoMUJUdVRL?= =?utf-8?B?ZjlGL1YxcWR6UDN6eTljU0hIaGFqNHNGTTVnb0JCVHlDUG5Ub09XaEJIVlJS?= =?utf-8?B?ajVzVndOQjNaNFF2amtXV25NYkJ2MytYczNldTZBbUZsdHZxNGJ2and6cHQ1?= =?utf-8?B?UHI4dmkvVys1bDZPRHcvZTJ6UmpkdFJCSHZwZlI4U1lRVlJ1U2dDTjhsVTFx?= =?utf-8?B?MG1IV3N3N082Y2FZZ0Y2UlVtQTB6eVp2MlFDaGdTcCtOVmtHY3JQTW5DY2dj?= =?utf-8?B?Tk95RmU1OHR2TWNVQ0pVY3hIc256clNIaERlRUNtZ0F2MlFTMnBkZ0dCZWZH?= =?utf-8?B?QTlFMzRpTVptT2R3SGgrVCtRT2lGNDdlcHc3dTVSaHd0VmRDV0NnTFk1QXhv?= =?utf-8?B?Z0dLNmtzcTJUc1pUNHJsME5aei9scEFnSDdJcE9RZW1SNlFPeUtkR1NOYy8z?= =?utf-8?B?cXBlcisvTVFuQlNPOWZuM3BiRFVwRWRHbHhUdEtpaHdMa01BVUMrWmJIUWpD?= =?utf-8?B?eWc9PQ==?= Content-Type: text/plain; charset="utf-8" Content-ID: <773DE71D44D90B498936501C7C10A78D@apcprd03.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PUZPR03MB6186.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 81086d13-0b46-4749-984c-08db1f763d9d X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Mar 2023 01:41:30.3085 (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: nYTVzKk5MEizJyzdXhEBmPwG46WBBGPS5ZkNeLwkDNTW9XOfnycO2QbpjizpL6J3tXFdsVMhFW6cNtTDszNyfw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR03MB5634 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVHVlLCAyMDIzLTAzLTA3IGF0IDIzOjAzICswODAwLCBaaGVuZyBIYWNrZXIgd3JvdGU6DQo+ IFRoZSB0aW1lciBmdW5jdGlvbiB3YXMgc2V0IGluIG10a19qcGVnX3Byb2JlIHdpdGgNCj4gbXRr X2pwZWdfam9iX3RpbWVvdXRfd29yayBmdW5jdGlvbi4NCj4gQW5kIHRoZSB3b3JrZXIgaXMgc3Rh cnRlZCBpbiBtdGtfanBlZ19kZWNfZGV2aWNlX3J1bi4NCj4gVGhlcmUgYXJlIHR3byBmdW5jdGlv bnMgKG10a19qcGVnX2VuY19pcnEgYW5kIG10a19qcGVnX2RlY19pcnEpIHdoaWNoDQo+IG1heSBj YW5jZWwgdGhlIHdvcmtlci4NCj4gVGhleSBhcmUgdXNlZCBhcyBJUlEgaGFuZGxlciBmdW5jdGlv biB3aGljaCBpcyBzYXZlZCBhcyBmdW5jdGlvbg0KPiBwb2ludGVyIGluIGEgdmFyaWFibGUuDQo+ IEluIG10a19qcGVnX3Byb2JlLCB0aGV5IGFyZSByZWdpc3RlcmVkIGJ5IGRldm1fcmVxdWVzdF9p cnE6DQo+IA0KPiByZXQgPSBkZXZtX3JlcXVlc3RfaXJxKCZwZGV2LT5kZXYsDQo+ICAgICAgICAg ICAgICAgIGpwZWdfaXJxLA0KPiAgICAgICAgICAgICAgICBqcGVnLT52YXJpYW50LT5pcnFfaGFu ZGxlciwNCj4gICAgICAgICAgICAgICAgMCwNCj4gICAgICAgICAgICAgICAgcGRldi0+bmFtZSwg anBlZ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