Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp5563120rwp; Mon, 17 Jul 2023 06:16:27 -0700 (PDT) X-Google-Smtp-Source: APBJJlFT+LrI3IwRdhEiXrju7L0a75AgLPl7zObf0Gv06fV8ZQB/9kOcFpGNxSdwOxRt+SDMyAk9 X-Received: by 2002:a17:902:e54a:b0:1b8:b564:b531 with SMTP id n10-20020a170902e54a00b001b8b564b531mr13660018plf.60.1689599786720; Mon, 17 Jul 2023 06:16:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689599786; cv=none; d=google.com; s=arc-20160816; b=SMUzG40/Y1Zas5ByKuLbH4AmCifQoXPr9UpKg4sBTkVBkuGrm362DAzi+0/q6JLA/d 4XK9YvbgIOXD1GsO3QDC3QWo+SvbLEkSIh4d3x5RPMXf7zs4F99BWtoX+gl3/pP6wZmk /wP9gB/tQKwuq+KgcnVKYqqjl/4Yhal6GeyxGm4lcn7NF6jR3hau60UhKjuUX2ofP9Ai kPkbb11wxqHTMN4HDg7Q32GnKqrISVggGt5AeeJTZH3D3/TW69zWNAhqF2dvbHvfYqnW uo4TIgDpV4u5trRCIpt3BDc0eXUpR0mb9Un00yYp44b/G7Py+Hu1A6yNagLxDc7+9irj qRBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=fSX0AzJGmEQRANyuOzrg78ZUOf5w2adwIc77eW96YyQ=; fh=/OQ+8ta3w2w3GaL8x4l/32yhLgz9h5gNtma0mgHX3mM=; b=bz7wue2yrd0FK8JWrUkh7f01bpgeQ7OxdzmJWvub7x/SmhGX1GIeAMNDuYiKsSHP4P l+CjO5zrFRSy8+q7S0RRimYO885TwBibr41tPeV4B+Q+YqpE/6W27Lzrl5QDckwtW/US 0a0ljeJCdhGfjm7TxDvMrUsMpH1/C7VNLKeyljE+udZURKhmOS9f28SxSagNmvMr3WYO sq7fyyuVeVjqqwBx4gTxBHk8HdKsiW15egtuTUHOdo0i4IUyV4YXygRihJbZ+mEuHmzR /KCreAYZxx86+YpejtQXU4TunYn5omfJaGHJzkCm9yW6ioNx1HsMySKAl/zoADwNuKBj R3DQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EkaRIIzA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w21-20020a170902d71500b001b9e0d0a01fsi11540364ply.256.2023.07.17.06.16.13; Mon, 17 Jul 2023 06:16:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EkaRIIzA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231276AbjGQNES (ORCPT + 99 others); Mon, 17 Jul 2023 09:04:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231337AbjGQNER (ORCPT ); Mon, 17 Jul 2023 09:04:17 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA1A3C7 for ; Mon, 17 Jul 2023 06:04:15 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 527746103F for ; Mon, 17 Jul 2023 13:04:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2CF16C433C8; Mon, 17 Jul 2023 13:04:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689599054; bh=ze2MlGoasoOaP8JdKIbXQC5TEDKOOs+yneRfEWByn5o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=EkaRIIzA3aAEDj9NrQ5MDbHNz063EwSrpyfSv9pG4wotRVhFLclI0Obr0MY7Pgdq1 Wt5wCFtB9Ao8UbM4sVh0pSNHIfbMIl5WtLE92l3dGhHIGC3V3M2YsYEMO2WrJ0e5h+ xM3CFFWl354Gc5UXDE+O+sGKTWofVXmaXcRGBdW2C/uZAGTqIBRhy1wcCkzVM467IT d/L79wy8olbzvFALkQS3+0j7imErqc2pNCIdxrdCONcJf+fySryHGb5dmcV9BzjSYS Hng/UL086GSNEQjTEyfyS+CeCz+4bJqkraSB5JUPcw3MqIo4RV7lZQd9LkOXgg8OGg wabFVAZN19nqw== Date: Mon, 17 Jul 2023 14:04:08 +0100 From: Lee Jones To: Zheng Hacker Cc: Sergey Shtylyov , Jakub Kicinski , Zheng Wang , davem@davemloft.net, linyunsheng@huawei.com, edumazet@google.com, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, 1395428693sheep@gmail.com, alex000young@gmail.com Subject: Re: [PATCH net v3] net: ravb: Fix possible UAF bug in ravb_remove Message-ID: <20230717130408.GC1082701@google.com> References: <20230311180630.4011201-1-zyytlz.wz@163.com> <20230710114253.GA132195@google.com> <20230710091545.5df553fc@kernel.org> <20230712115633.GB10768@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On Sun, 16 Jul 2023, Zheng Hacker wrote: > Zheng Hacker 于2023年7月16日周日 10:11写道: > > > > Hello, > > > > This bug is found by static analysis. I'm sorry that my friends apply > > for a CVE number before we really fix it. We made a list about the > > bugs we have submitted and wouldn't disclose them before the fix. But > > we had a inconsistent situation last month. And we applied it by > > mistake foe we thought we had fixed it. And so sorry about my late > > reply, I'll see the patch right now. > > > > Best regards, > > Zheng Wang > > > > Sergey Shtylyov 于2023年7月16日周日 04:48写道: > > > > > > On 7/15/23 7:07 PM, Zheng Hacker wrote: > > > > > > > Sorry for my late reply. I'll see what I can do later. > > > > > > That's good to hear! > > > Because I'm now only able to look at it during weekends... > > > > > > > Lee Jones 于2023年7月12日周三 19:56写道: > > > >> > > > >> On Mon, 10 Jul 2023, Jakub Kicinski wrote: > > > >> > > > >>> On Mon, 10 Jul 2023 12:42:53 +0100 Lee Jones wrote: > > > >>>> For better or worse, it looks like this issue was assigned a CVE. > > > >>> > > > >>> Ugh, what a joke. > > > >> > > > >> I think that's putting it politely. :) > > After reviewing the code, I think it's better to put the code in > ravb_remove. For the ravb_remove is bound with the device and > ravb_close is bound with the file. We may not call ravb_close if > there's no file opened. When you do submit this, would you be kind enough to Cc me please? -- Lee Jones [李琼斯]