Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1178306rdb; Mon, 2 Oct 2023 01:12:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGcwH/C42qpFW6QmXCMOd/iiD+cZfO73L6B1CT2xNiIlH9dGOlewpCVDKnftC0R/3JQhNlP X-Received: by 2002:a05:6808:4d6:b0:3ae:84b6:1f6c with SMTP id a22-20020a05680804d600b003ae84b61f6cmr10691778oie.52.1696234362159; Mon, 02 Oct 2023 01:12:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1696234362; cv=pass; d=google.com; s=arc-20160816; b=w/lxi3vGPOBCMITUIWnb/u8V5stMJiwftPmhuXMJI8KLQ14Hqv69Ap6Yl+E/VwDTKL PhR33hzGKkd6VmkRm4LEHe705OteVbXpjBj2BIeI3lWo/u851StOBtRGL821AO+CwmdR mpsD3B7lEEuKquTJ09UXFGafDLsmkxdv5ZZmv7NhZ1VC9Kc/N32bZASy+f9/8k0nDrRR XaQnub2AwOP00WxzYkJecNPPdRBrP/9Fs3q9IOQUrh0BdjlohK+u4DzanbFRsGIHRL/Y KkbYdKDgZKwHAvA48QcseHQST3PYy2Rz9aV/r7EX6v68sk58ZiklOsmgObMdMia8mpfu TvJw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=LctNEid7CPvucE9AmTzMhRJaJt64CSA9Km7V4CbHGd4=; fh=gDi7dqzxWYp2UMb587tE+b3gt9pJ3z9tQNwauWj7aPY=; b=Ql7k9+Hm5RUVHmq84AdhSli5qA/lkIQiwtxs9glNyruphHKZNs31svZQjon8s3t9fL Ab6QvF5nuYbeVrPrClpGJBrEHO1AwlbCyI/xZ/OPkj+ZxQWKBfKWgeCt0lswsXpQbXiG zFkGCKezUtOts6As7WjupwZx+xTjINTWHqW+dpoke1F2biahRlctOtoi6mmQGTUBx/L4 2Pf+Es8BSqqRZNnKKITSGGMRx6nqTKxaHAVm9fH4F1VtFgvYSakQ7gIxVfjwbu7qkb/5 UOakWv8NEVIz/vGb8BdWNEOb1uS364PiX8NYuo7xNcKSKlW5T40sGmhvf9SYLJFP9GXS aUaA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@renesas.com header.s=selector1 header.b=p1p12r4W; arc=pass (i=1 spf=pass spfdomain=renesas.com dkim=pass dkdomain=renesas.com dmarc=pass fromdomain=renesas.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=renesas.com Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id 97-20020a17090a09ea00b002534f4ce2b6si7028508pjo.125.2023.10.02.01.12.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 01:12:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@renesas.com header.s=selector1 header.b=p1p12r4W; arc=pass (i=1 spf=pass spfdomain=renesas.com dkim=pass dkdomain=renesas.com dmarc=pass fromdomain=renesas.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=renesas.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 5D7DD801C19F; Sun, 1 Oct 2023 17:12:32 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234743AbjJBAMG (ORCPT + 99 others); Sun, 1 Oct 2023 20:12:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229797AbjJBAMF (ORCPT ); Sun, 1 Oct 2023 20:12:05 -0400 Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01on2090.outbound.protection.outlook.com [40.107.113.90]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD75AC9; Sun, 1 Oct 2023 17:12:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WYpSKrlU9d1+nzbysKMqazqlTxcZwUq15PJsyWeHemddMxCkra2WUkLnRoSP4A0PLZXWuWelh+H6ByYzfwNgxYaFNSrQ0qBF5Pg9Be+sojxnb2anDLr8b1lFrHHhPf8zOc7+c1gUk8fgXQSinLymBj/56epGSxC8fyRjusGypN1/oLA+VW5DwrhTjb5UUIaSyvafLleKY3+BYtvoGPTFCCkv7CIfJ6R7E5DzthxWtlAhlwAUrg6wmU+LQAsq2L2xvyQJM17Ng3GHUTuY+Zby2CfBWrMh5Q6OXkSOMjyiROlc3ttGtDkVEYxse9KUfjcudwxk2gTsEKeZhZPGmX9oJQ== 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=LctNEid7CPvucE9AmTzMhRJaJt64CSA9Km7V4CbHGd4=; b=Md4gSzQ4+5wxwcK3ztZ2HKpxCaU5nbWj2EeNP59CK8SA9y79eh9JaKIYcU8RvgCfhMpXAP+PXCjnZGqKSOGYo6L0rMwXxZ5EE48in2CzueKxNZH0wmWXXo+MaMNDB/PzWFFrMJMr3x7rgqEwE2i0cqY2hRHVZpcm8QaZxrcgJZWI3rnkYVR4fbWuoguiAD+S+T2xEEeImepYzk1P/uasCGFl5lsz853kVrE5akkoRCmWiEaqeukjKnSBZjdpleCw3+9HOEHzKaNiJeJdD0f6P9vARQ+a35A5YcB4d7cYkx3UrmzBcEq7NkZf0d/gqPG3VbeBr7SUoT5d4SNM3iBFyg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LctNEid7CPvucE9AmTzMhRJaJt64CSA9Km7V4CbHGd4=; b=p1p12r4WTEfQDxKQsDQx8yRufTfPBcoxDBg0kCEe/2MaAHHiTRT1C0yBL3GNR3pRlhvJoQjRCt46fX7R9oPK7tBncl4uJabvC2h1asP8yKP4XdWyb1Hz4ugyOSXtPD/VbPHyIH2yXsgPKzTsXe9qKTdxYl5qyFJ0y7RBwbBQoyM= Received: from TYBPR01MB5341.jpnprd01.prod.outlook.com (2603:1096:404:8028::13) by TYYPR01MB7830.jpnprd01.prod.outlook.com (2603:1096:400:116::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.30; Mon, 2 Oct 2023 00:11:57 +0000 Received: from TYBPR01MB5341.jpnprd01.prod.outlook.com ([fe80::1dc4:e923:9916:c0f7]) by TYBPR01MB5341.jpnprd01.prod.outlook.com ([fe80::1dc4:e923:9916:c0f7%7]) with mapi id 15.20.6838.024; Mon, 2 Oct 2023 00:11:57 +0000 From: Yoshihiro Shimoda To: Sergey Shtylyov , Paolo Abeni , Jakub Kicinski , Zheng Wang CC: "lee@kernel.org" , "linyunsheng@huawei.com" , "davem@davemloft.net" , "edumazet@google.com" , "richardcochran@gmail.com" , "p.zabel@pengutronix.de" , "geert+renesas@glider.be" , "magnus.damm@gmail.com" , Biju Das , "wsa+renesas@sang-engineering.com" , "netdev@vger.kernel.org" , "linux-renesas-soc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "hackerzheng666@gmail.com" , "1395428693sheep@gmail.com" <1395428693sheep@gmail.com>, "alex000young@gmail.com" Subject: RE: [PATCH v4] net: ravb: Fix possible UAF bug in ravb_remove Thread-Topic: [PATCH v4] net: ravb: Fix possible UAF bug in ravb_remove Thread-Index: AQHZvqRVuDoCAQ7YqEiPPoP/ALhCca/LYswAgAHmgICAAK9XgIBVS6xQgA9j64CAA2QMEA== Date: Mon, 2 Oct 2023 00:11:57 +0000 Message-ID: References: <20230725030026.1664873-1-zyytlz.wz@163.com> <20230725201952.2f23bb3b@kernel.org> <9cfa70cca3cb1dd20bb2cab70a213e5a4dd28f89.camel@redhat.com> <607f4fe4-5a59-39dd-71c2-0cf769b48187@omp.ru> In-Reply-To: Accept-Language: ja-JP, en-US Content-Language: ja-JP X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: TYBPR01MB5341:EE_|TYYPR01MB7830:EE_ x-ms-office365-filtering-correlation-id: 69d42770-7dc7-4db4-94d8-08dbc2dc30ea x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: jjntwwqCpX0zmhywo38GTu++2PKQh51mKt+bc1uAQtiNKgzb2QjOCBLjBLZX/uZLd85Rx+KdeljoZ4PEk5sydhJqGiVyVv2OKJW3NMw6e5DStkQKQj9+cDrApW7aB3L8Q1Ul5pt7CH9iGYLOGjn2YpvFM/+hwVcbp5YD9QVTglW5RX6I9fj3MGYQRWJdYawmKV2lvU+7P7NJuVDzZuG2uvWLG6iXY2vqFge7FOMHR20PomarSKbjc1Io0c3cKQ2pa4lVwcBpaZi7S9czrg+qwhBStzYwYiIpUIbgWNySZkzi7GT6932lBeFNaYYS67mHFMwK15BpH4vZhz9jUtOLXh+axvTS0ssyxz8aBW6up/vNge05QN5XgCl53ehT4eK25dVH716ERFbGYpgQNJZvDhTJ+0chbLgd5FmeQVZFuLU1bh/bGxl9kA2UISwOXIcC+LXflhIG/fYb18SDdhh5by6Evegf0cAjhbXGfZyCG5sftbq3cLL413UqQN3Qh81a6+bGnXyuvvs99x+qBNTPdr/WklnJ4KGfuHreB0QmA7pTp/qSXWsA+QH+MugYnbEm0MVUEta/ORBAYNuv3B+HAfL3ay3t//DlBrv5lmyyfvGIoyvQJ9Q8FMWJNEEUj4Nf x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYBPR01MB5341.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376002)(39860400002)(396003)(346002)(136003)(366004)(230922051799003)(451199024)(64100799003)(1800799009)(186009)(9686003)(122000001)(38100700002)(38070700005)(33656002)(86362001)(55016003)(41300700001)(54906003)(64756008)(478600001)(66476007)(66446008)(7416002)(316002)(52536014)(8676002)(8936002)(4326008)(5660300002)(66556008)(66946007)(110136005)(76116006)(6506007)(7696005)(53546011)(4744005)(71200400001)(2906002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?aWQzMUpseEl0Q2w2Y0hlbXdUUk5SVVQ0aEFLYWU4U2R6dUdia0dpK0V0Q0Vr?= =?utf-8?B?TjFzckhNbzhDNHJ0OTA3dDV3VmJyVmo1T3VpT2N6ZllFWVlEdjg4Z1NHZlo4?= =?utf-8?B?T2dmZzN2djVBbXR4L2JkYmdjTVdCSUNNVGRVZlI5SnIxdTNKN2psTDJRa0JV?= =?utf-8?B?dTZxeHkyS2ZvNitCd2hyakczSnVKb25iU09IbXZHcXl0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dFFrMVRnaGNReHFDdGFaajhlN3FoRGZ3Wk1RUHo4UTk1dlhm?= =?utf-8?B?SmxpWEtqRU9QNHk4RmZUZ3IrM25qeG9Wbk5nYlg5N0ZIRGlPZ00zVUZrOE5r?= =?utf-8?B?bHg5cys2b2dhdW1aRmFRMGpwUTVUcm9OaVpwTWdHWk85VzZGbFpMMVlvc3Uv?= =?utf-8?B?THJockhPa1cyRSsvT1htYXpHZTE4MlRqZGxnZE9JMHJ3cFhQZEhpc1NmYnhn?= =?utf-8?B?YTQvVmRNWmRETzZsU3ExbDFKSjhnPT0=?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TYBPR01MB5341.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 69d42770-7dc7-4db4-94d8-08dbc2dc30ea X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Oct 2023 00:11:57.2199 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: SvTEbMSgc8mwdgB48vb0pgHv77SnK3B6AVkHBJToLh2YxZpMGNFNQemBs03pK4r+7C3uVbr4GuvvnFZMduUkRrx25S7NySbOEJHQqsxq22epaHRuM495Yz+w3D7Vj2aI X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYYPR01MB7830 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Sun, 01 Oct 2023 17:12:32 -0700 (PDT) SGVsbG8gU2VyZ2V5LA0KDQo+IEZyb206IFNlcmdleSBTaHR5bHlvdiwgU2VudDogU2F0dXJkYXks IFNlcHRlbWJlciAzMCwgMjAyMyA1OjIzIEFNDQo+IA0KPiBIZWxsbyENCj4gDQo+IE9uIDkvMjAv MjMgNTozNyBBTSwgWW9zaGloaXJvIFNoaW1vZGEgd3JvdGU6DQo+IA0KPiAgICBTb3JyeSwgSSBn b3QgaWxsIHRoYXQgc2FtZSBkYXkgYW5kIHN0aWxsIGhhdmUgc3ViZmVicmlsZSB0ZW1wZXJhdHVy ZSwNCj4gYW5kIEkgZm9yZ290IGFib3V0IHlvdXIgbWFpbC4gSSdsbCB0cnkgcmVwbHlpbmcgdG8g aXQgb24gdGhpcyB3ZWVrZW5kLi4uDQoNClRoYW5rIHlvdSBmb3IgeW91ciByZXBseSEgSSB1bmRl cnN0b29kIGl0LiBQbGVhc2UgdGFrZSBjYXJlIG9mIHlvdXJzZWxmLg0KSSBob3BlIHlvdSB3aWxs IGdldCB3ZWxsIHNvb24uDQoNCkJlc3QgcmVnYXJkcywNCllvc2hpaGlybyBTaGltb2RhDQoNCj4g Wy4uLl0NCj4gDQo+IE1CUiwgU2VyZ2V5DQo=