Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp67015pxu; Tue, 5 Jan 2021 05:27:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJxUhLImH0AtsFWUqsz1oXYS23Nip+IR5+kjZADy17f4e5aqSx/kdtLIqtLtNvR8uDQz9Fan X-Received: by 2002:a17:907:20a4:: with SMTP id pw4mr69618161ejb.499.1609853223085; Tue, 05 Jan 2021 05:27:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609853223; cv=none; d=google.com; s=arc-20160816; b=rgBEEIighN1NweiJvaZgn0FIwwBik6HPH9SqAkMjlv0rvJXaNgoTIojVPil/UjWS2S yoMV/4JMmGID2qIx4sxFjCrrtjoKGxGTdBb/ibNZ//TJbg5aG3owfkxGIHuuSIAXStkR TVVsyxWkjqDe9cYOxmrSa5Lryg+AX/GLZk+y0biVOZHcknQxPVnFxCT5V4HnIM2mIK0q OT3iKEKuw7QsKju4AtHd0E+tXI+vdHg9hle/ayZV3RsbdCSi9752o1onHbJbSXyrbFk5 PxwOj7Zwr8ewwjlnetkSPfUp5TVnY8nly63hgDuwuCXjMZQPtXT7rTTX096m2rYSm8pQ Wwew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=0EZyGTkbcPKYFMYzBs6nzV7gzqDTgrLCohcmlMq4hEI=; b=HMivDtQNwqbkRvSW96EZJXReyRhvHw/3QKneSoucmKXADyMC9pl+CPq1DoVI6jxzzD 7TJUWNI+ep6CJus26nnq87kYS8BJSwPj50NEi+iVCR3OdTxD1HguMcJIHsDelFobVLG+ SyzIlN51HAhH6cWlu+IBfSMP0Pyyoq6/elgkeujAFSuAAVI8AeDSaShQiDiy29pkw61D RAuTsjRDf5/1ei4vCEnaOS7gVBNcZSowSMvhRW3BmTtwtcTpkte5OkS+QBqEa2gsJeFo DlBfCGqZsYWls2aNWTorN1yswLoFJxAxpn+5LskMN3yDHygI10ulM5HO26q5PGilx8nK mkZA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d17si28898061eja.318.2021.01.05.05.26.39; Tue, 05 Jan 2021 05:27:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1729285AbhAEMu1 (ORCPT + 99 others); Tue, 5 Jan 2021 07:50:27 -0500 Received: from mail-wm1-f53.google.com ([209.85.128.53]:34342 "EHLO mail-wm1-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729070AbhAEMu1 (ORCPT ); Tue, 5 Jan 2021 07:50:27 -0500 Received: by mail-wm1-f53.google.com with SMTP id g25so1428893wmh.1; Tue, 05 Jan 2021 04:50:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=0EZyGTkbcPKYFMYzBs6nzV7gzqDTgrLCohcmlMq4hEI=; b=tUVXjXzxjbzWdV3DGqTjnF9bWlFPX2dLKA4jQFzh3pvWvtnFVkAALEGs3JLW/tPsjR QObWbj92j5jmeCI+5tQu4Essy3rGyaR36/BgRsSE+svwRrtiOfw0r6iKnfjf6mwufqet lJaeHVLKeBelJkCRshaV5W1z5bXCvzRWqv83RsC5kQuVs5ZqJm1wCBmn6bx1jYlzBQ5I 9ZNn7QWXKKWbmiZ0bem/1Vpotd1/YeaXMhq1y60m85mDAiXxYWC9F7dxq/u8cdoaXwRR LaQRoNXg2QDpeWiJImk5mdyVSB9oOG1ZL8KvBriEEPqH7Mqp527PkkguUZPwp2erzY8x QmDw== X-Gm-Message-State: AOAM530ddpijKfCnb0S+0pPxz/yU2CNMP93Ri2xbPHYJtCwJtHgcqWVI BkPBbmjBFJBaQI0XmxTJbMI= X-Received: by 2002:a1c:bc88:: with SMTP id m130mr3440767wmf.82.1609850984936; Tue, 05 Jan 2021 04:49:44 -0800 (PST) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id k1sm95366837wrn.46.2021.01.05.04.49.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jan 2021 04:49:44 -0800 (PST) Date: Tue, 5 Jan 2021 12:49:43 +0000 From: Wei Liu To: "Andrea Parri (Microsoft)" Cc: linux-kernel@vger.kernel.org, linux-hyperv@vger.kernel.org, "K . Y . Srinivasan" , Haiyang Zhang , Stephen Hemminger , Wei Liu , Michael Kelley , Juan Vazquez , Saruhan Karademir Subject: Re: [PATCH v3 0/6] Drivers: hv: vmbus: More VMBus-hardening changes Message-ID: <20210105124943.qaoqj76kb2qasaoq@liuwe-devbox-debian-v2> References: <20201209070827.29335-1-parri.andrea@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201209070827.29335-1-parri.andrea@gmail.com> User-Agent: NeoMutt/20180716 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 09, 2020 at 08:08:21AM +0100, Andrea Parri (Microsoft) wrote: > Integrating feedback from Juan, Michael and Wei. [1] Changelogs are > inline/in the patches. > > Thanks, > Andrea > > [1] https://lkml.kernel.org/r/20201202092214.13520-1-parri.andrea@gmail.com > > Andrea Parri (Microsoft) (6): > Drivers: hv: vmbus: Initialize memory to be sent to the host > Drivers: hv: vmbus: Reduce number of references to message in > vmbus_on_msg_dpc() > Drivers: hv: vmbus: Copy the hv_message in vmbus_on_msg_dpc() > Drivers: hv: vmbus: Avoid use-after-free in vmbus_onoffer_rescind() > Drivers: hv: vmbus: Resolve race condition in vmbus_onoffer_rescind() I've applied the first five to hyperv-next. > Drivers: hv: vmbus: Do not allow overwriting > vmbus_connection.channels[] This one lacks a review-by tag. Wei. > > drivers/hv/channel.c | 4 +-- > drivers/hv/channel_mgmt.c | 55 +++++++++++++++++++++++++++------------ > drivers/hv/hyperv_vmbus.h | 2 +- > drivers/hv/vmbus_drv.c | 43 ++++++++++++++++++------------ > include/linux/hyperv.h | 1 + > 5 files changed, 69 insertions(+), 36 deletions(-) > > -- > 2.25.1 >